glib/.gitlab-ci
Christoph Reiter c3645a84b6 CI: Switch to new Windows runners
gitlab will drop cmd.exe support with GitLab 13 so I took the opportunity to
add new runners with Windows 2016 and powershell as default.

These runners are tagged with win32-ps instead of win32. The old runners
will be switched off in the coming weeks.

The main difference is that all commands and env expansions use powershell
and Windows 2016 instead of 2012r2.
2020-04-29 08:56:56 +02:00
..
android-download-ndk.sh ci: Fix various shellcheck warnings in the shell scripts 2020-02-27 10:33:45 +00:00
android-ndk.Dockerfile ci: Cache subprojects in docker images 2020-01-15 21:36:57 -05:00
android-setup-env.sh ci: Fix various shellcheck warnings in the shell scripts 2020-02-27 10:33:45 +00:00
cache-subprojects.sh ci: Cache subprojects in docker images 2020-01-15 21:36:57 -05:00
check-todos.py ci: Add checks for banned keywords in merge requests 2020-01-21 12:26:47 +00:00
coverage-docker.sh ci: Fix various shellcheck warnings in the shell scripts 2020-02-27 10:33:45 +00:00
cross_file_mingw64.txt Make ld executable configurable 2019-11-04 15:08:33 +00:00
debian-stable.Dockerfile ci: Cache subprojects in docker images 2020-01-15 21:36:57 -05:00
fedora.Dockerfile ci: Update Fedora image before installing new items 2020-02-04 17:28:07 +01:00
fixup-cov-paths.py ci: collect test coverage and deploy a html report through gitlab pages 2018-05-02 11:14:45 +01:00
lcovrc ci: Add lcov configuration to ignore g_return_*if_fail()/g_assert*() 2018-10-06 00:19:20 +01:00
meson-junit-report.py ci: Include stderr output in JUnit XML report 2019-09-02 14:16:33 +01:00
mingw.Dockerfile ci: Cache subprojects in docker images 2020-01-15 21:36:57 -05:00
README.md ci: Improve Docker building instructions slightly 2019-11-04 15:25:38 +00:00
run-check-todos.sh ci: Ensure run-check-todos.sh exits on the first error it encounters 2020-02-27 10:33:45 +00:00
run-docker.sh ci: Fix various shellcheck warnings in the shell scripts 2020-02-27 10:33:45 +00:00
run-style-check-diff.sh ci: Fix various shellcheck warnings in the shell scripts 2020-02-27 10:33:45 +00:00
run-tests.sh ci: Fix various shellcheck warnings in the shell scripts 2020-02-27 10:33:45 +00:00
show-execution-environment.sh CI: Show execution environment before we start 2020-03-04 15:25:47 +00:00
test-msvc.bat CI: Switch to new Windows runners 2020-04-29 08:56:56 +02:00
test-msys2.sh ci: Fix various shellcheck warnings in the shell scripts 2020-02-27 10:33:45 +00:00

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. Run .gitlab-ci/run-docker.sh build --base=debian-stable --base-version=1 to build the new image (bump the version from the latest listed for that base on https://gitlab.gnome.org/GNOME/glib/container_registry)
  3. Run .gitlab-ci/run-docker.sh push --base=debian-stable --base-version=1 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 and use that rather than your normal password
  4. Edit .gitlab-ci.yml (in the root of this repository) to use your new image