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
suse-redis
Commits
7cf89fa5
Commit
7cf89fa5
authored
Nov 21, 2019
by
Henrik Triem
Browse files
Add .gitlab-ci.yml
parent
8d28a9d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
7cf89fa5
stages
:
-
build
-
test
-
upload
variables
:
DOCKER_IMAGE_BASE
:
registry.icinga.com/build-docker
.build
:
&build
stage
:
build
tags
:
-
docker
image
:
${DOCKER_IMAGE_BASE}/${DOCKER_IMAGE}
script
:
-
icinga-build-package
cache
:
key
:
"
${CI_JOB_NAME}"
paths
:
-
ccache/
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
###################################
# EPEL
###################################
build/centos/8
:
<<
:
*build
variables
:
DOCKER_IMAGE
:
centos/8
test/centos/8
:
<<
:
*test
variables
:
DOCKER_IMAGE
:
centos/8
dependencies
:
-
build/centos/8
upload/epel/8
:
<<
:
*upload
dependencies
:
-
build/centos/8
build/centos/7
:
<<
:
*build
variables
:
DOCKER_IMAGE
:
centos/7
test/centos/7
:
<<
:
*test
variables
:
DOCKER_IMAGE
:
centos/7
dependencies
:
-
build/centos/7
upload/epel/7
:
<<
:
*upload
dependencies
:
-
build/centos/7
###################################
# Fedora
###################################
build/fedora/31
:
<<
:
*build
variables
:
DOCKER_IMAGE
:
fedora/31
test/fedora/31
:
<<
:
*test
variables
:
DOCKER_IMAGE
:
fedora/31
dependencies
:
-
build/fedora/31
upload/fedora/31
:
<<
:
*upload
dependencies
:
-
build/fedora/31
Write
Preview
Supports
Markdown
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