Add gitlab ci builds

This commit is contained in:
Markus Frosch 2018-04-04 14:35:55 +02:00
parent ae1b8447e3
commit fa4d12a8e9
2 changed files with 21 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,6 +5,7 @@
## RPM Artifacts
/*.git/
/ccache*
/build/
/rpmbuild/
*.tar*
*.version

20
.gitlab-ci.yml Normal file
View File

@ -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