Releasing
To release a new version:
- Make changes on a branch
- Update CHANGELOG for next release
- Run
bump-my-version bump {major|minor|patch} - Open a PR and have it merged to
mainafter review - Tag latest commit on
mainwith the version, and push. This will trigger a build of thedata-access-tool-apianddata-access-tool-serverimages with the given version tag. - Deploy the latest change with garrison. See the section on garrison below for more info.
garrison
garrison is a deployment system for NSIDC applications deployed to a VM on NSIDC infrastructure.
The jenkins-cd Jenkins VM provides a mechanism for doing garrison deployments of the data-access-tool-backend to integration and QA.
The Deploy Project with Garrison job defined in the Ops Jenkins is used by Ops to deploy to staging and production.
See the data-access-tool-vm project for additional details and VM configuration for the data-access-tool-backend.