Add gitlab ci builds
This commit is contained in:
parent
ae1b8447e3
commit
fa4d12a8e9
|
@ -5,6 +5,7 @@
|
|||
## RPM Artifacts
|
||||
/*.git/
|
||||
/ccache*
|
||||
/build/
|
||||
/rpmbuild/
|
||||
*.tar*
|
||||
*.version
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
stages:
|
||||
- build
|
||||
|
||||
variables:
|
||||
DOCKER_IMAGE_BASE: registry.icinga.com/build-docker
|
||||
|
||||
.build_job: &build_job
|
||||
stage: build
|
||||
tags:
|
||||
- docker
|
||||
image: ${DOCKER_IMAGE_BASE}/${CI_JOB_NAME}:x86_64
|
||||
script:
|
||||
- icinga-build-package
|
||||
artifacts:
|
||||
paths:
|
||||
- build/*
|
||||
expire_in: 1 week
|
||||
|
||||
centos/7:
|
||||
<<: *build_job
|
Loading…
Reference in New Issue