vendredi 14 mai 2021

Two versions of same web app in production [closed]

So my team and I develop a PHP web application and recently it has been requested that upon launching a new version of the app, we move only a selected group of users (beta-testers, if you will) to that new version at first and let the rest continue to use the previous version.

The bosses wish to do this in the production environment, always (i.e. we are not allowed to have a separate server, domain, etc. for the "latest" version) and both versions should point to the same MySQL database.

What we've planned so far is this: a version-less login page that after validating user's credentials, will redirect them to the corresponding version (we have a separate control panel to determine which user goes to what version).

All in all, I think this is a good approach but if someone has any superior wisdom to impart, I'd love to read about it.

Also, what has me stuck right now is the deployment part. Like, we're brand-new to CI/CD pipelines and I have no idea how to deploy two different versions to production :/

I'd appreciate any pointers I can be given for this rather unusual scenario.




Aucun commentaire:

Enregistrer un commentaire