mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 12:34:55 +00:00
1073 lines
28 KiB
YAML
1073 lines
28 KiB
YAML
# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0 filetype=yaml:
|
|
|
|
########################################
|
|
# #
|
|
# THIS FILE IS GENERATED, DO NOT EDIT #
|
|
# Edit .gitlab-ci/ci.template instead #
|
|
# #
|
|
########################################
|
|
|
|
|
|
.templates_sha: &template_sha d5aa3941aa03c2f716595116354fb81eb8012acb # see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
|
|
|
include:
|
|
# Alpine container builder template
|
|
- project: 'freedesktop/ci-templates'
|
|
ref: *template_sha
|
|
file: '/templates/alpine.yml'
|
|
# Centos container builder template
|
|
- project: 'freedesktop/ci-templates'
|
|
ref: *template_sha
|
|
file: '/templates/centos.yml'
|
|
# Debian container builder template
|
|
- project: 'freedesktop/ci-templates'
|
|
ref: *template_sha
|
|
file: '/templates/debian.yml'
|
|
# Fedora container builder template
|
|
- project: 'freedesktop/ci-templates'
|
|
ref: *template_sha
|
|
file: '/templates/fedora.yml'
|
|
# Ubuntu container builder template
|
|
- project: 'freedesktop/ci-templates'
|
|
ref: *template_sha
|
|
file: '/templates/ubuntu.yml'
|
|
|
|
stages:
|
|
- prep
|
|
- test
|
|
- deploy
|
|
- triage
|
|
- container_clean
|
|
|
|
variables:
|
|
FDO_UPSTREAM_REPO: NetworkManager/NetworkManager
|
|
GIT_DEPTH: 1
|
|
# These tags should be updated each time the list of packages is updated
|
|
# changing these will force rebuilding the associated image
|
|
# Note: these tags have no meaning and are not tied to a particular NM version
|
|
#
|
|
# This is done by running `ci-fairy generate-template` and possibly bumping
|
|
# ".default_tag".
|
|
FEDORA_TAG: '2022-10-07.0-9f6b6172b96e'
|
|
UBUNTU_TAG: '2022-10-07.0-3ff430ed1681'
|
|
DEBIAN_TAG: '2022-10-07.0-3ff430ed1681'
|
|
CENTOS_TAG: '2022-10-07.0-9f6b6172b96e'
|
|
ALPINE_TAG: '2022-10-07.0-0634db5ee011'
|
|
|
|
FEDORA_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
|
UBUNTU_EXEC: 'bash .gitlab-ci/debian-install.sh'
|
|
DEBIAN_EXEC: 'bash .gitlab-ci/debian-install.sh'
|
|
CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
|
ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh'
|
|
|
|
.nm_artifacts:
|
|
variables:
|
|
NM_BUILD_TARBALL: 1
|
|
artifacts:
|
|
expire_in: 5 days
|
|
when: always
|
|
paths:
|
|
- docs-html
|
|
- NetworkManager-1*.tar.xz
|
|
- NetworkManager-1*.src.rpm
|
|
- nm-test.log
|
|
|
|
.nm_artifacts_debug:
|
|
artifacts:
|
|
expire_in: 5 days
|
|
when: always
|
|
paths:
|
|
- nm-test.log
|
|
|
|
#################################################################
|
|
# #
|
|
# containers stage #
|
|
# #
|
|
#################################################################
|
|
|
|
# Build a container for each distribution + version. The ci-templates
|
|
# will re-use the containers if the tag doesn't change.
|
|
|
|
fedora:30@container-prep:
|
|
extends:
|
|
- .fdo.container-build@fedora
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '30'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
|
|
|
fedora:31@container-prep:
|
|
extends:
|
|
- .fdo.container-build@fedora
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '31'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
|
|
|
fedora:32@container-prep:
|
|
extends:
|
|
- .fdo.container-build@fedora
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '32'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
|
|
|
fedora:33@container-prep:
|
|
extends:
|
|
- .fdo.container-build@fedora
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '33'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
|
|
|
fedora:34@container-prep:
|
|
extends:
|
|
- .fdo.container-build@fedora
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '34'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
|
|
|
fedora:35@container-prep:
|
|
extends:
|
|
- .fdo.container-build@fedora
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '35'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
|
|
|
fedora:36@container-prep:
|
|
extends:
|
|
- .fdo.container-build@fedora
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '36'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
|
|
|
fedora:37@container-prep:
|
|
extends:
|
|
- .fdo.container-build@fedora
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '37'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
|
|
|
fedora:38@container-prep:
|
|
extends:
|
|
- .fdo.container-build@fedora
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '38'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
|
|
|
|
ubuntu:18.04@container-prep:
|
|
extends:
|
|
- .fdo.container-build@ubuntu
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '18.04'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
|
|
|
ubuntu:20.04@container-prep:
|
|
extends:
|
|
- .fdo.container-build@ubuntu
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '20.04'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
|
|
|
ubuntu:22.04@container-prep:
|
|
extends:
|
|
- .fdo.container-build@ubuntu
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '22.04'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
|
|
|
ubuntu:devel@container-prep:
|
|
extends:
|
|
- .fdo.container-build@ubuntu
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: 'devel'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
|
|
|
ubuntu:rolling@container-prep:
|
|
extends:
|
|
- .fdo.container-build@ubuntu
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: 'rolling'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
FDO_DISTRIBUTION_EXEC: $UBUNTU_EXEC
|
|
|
|
debian:9@container-prep:
|
|
extends:
|
|
- .fdo.container-build@debian
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '9'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC
|
|
|
|
debian:10@container-prep:
|
|
extends:
|
|
- .fdo.container-build@debian
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '10'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC
|
|
|
|
debian:11@container-prep:
|
|
extends:
|
|
- .fdo.container-build@debian
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '11'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC
|
|
|
|
debian:testing@container-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
|
|
|
|
debian:sid@container-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
|
|
|
|
centos:7.5.1804@container-prep:
|
|
extends:
|
|
- .fdo.container-build@centos
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '7.5.1804'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
|
|
|
centos:7.6.1810@container-prep:
|
|
extends:
|
|
- .fdo.container-build@centos
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '7.6.1810'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
|
|
|
centos:7.7.1908@container-prep:
|
|
extends:
|
|
- .fdo.container-build@centos
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '7.7.1908'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
|
|
|
centos:7.8.2003@container-prep:
|
|
extends:
|
|
- .fdo.container-build@centos
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '7.8.2003'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
|
|
|
centos:7.9.2009@container-prep:
|
|
extends:
|
|
- .fdo.container-build@centos
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '7.9.2009'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
|
|
|
centos:8.1.1911@container-prep:
|
|
extends:
|
|
- .fdo.container-build@centos
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '8.1.1911'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
|
|
|
centos:8.2.2004@container-prep:
|
|
extends:
|
|
- .fdo.container-build@centos
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '8.2.2004'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
|
|
|
centos:8.3.2011@container-prep:
|
|
extends:
|
|
- .fdo.container-build@centos
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: '8.3.2011'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
FDO_DISTRIBUTION_EXEC: $CENTOS_EXEC
|
|
|
|
alpine:latest@container-prep:
|
|
extends:
|
|
- .fdo.container-build@alpine
|
|
stage: prep
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
FDO_DISTRIBUTION_VERSION: 'latest'
|
|
FDO_DISTRIBUTION_TAG: $ALPINE_TAG
|
|
FDO_DISTRIBUTION_EXEC: $ALPINE_EXEC
|
|
|
|
#################################################################
|
|
# #
|
|
# container clean stage #
|
|
# run during the clean stage #
|
|
# #
|
|
#################################################################
|
|
|
|
#
|
|
# This stage will look for the container images we currently have in
|
|
# the registry and will remove any that are not tagged with the provided
|
|
# $container_image:$tag
|
|
#
|
|
# This job only runs for a scheduled pipeline.
|
|
#
|
|
# Go to your Profile, Settings, Access Tokens
|
|
# Create a personal token with 'api' scope, copy the value.
|
|
# Go to CI/CD, Schedules, schedule a monthly job.
|
|
# Define a variable of type File named AUTHFILE. Content is that token
|
|
# value.
|
|
.container-clean:
|
|
stage: container_clean
|
|
image: golang:alpine
|
|
before_script:
|
|
- apk add python3 py-pip git
|
|
- pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates
|
|
script:
|
|
- ci-fairy -v --authfile $AUTHFILE delete-image
|
|
--repository $FDO_DISTRIBUTION_NAME/$FDO_DISTRIBUTION_VERSION
|
|
--exclude-tag $FDO_DISTRIBUTION_TAG
|
|
dependencies: []
|
|
allow_failure: true
|
|
only:
|
|
- schedules
|
|
|
|
fedora:30@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '30'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
|
|
fedora:31@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '31'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
|
|
fedora:32@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '32'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
|
|
fedora:33@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '33'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
|
|
fedora:34@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '34'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
|
|
fedora:35@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '35'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
|
|
fedora:36@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '36'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
|
|
fedora:37@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '37'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
|
|
fedora:38@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '38'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
|
|
ubuntu:18.04@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/ubuntu/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '18.04'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
|
|
ubuntu:20.04@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/ubuntu/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '20.04'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
|
|
ubuntu:22.04@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/ubuntu/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '22.04'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
|
|
ubuntu:devel@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/ubuntu/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: 'devel'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
|
|
ubuntu:rolling@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/ubuntu/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: 'rolling'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
|
|
debian:9@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/debian/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '9'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
|
|
debian:10@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/debian/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '10'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
|
|
debian:11@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/debian/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '11'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
|
|
debian:testing@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/debian/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: 'testing'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
|
|
debian:sid@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/debian/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: 'sid'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
|
|
centos:7.5.1804@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/centos/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '7.5.1804'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
|
|
centos:7.6.1810@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/centos/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '7.6.1810'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
|
|
centos:7.7.1908@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/centos/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '7.7.1908'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
|
|
centos:7.8.2003@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/centos/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '7.8.2003'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
|
|
centos:7.9.2009@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/centos/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '7.9.2009'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
|
|
centos:8.1.1911@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/centos/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '8.1.1911'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
|
|
centos:8.2.2004@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/centos/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '8.2.2004'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
|
|
centos:8.3.2011@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/centos/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: '8.3.2011'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
|
|
alpine:latest@container-clean:
|
|
extends:
|
|
- .container-clean
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/alpine/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG
|
|
FDO_DISTRIBUTION_VERSION: 'latest'
|
|
FDO_DISTRIBUTION_TAG: $ALPINE_TAG
|
|
|
|
|
|
#################################################################
|
|
# #
|
|
# build stage #
|
|
# #
|
|
#################################################################
|
|
|
|
.build@template:
|
|
stage: test
|
|
script:
|
|
- env
|
|
- r=0
|
|
- .gitlab-ci/run-test.sh 2>&1 | tee /tmp/nm-test.log || r=$?
|
|
- mv /tmp/nm-test.log .
|
|
- exit $r
|
|
dependencies: []
|
|
|
|
|
|
#################################################################
|
|
# #
|
|
# test stage #
|
|
# #
|
|
#################################################################
|
|
|
|
|
|
t_fedora:30:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@fedora
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '30'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
needs:
|
|
- "fedora:30@container-prep"
|
|
when: manual
|
|
|
|
t_fedora:31:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@fedora
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '31'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
needs:
|
|
- "fedora:31@container-prep"
|
|
when: manual
|
|
|
|
t_fedora:32:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@fedora
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '32'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
needs:
|
|
- "fedora:32@container-prep"
|
|
when: manual
|
|
|
|
t_fedora:33:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@fedora
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '33'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
needs:
|
|
- "fedora:33@container-prep"
|
|
when: manual
|
|
|
|
t_fedora:34:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@fedora
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '34'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
needs:
|
|
- "fedora:34@container-prep"
|
|
when: manual
|
|
|
|
t_fedora:35:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@fedora
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '35'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
needs:
|
|
- "fedora:35@container-prep"
|
|
when: manual
|
|
|
|
t_fedora:36:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@fedora
|
|
- .nm_artifacts
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '36'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
needs:
|
|
- "fedora:36@container-prep"
|
|
|
|
t_fedora:37:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@fedora
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '37'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
needs:
|
|
- "fedora:37@container-prep"
|
|
when: manual
|
|
|
|
t_fedora:38:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@fedora
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '38'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
needs:
|
|
- "fedora:38@container-prep"
|
|
when: manual
|
|
|
|
t_ubuntu:18.04:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@ubuntu
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '18.04'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
needs:
|
|
- "ubuntu:18.04@container-prep"
|
|
when: manual
|
|
|
|
t_ubuntu:20.04:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@ubuntu
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '20.04'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
needs:
|
|
- "ubuntu:20.04@container-prep"
|
|
when: manual
|
|
|
|
t_ubuntu:22.04:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@ubuntu
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '22.04'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
needs:
|
|
- "ubuntu:22.04@container-prep"
|
|
when: manual
|
|
|
|
t_ubuntu:devel:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@ubuntu
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: 'devel'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
needs:
|
|
- "ubuntu:devel@container-prep"
|
|
when: manual
|
|
|
|
t_ubuntu:rolling:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@ubuntu
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: 'rolling'
|
|
FDO_DISTRIBUTION_TAG: $UBUNTU_TAG
|
|
needs:
|
|
- "ubuntu:rolling@container-prep"
|
|
when: manual
|
|
|
|
t_debian:9:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@debian
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '9'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
needs:
|
|
- "debian:9@container-prep"
|
|
when: manual
|
|
|
|
t_debian:10:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@debian
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '10'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
needs:
|
|
- "debian:10@container-prep"
|
|
when: manual
|
|
|
|
t_debian:11:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@debian
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '11'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
needs:
|
|
- "debian:11@container-prep"
|
|
when: manual
|
|
|
|
t_debian:testing:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@debian
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: 'testing'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
needs:
|
|
- "debian:testing@container-prep"
|
|
when: manual
|
|
|
|
t_debian:sid:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@debian
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: 'sid'
|
|
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
|
|
needs:
|
|
- "debian:sid@container-prep"
|
|
when: manual
|
|
|
|
t_centos:7.5.1804:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@centos
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '7.5.1804'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
needs:
|
|
- "centos:7.5.1804@container-prep"
|
|
when: manual
|
|
|
|
t_centos:7.6.1810:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@centos
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '7.6.1810'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
needs:
|
|
- "centos:7.6.1810@container-prep"
|
|
when: manual
|
|
|
|
t_centos:7.7.1908:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@centos
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '7.7.1908'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
needs:
|
|
- "centos:7.7.1908@container-prep"
|
|
when: manual
|
|
|
|
t_centos:7.8.2003:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@centos
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '7.8.2003'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
needs:
|
|
- "centos:7.8.2003@container-prep"
|
|
when: manual
|
|
|
|
t_centos:7.9.2009:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@centos
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '7.9.2009'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
needs:
|
|
- "centos:7.9.2009@container-prep"
|
|
when: manual
|
|
|
|
t_centos:8.1.1911:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@centos
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '8.1.1911'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
needs:
|
|
- "centos:8.1.1911@container-prep"
|
|
when: manual
|
|
|
|
t_centos:8.2.2004:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@centos
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '8.2.2004'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
needs:
|
|
- "centos:8.2.2004@container-prep"
|
|
when: manual
|
|
|
|
t_centos:8.3.2011:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@centos
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '8.3.2011'
|
|
FDO_DISTRIBUTION_TAG: $CENTOS_TAG
|
|
needs:
|
|
- "centos:8.3.2011@container-prep"
|
|
when: manual
|
|
|
|
t_alpine:latest:
|
|
extends:
|
|
- .build@template
|
|
- .fdo.distribution-image@alpine
|
|
- .nm_artifacts_debug
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: 'latest'
|
|
FDO_DISTRIBUTION_TAG: $ALPINE_TAG
|
|
needs:
|
|
- "alpine:latest@container-prep"
|
|
when: manual
|
|
|
|
#################################################################
|
|
# #
|
|
# specific jobs #
|
|
# #
|
|
#################################################################
|
|
|
|
check-patch:
|
|
extends:
|
|
- .fdo.distribution-image@fedora
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '36'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
needs:
|
|
- "fedora:36@container-prep"
|
|
stage: test
|
|
script:
|
|
- date '+%Y%m%d-%H%M%S'; NM_CHECKPATCH_FETCH_UPSTREAM=1 contrib/scripts/checkpatch-feature-branch.sh
|
|
allow_failure: true
|
|
|
|
check-tree:
|
|
extends:
|
|
- .fdo.distribution-image@fedora
|
|
variables:
|
|
FDO_DISTRIBUTION_VERSION: '36'
|
|
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
|
|
needs:
|
|
- "fedora:36@container-prep"
|
|
stage: test
|
|
script:
|
|
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-python-black-format.sh --check
|
|
- date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc
|
|
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh -n
|
|
- date '+%Y%m%d-%H%M%S'; ci-fairy generate-template && git diff --exit-code
|
|
|
|
pages:
|
|
stage: deploy
|
|
script:
|
|
- mv docs-html public
|
|
artifacts:
|
|
expire_in: 20 days
|
|
paths:
|
|
- public
|
|
only:
|
|
- main
|
|
dependencies:
|
|
- t_fedora:36
|
|
needs:
|
|
- t_fedora:36
|
|
|
|
triage:issues:
|
|
stage: triage
|
|
image: ruby:2.7
|
|
script:
|
|
- gem install gitlab-triage
|
|
- gitlab-triage -d --token $API_TOKEN --source-id $SOURCE_ID
|
|
only:
|
|
- schedules |