Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
packaging
deb-icinga2
Commits
67388dc6
Commit
67388dc6
authored
Mar 14, 2019
by
Markus Frosch
Browse files
ci: Add gitlab-ci config for stretch
parent
7c569867
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
67388dc6
stages
:
-
build
-
test
-
upload
variables
:
DOCKER_IMAGE_BASE
:
registry.icinga.com/build-docker
ICINGA_BUILD_TYPE
:
snapshot
ICINGA_BUILD_UPSTREAM_BRANCH
:
feature/boost-asio
.build
:
&build
stage
:
build
tags
:
-
docker
image
:
${DOCKER_IMAGE_BASE}/${DOCKER_IMAGE}
script
:
-
icinga-build-package
cache
:
key
:
"
${CI_JOB_NAME}"
paths
:
-
ccache/
-
'
icinga2.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
:
-
tags
###################################
# Debian
###################################
build/debian/stretch
:
<<
:
*build
variables
:
DOCKER_IMAGE
:
debian/stretch
test/debian/stretch
:
<<
:
*test
variables
:
DOCKER_IMAGE
:
debian/stretch
dependencies
:
-
build/debian/stretch
build/debian/stretch:x86:
<<
:
*build
variables
:
DOCKER_IMAGE
:
debian/stretch:x86
test/debian/stretch:x86:
<<
:
*test
variables
:
DOCKER_IMAGE
:
debian/stretch:x86
dependencies
:
-
build/debian/stretch
-
build/debian/stretch:x86
upload/debian/stretch
:
<<
:
*upload
dependencies
:
-
build/debian/stretch:x86
-
build/debian/stretch
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment