Update CI docker build jobs.
Related tasks
Context
Images being built by CI are tagged using the commit hash. This makes it difficult to identify deployed versions and to find images for previous versions.
Change
Gitlab pipelines have been changed to tag pipeline images according to the following rules:
Ref | Image Tag | Example |
---|---|---|
master |
latest |
[...]cloudsim:latest |
Other branches (including develop ) |
branch name (/ escaped to - ) |
[...]cloudsim:feature-my_cool_feature , [...]cloudsim:develop
|
Tags | tag name | [...]cloudsim:2.3.0 |
Deployment
Some changes have been introduced to the deployment scheme. The notable changes are:
- A tag/release version is now required to deploy to Production environments.
-
master
can no longer be deployed.
The complete list of possible deployments are as follow:
Branch | Target Environments |
---|---|
Tags | Production |
master |
None |
develop |
Staging |
Other branches | Integration, Integration 1 |
Other information
Additional documentation
Edited by Alejo Carballude