diff options
| author | Michael Biebl <biebl@debian.org> | 2025-01-20 19:08:06 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2025-01-20 19:08:06 +0100 |
| commit | 818258cf34b83fbc754633295e1052d4752d7b15 (patch) | |
| tree | aa45b6a831d6c0ee954b1a03891ad3da09349528 /.gitlab-ci.yml | |
| parent | e465722b908aa870bdc293b9a417d3c15294aa6d (diff) | |
New upstream version 1.50.2 upstream/1.50.2
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 308 |
1 files changed, 115 insertions, 193 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d46b80d0..5d2aba95 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ # see https://docs.gitlab.com/ee/ci/yaml/#includefile -.templates_sha: &template_sha 98b1218f146a1ec96d65e3ce0041f9a6ec5cb5e6 +.templates_sha: &template_sha 593a0a5fe35a523a646a7efae5471c9759b8fba3 @@ -60,11 +60,11 @@ variables: # # This is done by running `ci-fairy generate-template` and possibly bumping # ".default_tag". - ALPINE_TAG: 'tag-961e70a41177' - CENTOS_TAG: 'tag-fe6805b2c8f4' - DEBIAN_TAG: 'tag-806721d9d354' - FEDORA_TAG: 'tag-fe6805b2c8f4' - UBUNTU_TAG: 'tag-806721d9d354' + ALPINE_TAG: 'tag-1a1fa0d53067' + CENTOS_TAG: 'tag-4960ce3d0698' + DEBIAN_TAG: 'tag-e9c1178c8d3b' + FEDORA_TAG: 'tag-4960ce3d0698' + UBUNTU_TAG: 'tag-e9c1178c8d3b' ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh' CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh' @@ -83,6 +83,7 @@ variables: - NetworkManager-1*.tar.xz - NetworkManager-1*.src.rpm - nm-test.log + - testlog.txt .nm_artifacts_debug: artifacts: @@ -90,6 +91,7 @@ variables: when: always paths: - nm-test.log + - testlog.txt ################################################################# # # @@ -100,39 +102,39 @@ variables: # Build a container for each distribution + version. The ci-templates # will re-use the containers if the tag doesn't change. -tier1:fedora:40@prep: +tier1:fedora:41@prep: extends: - .fdo.container-build@fedora stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: '40' + FDO_DISTRIBUTION_VERSION: '41' FDO_DISTRIBUTION_TAG: $FEDORA_TAG FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -tier2:centos:stream9@prep: +tier2:alpine:3.21@prep: extends: - - .fdo.container-build@centos + - .fdo.container-build@alpine stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: 'stream9' - FDO_DISTRIBUTION_TAG: $CENTOS_TAG - FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC + FDO_DISTRIBUTION_VERSION: '3.21' + FDO_DISTRIBUTION_TAG: $ALPINE_TAG + FDO_DISTRIBUTION_EXEC: $ALPINE_EXEC rules: - if: $CI_PIPELINE_SOURCE != 'schedule' when: manual allow_failure: true -tier2:fedora:rawhide@prep: +tier3:fedora:40@prep: extends: - .fdo.container-build@fedora stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: 'rawhide' + FDO_DISTRIBUTION_VERSION: '40' FDO_DISTRIBUTION_TAG: $FEDORA_TAG FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC rules: @@ -140,41 +142,13 @@ tier2:fedora:rawhide@prep: when: manual allow_failure: true -tier2:debian:sid@prep: - extends: - - .fdo.container-build@debian - stage: prep - variables: - GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: 'sid' - FDO_DISTRIBUTION_TAG: $DEBIAN_TAG - FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC - rules: - - if: $CI_PIPELINE_SOURCE != 'schedule' - when: manual - allow_failure: true - -tier2:debian:testing@prep: - extends: - - .fdo.container-build@debian - stage: prep - variables: - GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: 'testing' - FDO_DISTRIBUTION_TAG: $DEBIAN_TAG - FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC - rules: - - if: $CI_PIPELINE_SOURCE != 'schedule' - when: manual - allow_failure: true - -tier2:ubuntu:devel@prep: +tier3:ubuntu:24.10@prep: extends: - .fdo.container-build@ubuntu stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: 'devel' + FDO_DISTRIBUTION_VERSION: '24.10' FDO_DISTRIBUTION_TAG: $UBUNTU_TAG FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC rules: @@ -182,41 +156,27 @@ tier2:ubuntu:devel@prep: when: manual allow_failure: true -tier2:alpine:edge@prep: - extends: - - .fdo.container-build@alpine - stage: prep - variables: - GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: 'edge' - FDO_DISTRIBUTION_TAG: $ALPINE_TAG - FDO_DISTRIBUTION_EXEC: $ALPINE_EXEC - rules: - - if: $CI_PIPELINE_SOURCE != 'schedule' - when: manual - allow_failure: true - -tier3:fedora:39@prep: +tier3:ubuntu:24.04@prep: extends: - - .fdo.container-build@fedora + - .fdo.container-build@ubuntu stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: '39' - FDO_DISTRIBUTION_TAG: $FEDORA_TAG - FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC + FDO_DISTRIBUTION_VERSION: '24.04' + FDO_DISTRIBUTION_TAG: $UBUNTU_TAG + FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC rules: - if: $CI_PIPELINE_SOURCE != 'schedule' when: manual allow_failure: true -tier3:ubuntu:20.04@prep: +tier3:ubuntu:22.04@prep: extends: - .fdo.container-build@ubuntu stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: '20.04' + FDO_DISTRIBUTION_VERSION: '22.04' FDO_DISTRIBUTION_TAG: $UBUNTU_TAG FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC rules: @@ -224,13 +184,13 @@ tier3:ubuntu:20.04@prep: when: manual allow_failure: true -tier3:ubuntu:22.04@prep: +tier3:ubuntu:20.04@prep: extends: - .fdo.container-build@ubuntu stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: '22.04' + FDO_DISTRIBUTION_VERSION: '20.04' FDO_DISTRIBUTION_TAG: $UBUNTU_TAG FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC rules: @@ -238,71 +198,71 @@ tier3:ubuntu:22.04@prep: when: manual allow_failure: true -tier3:ubuntu:24.04@prep: +tier3:debian:12@prep: extends: - - .fdo.container-build@ubuntu + - .fdo.container-build@debian stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: '24.04' - FDO_DISTRIBUTION_TAG: $UBUNTU_TAG - FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC + FDO_DISTRIBUTION_VERSION: '12' + FDO_DISTRIBUTION_TAG: $DEBIAN_TAG + FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC rules: - if: $CI_PIPELINE_SOURCE != 'schedule' when: manual allow_failure: true -tier3:ubuntu:rolling@prep: +tier3:alpine:3.20@prep: extends: - - .fdo.container-build@ubuntu + - .fdo.container-build@alpine stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: 'rolling' - FDO_DISTRIBUTION_TAG: $UBUNTU_TAG - FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC + FDO_DISTRIBUTION_VERSION: '3.20' + FDO_DISTRIBUTION_TAG: $ALPINE_TAG + FDO_DISTRIBUTION_EXEC: $ALPINE_EXEC rules: - if: $CI_PIPELINE_SOURCE != 'schedule' when: manual allow_failure: true -tier3:debian:stable@prep: +tier3:alpine:3.19@prep: extends: - - .fdo.container-build@debian + - .fdo.container-build@alpine stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: 'stable' - FDO_DISTRIBUTION_TAG: $DEBIAN_TAG - FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC + FDO_DISTRIBUTION_VERSION: '3.19' + FDO_DISTRIBUTION_TAG: $ALPINE_TAG + FDO_DISTRIBUTION_EXEC: $ALPINE_EXEC rules: - if: $CI_PIPELINE_SOURCE != 'schedule' when: manual allow_failure: true -tier3:debian:oldstable@prep: +tier3:alpine:3.18@prep: extends: - - .fdo.container-build@debian + - .fdo.container-build@alpine stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: 'oldstable' - FDO_DISTRIBUTION_TAG: $DEBIAN_TAG - FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC + FDO_DISTRIBUTION_VERSION: '3.18' + FDO_DISTRIBUTION_TAG: $ALPINE_TAG + FDO_DISTRIBUTION_EXEC: $ALPINE_EXEC rules: - if: $CI_PIPELINE_SOURCE != 'schedule' when: manual allow_failure: true -tier3:alpine:latest@prep: +tier3:centos:stream9@prep: extends: - - .fdo.container-build@alpine + - .fdo.container-build@centos stage: prep variables: GIT_STRATEGY: none - FDO_DISTRIBUTION_VERSION: 'latest' - FDO_DISTRIBUTION_TAG: $ALPINE_TAG - FDO_DISTRIBUTION_EXEC: $ALPINE_EXEC + FDO_DISTRIBUTION_VERSION: 'stream9' + FDO_DISTRIBUTION_TAG: $CENTOS_TAG + FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC rules: - if: $CI_PIPELINE_SOURCE != 'schedule' when: manual @@ -324,7 +284,7 @@ tier3:alpine:latest@prep: dependencies: [] -t_fedora:40: +t_fedora:41: extends: - .build@template - .fdo.distribution-image@fedora @@ -340,206 +300,164 @@ t_fedora:40: - tarball - subtree variables: - FDO_DISTRIBUTION_VERSION: '40' + FDO_DISTRIBUTION_VERSION: '41' FDO_DISTRIBUTION_TAG: $FEDORA_TAG needs: - - "tier1:fedora:40@prep" + - "tier1:fedora:41@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -t_centos:stream9: +t_alpine:3.21: extends: - .build@template - - .fdo.distribution-image@centos + - .fdo.distribution-image@alpine - .nm_artifacts_debug stage: tier2 variables: - FDO_DISTRIBUTION_VERSION: 'stream9' - FDO_DISTRIBUTION_TAG: $CENTOS_TAG + FDO_DISTRIBUTION_VERSION: '3.21' + FDO_DISTRIBUTION_TAG: $ALPINE_TAG needs: - - "tier2:centos:stream9@prep" + - "tier2:alpine:3.21@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -t_fedora:rawhide: +t_fedora:40: extends: - .build@template - .fdo.distribution-image@fedora - .nm_artifacts_debug - stage: tier2 + stage: tier3 variables: - FDO_DISTRIBUTION_VERSION: 'rawhide' + FDO_DISTRIBUTION_VERSION: '40' FDO_DISTRIBUTION_TAG: $FEDORA_TAG needs: - - "tier2:fedora:rawhide@prep" - rules: - - if: $CI_PIPELINE_SOURCE != 'schedule' - -t_debian:sid: - extends: - - .build@template - - .fdo.distribution-image@debian - - .nm_artifacts_debug - stage: tier2 - variables: - FDO_DISTRIBUTION_VERSION: 'sid' - FDO_DISTRIBUTION_TAG: $DEBIAN_TAG - needs: - - "tier2:debian:sid@prep" + - "tier3:fedora:40@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -t_debian:testing: - extends: - - .build@template - - .fdo.distribution-image@debian - - .nm_artifacts_debug - stage: tier2 - variables: - FDO_DISTRIBUTION_VERSION: 'testing' - FDO_DISTRIBUTION_TAG: $DEBIAN_TAG - needs: - - "tier2:debian:testing@prep" - rules: - - if: $CI_PIPELINE_SOURCE != 'schedule' - -t_ubuntu:devel: +t_ubuntu:24.10: extends: - .build@template - .fdo.distribution-image@ubuntu - .nm_artifacts_debug - stage: tier2 + stage: tier3 variables: - FDO_DISTRIBUTION_VERSION: 'devel' + FDO_DISTRIBUTION_VERSION: '24.10' FDO_DISTRIBUTION_TAG: $UBUNTU_TAG needs: - - "tier2:ubuntu:devel@prep" + - "tier3:ubuntu:24.10@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -t_alpine:edge: - extends: - - .build@template - - .fdo.distribution-image@alpine - - .nm_artifacts_debug - stage: tier2 - variables: - FDO_DISTRIBUTION_VERSION: 'edge' - FDO_DISTRIBUTION_TAG: $ALPINE_TAG - needs: - - "tier2:alpine:edge@prep" - rules: - - if: $CI_PIPELINE_SOURCE != 'schedule' - -t_fedora:39: +t_ubuntu:24.04: extends: - .build@template - - .fdo.distribution-image@fedora + - .fdo.distribution-image@ubuntu - .nm_artifacts_debug stage: tier3 variables: - FDO_DISTRIBUTION_VERSION: '39' - FDO_DISTRIBUTION_TAG: $FEDORA_TAG + FDO_DISTRIBUTION_VERSION: '24.04' + FDO_DISTRIBUTION_TAG: $UBUNTU_TAG needs: - - "tier3:fedora:39@prep" + - "tier3:ubuntu:24.04@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -t_ubuntu:20.04: +t_ubuntu:22.04: extends: - .build@template - .fdo.distribution-image@ubuntu - .nm_artifacts_debug stage: tier3 variables: - FDO_DISTRIBUTION_VERSION: '20.04' + FDO_DISTRIBUTION_VERSION: '22.04' FDO_DISTRIBUTION_TAG: $UBUNTU_TAG needs: - - "tier3:ubuntu:20.04@prep" + - "tier3:ubuntu:22.04@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -t_ubuntu:22.04: +t_ubuntu:20.04: extends: - .build@template - .fdo.distribution-image@ubuntu - .nm_artifacts_debug stage: tier3 variables: - FDO_DISTRIBUTION_VERSION: '22.04' + FDO_DISTRIBUTION_VERSION: '20.04' FDO_DISTRIBUTION_TAG: $UBUNTU_TAG needs: - - "tier3:ubuntu:22.04@prep" + - "tier3:ubuntu:20.04@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -t_ubuntu:24.04: +t_debian:12: extends: - .build@template - - .fdo.distribution-image@ubuntu + - .fdo.distribution-image@debian - .nm_artifacts_debug stage: tier3 variables: - FDO_DISTRIBUTION_VERSION: '24.04' - FDO_DISTRIBUTION_TAG: $UBUNTU_TAG + FDO_DISTRIBUTION_VERSION: '12' + FDO_DISTRIBUTION_TAG: $DEBIAN_TAG needs: - - "tier3:ubuntu:24.04@prep" + - "tier3:debian:12@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -t_ubuntu:rolling: +t_alpine:3.20: extends: - .build@template - - .fdo.distribution-image@ubuntu + - .fdo.distribution-image@alpine - .nm_artifacts_debug stage: tier3 variables: - FDO_DISTRIBUTION_VERSION: 'rolling' - FDO_DISTRIBUTION_TAG: $UBUNTU_TAG + FDO_DISTRIBUTION_VERSION: '3.20' + FDO_DISTRIBUTION_TAG: $ALPINE_TAG needs: - - "tier3:ubuntu:rolling@prep" + - "tier3:alpine:3.20@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -t_debian:stable: +t_alpine:3.19: extends: - .build@template - - .fdo.distribution-image@debian + - .fdo.distribution-image@alpine - .nm_artifacts_debug stage: tier3 variables: - FDO_DISTRIBUTION_VERSION: 'stable' - FDO_DISTRIBUTION_TAG: $DEBIAN_TAG + FDO_DISTRIBUTION_VERSION: '3.19' + FDO_DISTRIBUTION_TAG: $ALPINE_TAG needs: - - "tier3:debian:stable@prep" + - "tier3:alpine:3.19@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -t_debian:oldstable: +t_alpine:3.18: extends: - .build@template - - .fdo.distribution-image@debian + - .fdo.distribution-image@alpine - .nm_artifacts_debug stage: tier3 variables: - FDO_DISTRIBUTION_VERSION: 'oldstable' - FDO_DISTRIBUTION_TAG: $DEBIAN_TAG + FDO_DISTRIBUTION_VERSION: '3.18' + FDO_DISTRIBUTION_TAG: $ALPINE_TAG needs: - - "tier3:debian:oldstable@prep" + - "tier3:alpine:3.18@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' -t_alpine:latest: +t_centos:stream9: extends: - .build@template - - .fdo.distribution-image@alpine + - .fdo.distribution-image@centos - .nm_artifacts_debug stage: tier3 variables: - FDO_DISTRIBUTION_VERSION: 'latest' - FDO_DISTRIBUTION_TAG: $ALPINE_TAG + FDO_DISTRIBUTION_VERSION: 'stream9' + FDO_DISTRIBUTION_TAG: $CENTOS_TAG needs: - - "tier3:alpine:latest@prep" + - "tier3:centos:stream9@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' @@ -553,10 +471,10 @@ check-patch: extends: - .fdo.distribution-image@fedora variables: - FDO_DISTRIBUTION_VERSION: '40' + FDO_DISTRIBUTION_VERSION: '41' FDO_DISTRIBUTION_TAG: $FEDORA_TAG needs: - - "tier1:fedora:40@prep" + - "tier1:fedora:41@prep" rules: - if: $CI_PIPELINE_SOURCE != 'schedule' stage: tier1 @@ -568,11 +486,15 @@ check-tree: extends: - .fdo.distribution-image@fedora variables: - FDO_DISTRIBUTION_VERSION: '40' + FDO_DISTRIBUTION_VERSION: '41' FDO_DISTRIBUTION_TAG: $FEDORA_TAG needs: - - "tier1:fedora:40@prep" + - "tier1:fedora:41@prep" rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH + allow_failure: true + - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH + allow_failure: true - if: $CI_PIPELINE_SOURCE != 'schedule' stage: tier1 script: @@ -597,9 +519,9 @@ pages: when: never - if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == 'main' dependencies: - - "t_fedora:40: [meson+gcc+docs+valgrind]" + - "t_fedora:41: [meson+gcc+docs+valgrind]" needs: - - "t_fedora:40: [meson+gcc+docs+valgrind]" + - "t_fedora:41: [meson+gcc+docs+valgrind]" triage:issues: stage: triage |