merge: branch 'ih/ci-clean-images'
CI: periodically clean image's registry https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1924
This commit is contained in:
128
.gitlab-ci.yml
128
.gitlab-ci.yml
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
# see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
||||||
.templates_sha: &template_sha 184ca628f89f3193c249b4e34e45afee2773a833
|
.templates_sha: &template_sha 98b1218f146a1ec96d65e3ce0041f9a6ec5cb5e6
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -39,6 +39,8 @@ include:
|
|||||||
- project: 'freedesktop/ci-templates'
|
- project: 'freedesktop/ci-templates'
|
||||||
ref: *template_sha
|
ref: *template_sha
|
||||||
file: '/templates/ubuntu.yml'
|
file: '/templates/ubuntu.yml'
|
||||||
|
- project: 'freedesktop/ci-templates'
|
||||||
|
file: '/templates/ci-fairy.yml'
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- prep
|
- prep
|
||||||
@@ -57,11 +59,11 @@ variables:
|
|||||||
#
|
#
|
||||||
# This is done by running `ci-fairy generate-template` and possibly bumping
|
# This is done by running `ci-fairy generate-template` and possibly bumping
|
||||||
# ".default_tag".
|
# ".default_tag".
|
||||||
ALPINE_TAG: 'tag-ec0f564800e3'
|
ALPINE_TAG: 'tag-29ef9f73ce6e'
|
||||||
CENTOS_TAG: 'tag-b114f45d4a4e'
|
CENTOS_TAG: 'tag-db8e32949a26'
|
||||||
DEBIAN_TAG: 'tag-318ea804326f'
|
DEBIAN_TAG: 'tag-67262330bdf8'
|
||||||
FEDORA_TAG: 'tag-b114f45d4a4e'
|
FEDORA_TAG: 'tag-db8e32949a26'
|
||||||
UBUNTU_TAG: 'tag-318ea804326f'
|
UBUNTU_TAG: 'tag-67262330bdf8'
|
||||||
|
|
||||||
ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh'
|
ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh'
|
||||||
CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
||||||
@@ -106,6 +108,8 @@ tier1:fedora:40@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: '40'
|
FDO_DISTRIBUTION_VERSION: '40'
|
||||||
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
tier1:fedora:rawhide@prep:
|
tier1:fedora:rawhide@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -116,6 +120,8 @@ tier1:fedora:rawhide@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: 'rawhide'
|
FDO_DISTRIBUTION_VERSION: 'rawhide'
|
||||||
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
tier1:centos:stream9@prep:
|
tier1:centos:stream9@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -126,6 +132,8 @@ tier1:centos:stream9@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: 'stream9'
|
FDO_DISTRIBUTION_VERSION: 'stream9'
|
||||||
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
tier2:debian:sid@prep:
|
tier2:debian:sid@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -136,7 +144,10 @@ tier2:debian:sid@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: 'sid'
|
FDO_DISTRIBUTION_VERSION: 'sid'
|
||||||
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC
|
FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier2:debian:testing@prep:
|
tier2:debian:testing@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -147,7 +158,10 @@ tier2:debian:testing@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: 'testing'
|
FDO_DISTRIBUTION_VERSION: 'testing'
|
||||||
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC
|
FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier2:ubuntu:devel@prep:
|
tier2:ubuntu:devel@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -158,7 +172,10 @@ tier2:ubuntu:devel@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: 'devel'
|
FDO_DISTRIBUTION_VERSION: 'devel'
|
||||||
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier2:alpine:edge@prep:
|
tier2:alpine:edge@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -169,7 +186,10 @@ tier2:alpine:edge@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: 'edge'
|
FDO_DISTRIBUTION_VERSION: 'edge'
|
||||||
FDO_DISTRIBUTION_TAG: $ALPINE_TAG
|
FDO_DISTRIBUTION_TAG: $ALPINE_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $ALPINE_EXEC
|
FDO_DISTRIBUTION_EXEC: $ALPINE_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier3:fedora:39@prep:
|
tier3:fedora:39@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -180,7 +200,10 @@ tier3:fedora:39@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: '39'
|
FDO_DISTRIBUTION_VERSION: '39'
|
||||||
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier3:ubuntu:20.04@prep:
|
tier3:ubuntu:20.04@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -191,7 +214,10 @@ tier3:ubuntu:20.04@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: '20.04'
|
FDO_DISTRIBUTION_VERSION: '20.04'
|
||||||
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier3:ubuntu:22.04@prep:
|
tier3:ubuntu:22.04@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -202,7 +228,10 @@ tier3:ubuntu:22.04@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: '22.04'
|
FDO_DISTRIBUTION_VERSION: '22.04'
|
||||||
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier3:ubuntu:24.04@prep:
|
tier3:ubuntu:24.04@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -213,7 +242,10 @@ tier3:ubuntu:24.04@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: '24.04'
|
FDO_DISTRIBUTION_VERSION: '24.04'
|
||||||
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier3:ubuntu:rolling@prep:
|
tier3:ubuntu:rolling@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -224,7 +256,10 @@ tier3:ubuntu:rolling@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: 'rolling'
|
FDO_DISTRIBUTION_VERSION: 'rolling'
|
||||||
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier3:debian:stable@prep:
|
tier3:debian:stable@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -235,7 +270,10 @@ tier3:debian:stable@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: 'stable'
|
FDO_DISTRIBUTION_VERSION: 'stable'
|
||||||
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC
|
FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier3:debian:oldstable@prep:
|
tier3:debian:oldstable@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -246,7 +284,10 @@ tier3:debian:oldstable@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: 'oldstable'
|
FDO_DISTRIBUTION_VERSION: 'oldstable'
|
||||||
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC
|
FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier3:centos:stream8@prep:
|
tier3:centos:stream8@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -257,7 +298,10 @@ tier3:centos:stream8@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: 'stream8'
|
FDO_DISTRIBUTION_VERSION: 'stream8'
|
||||||
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
tier3:alpine:latest@prep:
|
tier3:alpine:latest@prep:
|
||||||
extends:
|
extends:
|
||||||
@@ -268,7 +312,10 @@ tier3:alpine:latest@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: 'latest'
|
FDO_DISTRIBUTION_VERSION: 'latest'
|
||||||
FDO_DISTRIBUTION_TAG: $ALPINE_TAG
|
FDO_DISTRIBUTION_TAG: $ALPINE_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: $ALPINE_EXEC
|
FDO_DISTRIBUTION_EXEC: $ALPINE_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
# #
|
# #
|
||||||
@@ -310,6 +357,8 @@ t_fedora:40:
|
|||||||
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier1:fedora:40@prep"
|
- "tier1:fedora:40@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_fedora:rawhide:
|
t_fedora:rawhide:
|
||||||
extends:
|
extends:
|
||||||
@@ -335,6 +384,8 @@ t_fedora:rawhide:
|
|||||||
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier1:fedora:rawhide@prep"
|
- "tier1:fedora:rawhide@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_centos:stream9:
|
t_centos:stream9:
|
||||||
extends:
|
extends:
|
||||||
@@ -360,6 +411,8 @@ t_centos:stream9:
|
|||||||
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier1:centos:stream9@prep"
|
- "tier1:centos:stream9@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_debian:sid:
|
t_debian:sid:
|
||||||
extends:
|
extends:
|
||||||
@@ -372,6 +425,8 @@ t_debian:sid:
|
|||||||
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier2:debian:sid@prep"
|
- "tier2:debian:sid@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_debian:testing:
|
t_debian:testing:
|
||||||
extends:
|
extends:
|
||||||
@@ -384,6 +439,8 @@ t_debian:testing:
|
|||||||
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier2:debian:testing@prep"
|
- "tier2:debian:testing@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_ubuntu:devel:
|
t_ubuntu:devel:
|
||||||
extends:
|
extends:
|
||||||
@@ -396,6 +453,8 @@ t_ubuntu:devel:
|
|||||||
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier2:ubuntu:devel@prep"
|
- "tier2:ubuntu:devel@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_alpine:edge:
|
t_alpine:edge:
|
||||||
extends:
|
extends:
|
||||||
@@ -408,6 +467,8 @@ t_alpine:edge:
|
|||||||
FDO_DISTRIBUTION_TAG: $ALPINE_TAG
|
FDO_DISTRIBUTION_TAG: $ALPINE_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier2:alpine:edge@prep"
|
- "tier2:alpine:edge@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_fedora:39:
|
t_fedora:39:
|
||||||
extends:
|
extends:
|
||||||
@@ -420,6 +481,8 @@ t_fedora:39:
|
|||||||
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier3:fedora:39@prep"
|
- "tier3:fedora:39@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_ubuntu:20.04:
|
t_ubuntu:20.04:
|
||||||
extends:
|
extends:
|
||||||
@@ -432,6 +495,8 @@ t_ubuntu:20.04:
|
|||||||
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier3:ubuntu:20.04@prep"
|
- "tier3:ubuntu:20.04@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_ubuntu:22.04:
|
t_ubuntu:22.04:
|
||||||
extends:
|
extends:
|
||||||
@@ -444,6 +509,8 @@ t_ubuntu:22.04:
|
|||||||
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier3:ubuntu:22.04@prep"
|
- "tier3:ubuntu:22.04@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_ubuntu:24.04:
|
t_ubuntu:24.04:
|
||||||
extends:
|
extends:
|
||||||
@@ -456,6 +523,8 @@ t_ubuntu:24.04:
|
|||||||
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier3:ubuntu:24.04@prep"
|
- "tier3:ubuntu:24.04@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_ubuntu:rolling:
|
t_ubuntu:rolling:
|
||||||
extends:
|
extends:
|
||||||
@@ -468,6 +537,8 @@ t_ubuntu:rolling:
|
|||||||
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier3:ubuntu:rolling@prep"
|
- "tier3:ubuntu:rolling@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_debian:stable:
|
t_debian:stable:
|
||||||
extends:
|
extends:
|
||||||
@@ -480,6 +551,8 @@ t_debian:stable:
|
|||||||
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier3:debian:stable@prep"
|
- "tier3:debian:stable@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_debian:oldstable:
|
t_debian:oldstable:
|
||||||
extends:
|
extends:
|
||||||
@@ -492,6 +565,8 @@ t_debian:oldstable:
|
|||||||
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier3:debian:oldstable@prep"
|
- "tier3:debian:oldstable@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_centos:stream8:
|
t_centos:stream8:
|
||||||
extends:
|
extends:
|
||||||
@@ -504,6 +579,8 @@ t_centos:stream8:
|
|||||||
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier3:centos:stream8@prep"
|
- "tier3:centos:stream8@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
t_alpine:latest:
|
t_alpine:latest:
|
||||||
extends:
|
extends:
|
||||||
@@ -516,6 +593,8 @@ t_alpine:latest:
|
|||||||
FDO_DISTRIBUTION_TAG: $ALPINE_TAG
|
FDO_DISTRIBUTION_TAG: $ALPINE_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier3:alpine:latest@prep"
|
- "tier3:alpine:latest@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
# #
|
# #
|
||||||
@@ -531,6 +610,8 @@ check-patch:
|
|||||||
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier1:fedora:40@prep"
|
- "tier1:fedora:40@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
stage: tier1
|
stage: tier1
|
||||||
script:
|
script:
|
||||||
- date '+%Y%m%d-%H%M%S'; NM_CHECKPATCH_FETCH_UPSTREAM=1 contrib/scripts/checkpatch-feature-branch.sh
|
- date '+%Y%m%d-%H%M%S'; NM_CHECKPATCH_FETCH_UPSTREAM=1 contrib/scripts/checkpatch-feature-branch.sh
|
||||||
@@ -544,6 +625,8 @@ check-tree:
|
|||||||
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier1:fedora:40@prep"
|
- "tier1:fedora:40@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
stage: tier1
|
stage: tier1
|
||||||
script:
|
script:
|
||||||
- date '+%Y%m%d-%H%M%S'; clang-format --version
|
- date '+%Y%m%d-%H%M%S'; clang-format --version
|
||||||
@@ -562,21 +645,35 @@ pages:
|
|||||||
expire_in: 20 days
|
expire_in: 20 days
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
only:
|
rules:
|
||||||
- main
|
- if: $CI_PIPELINE_SOURCE == 'schedule'
|
||||||
|
when: never
|
||||||
|
- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == 'main'
|
||||||
dependencies:
|
dependencies:
|
||||||
- "t_fedora:40: [autotools+gcc+docs+valgrind]"
|
- "t_fedora:40: [autotools+gcc+docs+valgrind]"
|
||||||
needs:
|
needs:
|
||||||
- "t_fedora:40: [autotools+gcc+docs+valgrind]"
|
- "t_fedora:40: [autotools+gcc+docs+valgrind]"
|
||||||
|
|
||||||
triage:issues:
|
# triage:issues:
|
||||||
stage: triage
|
# stage: triage
|
||||||
image: ruby:2.7
|
# image: ruby:2.7
|
||||||
|
# script:
|
||||||
|
# - gem install gitlab-triage
|
||||||
|
# - gitlab-triage -d --token $API_TOKEN --source-id $SOURCE_ID
|
||||||
|
# only:
|
||||||
|
# - schedules
|
||||||
|
|
||||||
|
# Clean the generated images periodically to get updated snapshots of the distribution images.
|
||||||
|
# Create an scheduled pipeline to run it, passing an AUTHFILE environment variable of type
|
||||||
|
# 'File' with an authentication token with API access level.
|
||||||
|
clean-images:
|
||||||
|
extends:
|
||||||
|
- .fdo.ci-fairy
|
||||||
|
stage: prep
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
script:
|
script:
|
||||||
- gem install gitlab-triage
|
- ci-fairy -v --authfile $AUTHFILE delete-image --project NetworkManager/NetworkManager --all
|
||||||
- gitlab-triage -d --token $API_TOKEN --source-id $SOURCE_ID
|
|
||||||
only:
|
|
||||||
- schedules
|
|
||||||
|
|
||||||
# Have detached MR pipeline (https://docs.gitlab.com/ee/ci/pipelines/merge_request_pipelines.html)
|
# Have detached MR pipeline (https://docs.gitlab.com/ee/ci/pipelines/merge_request_pipelines.html)
|
||||||
# https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/540#what-it-means-for-me-a-maintainer-of-a-project-part-of-gitlabfreedesktoporg
|
# https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/540#what-it-means-for-me-a-maintainer-of-a-project-part-of-gitlabfreedesktoporg
|
||||||
@@ -584,3 +681,4 @@ workflow:
|
|||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
- if: $CI_PIPELINE_SOURCE == 'push'
|
- if: $CI_PIPELINE_SOURCE == 'push'
|
||||||
|
- if: $CI_PIPELINE_SOURCE == 'schedule'
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
# see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
||||||
.templates_sha: &template_sha 184ca628f89f3193c249b4e34e45afee2773a833
|
.templates_sha: &template_sha 98b1218f146a1ec96d65e3ce0041f9a6ec5cb5e6
|
||||||
|
|
||||||
{# Group distros by their common (name,) tuples.#}
|
{# Group distros by their common (name,) tuples.#}
|
||||||
{% set distro_groups = [] %}
|
{% set distro_groups = [] %}
|
||||||
@@ -43,6 +43,8 @@ include:
|
|||||||
ref: *template_sha
|
ref: *template_sha
|
||||||
file: '/templates/{{distro_group.name}}.yml'
|
file: '/templates/{{distro_group.name}}.yml'
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
- project: 'freedesktop/ci-templates'
|
||||||
|
file: '/templates/ci-fairy.yml'
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- prep
|
- prep
|
||||||
@@ -113,8 +115,11 @@ tier{{distro.tier}}:{{distro.name}}:{{version}}@prep:
|
|||||||
FDO_DISTRIBUTION_VERSION: '{{version}}'
|
FDO_DISTRIBUTION_VERSION: '{{version}}'
|
||||||
FDO_DISTRIBUTION_TAG: ${{distro.name.upper()}}_TAG
|
FDO_DISTRIBUTION_TAG: ${{distro.name.upper()}}_TAG
|
||||||
FDO_DISTRIBUTION_EXEC: ${{distro.name.upper()}}_EXEC
|
FDO_DISTRIBUTION_EXEC: ${{distro.name.upper()}}_EXEC
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
{% if distro.tier > 1 %}
|
{% if distro.tier > 1 %}
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -173,6 +178,8 @@ t_{{distro.name}}:{{version}}:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
needs:
|
needs:
|
||||||
- "tier{{distro.tier}}:{{distro.name}}:{{version}}@prep"
|
- "tier{{distro.tier}}:{{distro.name}}:{{version}}@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
@@ -190,6 +197,8 @@ check-patch:
|
|||||||
FDO_DISTRIBUTION_TAG: ${{default_distro.name.upper()}}_TAG
|
FDO_DISTRIBUTION_TAG: ${{default_distro.name.upper()}}_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier{{default_distro.tier}}:{{default_distro.name}}:{{default_distro.versions[0]}}@prep"
|
- "tier{{default_distro.tier}}:{{default_distro.name}}:{{default_distro.versions[0]}}@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
stage: tier1
|
stage: tier1
|
||||||
script:
|
script:
|
||||||
- date '+%Y%m%d-%H%M%S'; NM_CHECKPATCH_FETCH_UPSTREAM=1 contrib/scripts/checkpatch-feature-branch.sh
|
- date '+%Y%m%d-%H%M%S'; NM_CHECKPATCH_FETCH_UPSTREAM=1 contrib/scripts/checkpatch-feature-branch.sh
|
||||||
@@ -203,6 +212,8 @@ check-tree:
|
|||||||
FDO_DISTRIBUTION_TAG: ${{default_distro.name.upper()}}_TAG
|
FDO_DISTRIBUTION_TAG: ${{default_distro.name.upper()}}_TAG
|
||||||
needs:
|
needs:
|
||||||
- "tier{{default_distro.tier}}:{{default_distro.name}}:{{default_distro.versions[0]}}@prep"
|
- "tier{{default_distro.tier}}:{{default_distro.name}}:{{default_distro.versions[0]}}@prep"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE != 'schedule'
|
||||||
stage: tier1
|
stage: tier1
|
||||||
script:
|
script:
|
||||||
- date '+%Y%m%d-%H%M%S'; clang-format --version
|
- date '+%Y%m%d-%H%M%S'; clang-format --version
|
||||||
@@ -221,21 +232,35 @@ pages:
|
|||||||
expire_in: 20 days
|
expire_in: 20 days
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
only:
|
rules:
|
||||||
- main
|
- if: $CI_PIPELINE_SOURCE == 'schedule'
|
||||||
|
when: never
|
||||||
|
- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == 'main'
|
||||||
dependencies:
|
dependencies:
|
||||||
- "t_{{default_distro.name}}:{{default_distro.versions[0]}}: [autotools+gcc+docs+valgrind]"
|
- "t_{{default_distro.name}}:{{default_distro.versions[0]}}: [autotools+gcc+docs+valgrind]"
|
||||||
needs:
|
needs:
|
||||||
- "t_{{default_distro.name}}:{{default_distro.versions[0]}}: [autotools+gcc+docs+valgrind]"
|
- "t_{{default_distro.name}}:{{default_distro.versions[0]}}: [autotools+gcc+docs+valgrind]"
|
||||||
|
|
||||||
triage:issues:
|
# triage:issues:
|
||||||
stage: triage
|
# stage: triage
|
||||||
image: ruby:2.7
|
# image: ruby:2.7
|
||||||
|
# script:
|
||||||
|
# - gem install gitlab-triage
|
||||||
|
# - gitlab-triage -d --token $API_TOKEN --source-id $SOURCE_ID
|
||||||
|
# only:
|
||||||
|
# - schedules
|
||||||
|
|
||||||
|
# Clean the generated images periodically to get updated snapshots of the distribution images.
|
||||||
|
# Create an scheduled pipeline to run it, passing an AUTHFILE environment variable of type
|
||||||
|
# 'File' with an authentication token with API access level.
|
||||||
|
clean-images:
|
||||||
|
extends:
|
||||||
|
- .fdo.ci-fairy
|
||||||
|
stage: prep
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
script:
|
script:
|
||||||
- gem install gitlab-triage
|
- ci-fairy -v --authfile $AUTHFILE delete-image --project NetworkManager/NetworkManager --all
|
||||||
- gitlab-triage -d --token $API_TOKEN --source-id $SOURCE_ID
|
|
||||||
only:
|
|
||||||
- schedules
|
|
||||||
|
|
||||||
# Have detached MR pipeline (https://docs.gitlab.com/ee/ci/pipelines/merge_request_pipelines.html)
|
# Have detached MR pipeline (https://docs.gitlab.com/ee/ci/pipelines/merge_request_pipelines.html)
|
||||||
# https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/540#what-it-means-for-me-a-maintainer-of-a-project-part-of-gitlabfreedesktoporg
|
# https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/540#what-it-means-for-me-a-maintainer-of-a-project-part-of-gitlabfreedesktoporg
|
||||||
@@ -243,3 +268,4 @@ workflow:
|
|||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
- if: $CI_PIPELINE_SOURCE == 'push'
|
- if: $CI_PIPELINE_SOURCE == 'push'
|
||||||
|
- if: $CI_PIPELINE_SOURCE == 'schedule'
|
||||||
|
Reference in New Issue
Block a user