rpm-l10n/.gitlab-ci.yml

144 lines
2.3 KiB
YAML
Raw Permalink Normal View History

2020-05-08 14:43:19 +02:00
stages:
- build
- test
- upload
variables:
DOCKER_IMAGE_BASE: registry.icinga.com/build-docker
2022-06-30 06:28:43 +02:00
ICINGA_BUILD_TYPE: snapshot
2022-06-30 08:59:10 +02:00
ICINGA_BUILD_UPSTREAM_BRANCH: main
2020-05-08 14:43:19 +02:00
.build: &build
stage: build
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/${DOCKER_IMAGE}
script:
- icinga-build-package
cache:
key: "${CI_JOB_NAME}"
paths:
- ccache/
- 'L10n.git'
artifacts:
paths:
- build/*
expire_in: 1 week
.test: &test
stage: test
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/${DOCKER_IMAGE}
script:
- find build/
- icinga-build-test
.upload: &upload
stage: upload
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/upload
script:
- find build/
- icinga-build-upload-aptly
only:
- master
- tags
2022-06-30 06:08:17 +02:00
###################################
# Centos
###################################
2020-05-08 14:43:19 +02:00
build/centos/7:
<<: *build
variables:
DOCKER_IMAGE: centos/7
test/centos/7:
<<: *test
variables:
DOCKER_IMAGE: centos/7
dependencies:
2022-06-30 06:08:17 +02:00
- build/centos/7
2020-05-08 14:43:19 +02:00
2022-02-27 23:01:39 +01:00
upload/centos/7:
<<: *upload
dependencies:
2022-06-30 06:08:17 +02:00
- build/centos/7
2020-05-08 14:43:19 +02:00
2022-06-30 06:08:17 +02:00
###################################
# Fedora
###################################
2022-06-29 21:31:28 +02:00
build/fedora/36:
2021-11-17 19:03:22 +01:00
<<: *build
variables:
2022-06-29 21:31:28 +02:00
DOCKER_IMAGE: fedora/36
RPM_BUILD_NCPUS: '1'
2021-11-17 19:03:22 +01:00
2022-06-29 21:31:28 +02:00
test/fedora/36:
2021-11-17 19:03:22 +01:00
<<: *test
variables:
2022-06-29 21:31:28 +02:00
DOCKER_IMAGE: fedora/36
2021-11-17 19:03:22 +01:00
dependencies:
2022-06-30 06:08:17 +02:00
- build/fedora/36
2021-11-17 19:03:22 +01:00
2022-06-29 21:31:28 +02:00
upload/fedora/36:
2021-11-17 19:03:22 +01:00
<<: *upload
dependencies:
2022-06-30 06:08:17 +02:00
- build/fedora/36
2021-11-17 19:03:22 +01:00
2022-06-29 21:31:28 +02:00
build/fedora/35:
2021-04-20 13:46:46 +02:00
<<: *build
variables:
2022-06-29 21:31:28 +02:00
DOCKER_IMAGE: fedora/35
RPM_BUILD_NCPUS: '1'
2021-04-20 13:46:46 +02:00
2022-06-29 21:31:28 +02:00
test/fedora/35:
2021-04-20 13:46:46 +02:00
<<: *test
variables:
2022-06-29 21:31:28 +02:00
DOCKER_IMAGE: fedora/35
2021-04-20 13:46:46 +02:00
dependencies:
2022-06-30 06:08:17 +02:00
- build/fedora/35
2021-04-20 13:46:46 +02:00
2022-06-29 21:31:28 +02:00
upload/fedora/35:
2021-04-20 13:46:46 +02:00
<<: *upload
dependencies:
2022-06-30 06:08:17 +02:00
- build/fedora/35
2021-04-20 13:46:46 +02:00
2022-06-30 06:08:17 +02:00
###################################
# openSUSE
###################################
2022-06-29 21:31:28 +02:00
build/opensuse/15.4:
2020-11-13 16:12:00 +01:00
<<: *build
variables:
2022-06-29 21:31:28 +02:00
DOCKER_IMAGE: opensuse/15.4
2020-11-13 16:12:00 +01:00
2022-06-29 21:31:28 +02:00
test/opensuse/15.4:
2020-11-13 16:12:00 +01:00
<<: *test
variables:
2022-06-29 21:31:28 +02:00
DOCKER_IMAGE: opensuse/15.4
2020-11-13 16:12:00 +01:00
dependencies:
2022-06-30 06:08:17 +02:00
- build/opensuse/15.4
2020-11-13 16:12:00 +01:00
2022-06-30 06:08:17 +02:00
upload/openSUSE/15.4:
2020-11-13 16:12:00 +01:00
<<: *upload
dependencies:
2022-06-30 06:08:17 +02:00
- build/opensuse/15.4
2020-11-13 16:12:00 +01:00
2021-08-03 10:21:52 +02:00
build/opensuse/15.3:
<<: *build
variables:
DOCKER_IMAGE: opensuse/15.3
test/opensuse/15.3:
<<: *test
variables:
DOCKER_IMAGE: opensuse/15.3
dependencies:
2022-06-30 06:08:17 +02:00
- build/opensuse/15.3
2021-08-03 10:21:52 +02:00
2022-06-30 06:08:17 +02:00
upload/openSUSE/15.3:
2021-08-03 10:21:52 +02:00
<<: *upload
dependencies:
2022-06-30 06:08:17 +02:00
- build/opensuse/15.3