From: Stefan Metzmacher Date: Thu, 6 Aug 2020 13:27:24 +0000 (+0200) Subject: bootstrap: document git push -o ci.variable='SAMBA_CI_REBUILD_IMAGES=yes' X-Git-Tag: talloc-2.3.2~647 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0e51632cf77be439ebcbcba025a42e8558fa824;p=thirdparty%2Fsamba.git bootstrap: document git push -o ci.variable='SAMBA_CI_REBUILD_IMAGES=yes' This is much easier than going through the web interface. Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/bootstrap/README.md b/bootstrap/README.md index 023686e20c4..d4f30955197 100644 --- a/bootstrap/README.md +++ b/bootstrap/README.md @@ -39,17 +39,7 @@ the toplevel .gitlab-ci.yml file. As a gitlab-ci user, I can use this tool to build new CI docker images: After committing the result of calling `bootstrap/template.py --render` - and updating `SAMBA_CI_CONTAINER_TAG` in .gitlab-ci.yml, you can push - The branch to git@gitlab.com:samba-team/devel/samba.git using: - - git push -o ci.skip git@gitlab.com:samba-team/devel/samba.git ... - - The `-o ci.skip` option means gitlab won't start a pipeline - for the just pushed branch. - - Instead you would start a custom pipeline at: - - https://gitlab.com/samba-team/devel/samba/pipelines/new + and updating `SAMBA_CI_CONTAINER_TAG` in .gitlab-ci.yml, you can push. But you need to pass `SAMBA_CI_REBUILD_IMAGES=yes` as environment variable. It means the pipeline runs the 'images' stage and builds @@ -57,6 +47,11 @@ As a gitlab-ci user, I can use this tool to build new CI docker images: uploads the images into the registry.gitlab.com/samba-team/devel/samba container registry. + You can push by specifying the variable (note multiple -o options are allowed, + see https://docs.gitlab.com/ee/user/project/push_options.html): + + `git push -o ci.variable='SAMBA_CI_REBUILD_IMAGES=yes' git@gitlab.com:samba-team/devel/samba.git ...` + If you want to try to build images for the (currently) broken distributions, you would pass `SAMBA_CI_REBUILD_BROKEN_IMAGES=yes` in addition to the custom pipeline. Note the images for