Use Rules to configure CI
First step in moving towards Rules.
Visible changes
- If
GITLAB_VERSION
isn't master, deciding what to build depends on few things. If you are on a regular feature branch with this setup, by default a CE build is assumed. You have to specifyee
environment variable to force an EE build.
Testing
(I've cancelled the pipelines in my instance so as not to waste resources - checking if the correct jobs are part of the pipeline)
Latest testing
- Master pipeline in com - https://gl.balasankarc.in/gitlab-org/build/CNG/-/pipelines/16
-
CE builds -
EE builds
-
- Master pipeline in dev - https://gl.balasankarc.in/gitlab/charts/components/images/-/pipelines/17
-
CE builds -
EE builds
-
- Regular MR pipeline - https://gl.balasankarc.in/gitlab-org/build/CNG/-/merge_requests/1/pipelines
-
CE builds -
EE builds
-
- Stable branch pipeline, at CE commit, in com - https://gl.balasankarc.in/gitlab-org/build/CNG/-/pipelines/19
-
CE builds -
No EE builds
-
- Stable branch pipeline, at EE commit, in com - https://gl.balasankarc.in/gitlab-org/build/CNG/-/pipelines/21
-
EE builds -
No CE builds
-
- Stable branch pipeline, at CE commit, in dev - https://gl.balasankarc.in/gitlab/charts/components/images/-/pipelines/20
-
CE builds -
No EE builds
-
- Stable branch pipeline, at EE commit, in dev - https://gl.balasankarc.in/gitlab/charts/components/images/-/pipelines/22
-
EE builds -
No CE builds
-
-
GITLAB_VERSION
isn'tmaster
-
GITLAB_VERSION
ends with-ee
- https://gl.balasankarc.in/gitlab-org/build/CNG/-/merge_requests/3/pipelines-
EE build -
No CE build
-
-
GITLAB_VERSION
not ending with-ee
- https://gl.balasankarc.in/gitlab-org/build/CNG/-/merge_requests/2/pipelines-
CE build -
No EE build
-
-
GITLAB_VERSION
not explicitly saying EE, butee
variable set - https://gl.balasankarc.in/gitlab-org/build/CNG/-/merge_requests/4/pipelines-
EE build -
No CE build
-
-
- UBI pipeline - https://gl.balasankarc.in/gitlab-org/build/CNG/-/pipelines/29
-
UBI jobs -
EE builds -
No CE build
-
- CE tags in com - https://gl.balasankarc.in/gitlab-org/build/CNG/-/pipelines?ref=v13.2.0
-
No pipeline
-
- EE tags in com - https://gl.balasankarc.in/gitlab-org/build/CNG/-/pipelines?ref=v13.2.0-ee
-
No pipeline
-
- UBI tags in com - https://gl.balasankarc.in/gitlab-org/build/CNG/-/pipelines?ref=v13.2.0-ubi8
-
No pipeline
-
- CE tags in dev - https://gl.balasankarc.in/gitlab/charts/components/images/-/pipelines/26
-
CE build -
No EE build -
sync-images
-
- EE tags in dev - https://gl.balasankarc.in/gitlab/charts/components/images/-/pipelines/27
-
EE build -
No CE build -
sync-images
-
- UBI tags in dev - https://gl.balasankarc.in/gitlab/charts/components/images/-/pipelines/28
-
UBI jobs -
EE builds -
No CE build -
sync-images
-
- Dependencies.io pipeline - https://gl.balasankarc.in/gitlab-org/build/CNG/-/pipelines/31
-
Dependencies job -
No CE build -
No EE build
-
- Auto-deploy branches in com - https://gl.balasankarc.in/gitlab-org/build/CNG/-/pipelines?ref=13-2-auto-deploy-20200716
-
No pipeline
-
- Auto-deploy branches in dev - https://gl.balasankarc.in/gitlab/charts/components/images/-/pipelines?ref=13-2-auto-deploy-20200716
-
No pipeline
-
- Auto-deploy tags in com - https://gl.balasankarc.in/gitlab-org/build/CNG/-/pipelines?ref=13.2.202007160910%2B16724319372
-
No pipeline
-
- Auto-deploy tags in dev - https://gl.balasankarc.in/gitlab/charts/components/images/-/pipelines/30
-
EE build -
No CE build
-
-
Trigger pipeline from EE source - https://gitlab.com/gitlab-org/build/CNG-mirror/-/pipelines/167231365 -
EE build -
No CE build
-
Edited by Balasankar 'Balu' C