rpm-icinga-php-library/.gitlab-ci.yml

63 lines
1002 B
YAML
Raw Normal View History

2021-06-14 03:00:56 +02:00
stages:
- build
- test
- upload
variables:
DOCKER_IMAGE_BASE: registry.icinga.com/build-docker
ICINGA_BUILD_TYPE: snapshot
2021-07-19 13:07:23 +02:00
ICINGA_BUILD_UPSTREAM_BRANCH: snapshot/nightly
2021-06-14 03:00:56 +02:00
.build: &build
stage: build
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/${DOCKER_IMAGE}
script:
- icinga-build-package
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
2021-06-29 10:21:11 +02:00
only:
- master
- tags
2021-06-14 03:00:56 +02:00
###################################
# EPEL
###################################
build/centos/7:
<<: *build
variables:
DOCKER_IMAGE: centos/7
test/centos/7:
<<: *test
variables:
DOCKER_IMAGE: centos/7
dependencies:
- build/centos/7
2022-02-27 22:54:51 +01:00
upload/centos/7:
2021-06-14 03:00:56 +02:00
<<: *upload
dependencies:
- build/centos/7