Imported Upstream version 2.61.2
[platform/upstream/glib.git] / .gitlab-ci / README.md
1 # CI support stuff
2
3 ## Docker image
4
5 GitLab CI jobs run in a Docker image, defined here. To update that image
6 (perhaps to install some more packages):
7
8 1. Edit `.gitlab-ci/Dockerfile` with the changes you want
9 1. Run `.gitlab-ci/run-docker.sh build --base=debian --base-version=1` to build
10    the new image (bump the version as needed)
11 1. Run `.gitlab-ci/run-docker.sh push  --base=debian --base-version=1` to upload
12    the new image to the GNOME GitLab Docker registry
13     * If this is the first time you're doing this, you'll need to log into the
14       registry
15     * If you use 2-factor authentication on your GNOME GitLab account, you'll
16       need to [create a personal access token][pat] and use that rather than
17       your normal password
18 1. Edit `.gitlab-ci.yml` (in the root of this repository) to use your new
19    image
20
21 [pat]: https://gitlab.gnome.org/profile/personal_access_tokens