summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2021-12-15 12:32:05 -0600
committerFederico Mena Quintero <federico@gnome.org>2021-12-15 12:32:05 -0600
commit7cfb590f7dac7c03af070e2cd27e0ab698992087 (patch)
treed2fbea28295e368ed20e3f475429f24d6528c56c
parenta0d1e41788b4d22ba1c5ce344709e4842f6bee0d (diff)
downloadat-spi2-core-7cfb590f7dac7c03af070e2cd27e0ab698992087.tar.gz
Note how templates in the CI use environment variables
-rw-r--r--devel-docs/gitlab-ci.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel-docs/gitlab-ci.md b/devel-docs/gitlab-ci.md
index b5706711..d4077d46 100644
--- a/devel-docs/gitlab-ci.md
+++ b/devel-docs/gitlab-ci.md
@@ -117,7 +117,9 @@ time. In our configuration, the `.only-default` template has the
`.build-setup` template is for the analysis jobs, and it lets them
declare `EXTRA_DEPS` as an environment variable with the names of
extra dependencies: for example, the coverage job puts `lcov` in
-`EXTRA_DEPS`.
+`EXTRA_DEPS`. The commands in `before_script` blocks use these
+environment variables to install the package dependencies, for example
+`zypper install -y ${PROJECT_DEPS}` for an openSUSE job.
The `build` stage has these jobs: