Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

We have 3 environments, and 2 Wheel Indices. It is proposed that we have a release branch which is the code for the staging and production environments.


DevelopmentStagingProduction
Code development is done on the Master branch by developers doing fixes on branches from Master and their subsequent code merged to master.Staging uses the release branch of ukrdc-webapi and the ukrdc-services pinned in the requirements.txt. Say, in this case 10.8.4At the start of the cycle, the deployed code of ukrdc-webapi on production has the ukrdc-services module pinned to 10.8.4.

Once the point has come to release, the ukrdc/services/__init__.py version is bumped to a release candidate version - in this case 10.8.5.RC1.



Tag the Master branch and merge the tag to the release branch


When the code is merged from master into the release branch, the build process will build and upload the 10.8.5RC1 to the devpi RELEASE index.






When the 10.8.5RC1 ukrdc-services wheel has been successfully tested, the version number on the release branch will be changed to 10.8.5, the requirements.txt on ukrdc-webapi[release] updated to 10.8.5;

The wheel file will be built as 10.8.5 and loaded up to the dev-pi release index.


The production server is updated with the new code from the release branch by running the standard script.
  • No labels