-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a developer, I want to manage the versioning of my deployment/application. #20
Comments
review ADR: https://github.com/ai-cfia/dev-rel-docs/blob/main/adr/006-database-change-management.md also : https://www.ietf.org/rfc/rfc1034.txt#:~:text=They%20must%20start%20with%20a,be%2063%20characters%20or%20less.&text=information%2C%20which%20may%20be%20empty.)
I suggest substituting . for - so v2.3.30 becomes v2-3-30 |
Executive summary
We want to manage the different versions of our applications and test them progressively (for example, a frontend developer wants to test the version of the backend that is in the testing phase on a PR). We need to have a deployment for each version.
Context
If a user creates a PR, an automatic deployment should be carried out with the correct version (via the Dockerfile, based on the specific file of each directory. For example, for the frontend, it should refer to the package.json). Afterward, the URL of this deployment should be displayed in the pull request (for example, https://v1-0-0.nachet.ninebasetwo.xyz/ for the frontend and https://v1-0-0.nachet.ninebasetwo.xyz/api for the backend). Subsequently, a developer could test https://"x".nachet.ninebasetwo.xyz at any time.
How to do it
Summary
Regarding the Dockerfiles of the projects, ARGs need to be retained at build time (for example, docker build...).
Steps:
Rollout
EDIT:
After some research, @SonOfLope found this workflow. This could save us a lot of time. If the solution works, some of the earlier steps won't need to be done.
The text was updated successfully, but these errors were encountered: