summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-10-30 10:44:23 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2020-11-03 14:07:54 +1000
commit024162e6069220df1f2f8dade79d93c05520fe1f (patch)
tree01dcbebcfdd4ec39de7c70f04f47f6fe115fce26 /.gitlab-ci.yml
parent87e37453f4cb2a72a2f94d4bbec963ab2f196cbd (diff)
downloadlibinput-024162e6069220df1f2f8dade79d93c05520fe1f.tar.gz
gitlab CI: update the comments
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml17
1 files changed, 9 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a50a66f9..08e512f7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,18 +6,17 @@
# #
########################################
-#
# This is a bit complicated for two reasons:
# - we really want to run dnf/apt/... only once, updating on the test runner for
# each job takes forever. So we create a container image for each distribution
# tested, then run the tests on this container image.
#
-# Creating a container image is time-consuming, so we only do so for pushes to
-# libinput directly (not merge requests) and if the current image is 'old'.
+# This is handled by the ci-templates, ensuring containers are only rebuilt
+# when the TAG changes.
#
# - GitLab only allows one script: set per job but we have a bunch of commands
# we need to re-run for each build (meson && ninja && etc). YAML cannot merge
-# arrays templates so we're screwed.
+# arrays so we're screwed.
#
# So instead we use a default_build template and override everything with
# variables. The only two variables that matter:
@@ -58,7 +57,7 @@ stages:
- valgrind # for running the test suite under valgrind in a VM
- distro # distribs test
- deploy # trigger wayland's website generation
- - container_clean # clean up unused container images
+ - container_clean # clean up unused container images (scheduled jobs only)
variables:
###############################################################################
@@ -871,9 +870,11 @@ freebsd:11.2@default-build:
needs:
- "freebsd:11.2@container-prep"
-#
-# deploy
-#
+#################################################################
+# #
+# deploy stage #
+# #
+#################################################################
build rpm:
extends: