This allow to start a pipeline manually and set a variable to test the
build of a single container, e.g.
DO_REBUILD_CONTAINER = ubuntu/xenial
Signed-off-by: Anthony PERARD <[email protected]>
---
automation/gitlab-ci/containers.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/automation/gitlab-ci/containers.yaml
b/automation/gitlab-ci/containers.yaml
index a6d61980b1..9074bfe6f1 100644
--- a/automation/gitlab-ci/containers.yaml
+++ b/automation/gitlab-ci/containers.yaml
@@ -7,6 +7,7 @@
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "staging"
changes:
- automation/build/${BUILD_CONTAINER}.dockerfile
+ - if: $DO_REBUILD_CONTAINER == $BUILD_CONTAINER
services:
- docker:dind
before_script:
--
Anthony PERARD