NetworkManager/.gitlab-ci/config.yml
Thomas Haller b2d2b8d6fa
gitlab-ci: disable CentOS 8 Linux containers
CentOS 8 Linux is end of life. That wouldn't bother us, but when
you start such a container

  $ podman run -ti --privileged quay.io/centos/centos:8.3.2011

then `dnf upgrade` will fail, because the mirror list returns
nothing. To work around that, we need to adjust ci-templates ([1]).

The work around might be to patch /etc/yum.repos.d when creating
the container image ([2]).

For now (or maybe indefinitely) disable these build targets.

[1] https://gitlab.freedesktop.org/freedesktop/ci-templates/-/merge_requests/131
[2] https://stackoverflow.com/questions/70926799/centos-through-vm-no-urls-in-mirrorlist
2022-02-14 17:15:20 +01:00

64 lines
1.3 KiB
YAML

# This file contains the configuration for the gitlab ci.
#
# To recreate the .gitlab-ci.yml file, run
# ci-fairy generate-template
#
# The ci-fairy tool is part of
# https://gitlab.freedesktop.org/freedesktop/ci-templates
#
# We're happy to rebuild all containers when one changes.
.default_tag: &default_tag '2022-02-14.0'
# The list of all distributions we want to create job for.
# The template generates manual jobs for all these.
distributions:
- name: fedora
tag: *default_tag
base_type: fedora
versions:
- '30'
- '31'
- '32'
- '33'
- '34'
- '35'
- '36'
- name: ubuntu
tag: *default_tag
base_type: debian
versions:
- '16.04'
- '18.04'
- '20.04'
- 'devel'
- 'rolling'
- name: debian
tag: *default_tag
base_type: debian
versions:
- '9'
- '10'
- '11'
- 'testing'
- 'sid'
- name: centos
tag: *default_tag
base_type: fedora
versions:
- '7.5.1804'
- '7.6.1810'
- '7.7.1908'
- '7.8.2003'
- '7.9.2009'
- name: alpine
tag: *default_tag
base_type: alpine
versions:
- 'latest'
# specifies which of the above distros is used as source for pages
pages_build:
name: fedora
version: '35'