summaryrefslogtreecommitdiff
path: root/.gitlab-ci/README.md
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-12-10 21:17:13 -0500
committerXavier Claessens <xclaesse@gmail.com>2018-12-17 15:45:04 +0000
commit5242cd9068b5a61ba5370642b0774f16331ef10c (patch)
tree433cff6d5865ab883f13bebc31c593080e9d7489 /.gitlab-ci/README.md
parentdb8b4a90b21452fdf6519dad2211ce81c954b7c2 (diff)
downloadlibsoup-5242cd9068b5a61ba5370642b0774f16331ef10c.tar.gz
ci: Add Dockerfile
It is a waste of time to reinstall all fedora packages for each job. Copy and adapt Dockerfile and scripts from glib.
Diffstat (limited to '.gitlab-ci/README.md')
-rw-r--r--.gitlab-ci/README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci/README.md b/.gitlab-ci/README.md
new file mode 100644
index 00000000..41dfd755
--- /dev/null
+++ b/.gitlab-ci/README.md
@@ -0,0 +1,23 @@
+# CI support stuff
+
+## Docker image
+
+GitLab CI jobs run in a Docker image, defined here. To update that image
+(perhaps to install some more packages):
+
+1. Edit `.gitlab-ci/Dockerfile` with the changes you want
+2. Edit `.gitlab-ci/run-docker.sh` and bump the version in `TAG`
+3. Run `.gitlab-ci/run-docker.sh` to build the new image, and launch a shell
+ inside it
+ * When you're done, exit the shell in the usual way
+4. Run `.gitlab-ci/run-docker.sh --push` to upload the new image to the GNOME
+ GitLab Docker registry
+ * If this is the first time you're doing this, you'll need to log into the
+ registry
+ * If you use 2-factor authentication on your GNOME GitLab account, you'll
+ need to [create a personal access token][pat] and use that rather than
+ your normal password
+5. Edit `.gitlab-ci.yml` (in the root of this repository) to use your new
+ image
+
+[pat]: https://gitlab.gnome.org/profile/personal_access_tokens