NetworkManager/.gitlab-ci/config.yml
Íñigo Huguet 27ec4a126b ci: run with distros that uses the current version
Tier 1 and Tier 2: distros that uses 1.46.
Tier 3: distros not EOLd that don't use 1.46.
2024-06-28 11:14:22 +00:00

73 lines
1.7 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
#
# Some distros are fairly similar, and we reuse similar scripts.
# The base type maps the distro name to their base.
base_types:
fedora: fedora
centos: fedora
debian: debian
ubuntu: debian
alpine: alpine
# The list of all distributions we want to create job for.
distributions:
# TIER 1: CI run for all MRs.
# The first tier:1 in the list is used to build the pages and check-{tree,patch}.
- name: fedora
tier: 1
versions:
- '40'
# TIER 2: distribution versions that will or might use the current NM version.
# Run when doing a release.
- name: centos
tier: 2
versions:
- 'stream9'
- name: ubuntu
tier: 2
versions:
- '24.04'
- name: alpine
tier: 2
versions:
- 'latest' # only 'latest' is supported by ci-templates: https://gitlab.freedesktop.org/freedesktop/ci-templates/-/issues/71
# TIER 3: distribution versions not in EOL but don't use the current NM version.
# Run when doing a release, but a failure won't be blocking for the release.
- name: fedora
tier: 3
versions:
- '39'
- 'rawhide'
- name: centos
tier: 3
versions:
- 'stream8'
- name: ubuntu
tier: 3
versions:
- '20.04'
- '22.04'
- 'rolling' # latest non-LTS
- 'devel'
- name: debian
tier: 3
versions:
- '11'
- '12'
- 'sid'
- 'testing'
# only 'latest' supported by ci-templates
# - name: alpine
# tier: 3
# versions:
# - 'edge'