Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
totte
Mélange
Commits
f5765034
Commit
f5765034
authored
May 09, 2019
by
totte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shorten job names
parent
b87d6eca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
.gitlab-ci.yml
.gitlab-ci.yml
+14
-14
No files found.
.gitlab-ci.yml
View file @
f5765034
stages
:
-
test source
-
build
images
-
test
images
-
release
images
-
deploy
images
-
build
-
test
-
release
-
deploy
# Job 1
flake8
:
...
...
@@ -55,7 +55,7 @@ amd64 image:
-
master
tags
:
-
x86_64
stage
:
build
images
stage
:
build
image
:
docker:stable
services
:
-
docker:dind
...
...
@@ -74,7 +74,7 @@ arm image:
-
master
tags
:
-
armv71
stage
:
build
images
stage
:
build
image
:
docker:stable
services
:
-
docker:dind
...
...
@@ -93,7 +93,7 @@ amd64 unit test:
-
master
tags
:
-
x86_64
stage
:
test
images
stage
:
test
image
:
docker:stable
services
:
-
docker:dind
...
...
@@ -119,7 +119,7 @@ arm unit test:
-
master
tags
:
-
armv71
stage
:
test
images
stage
:
test
image
:
docker:stable
services
:
-
docker:dind
...
...
@@ -140,12 +140,12 @@ arm unit test:
-
docker-compose -f docker-compose.test.yml -p test up --abort-on-container-exit
# Job 8
make
release
:
release
:
only
:
-
master
tags
:
-
armv71
stage
:
release
images
stage
:
release
image
:
docker:stable
services
:
-
docker:dind
...
...
@@ -169,12 +169,12 @@ make release:
# Job 9
staging
environment
:
staging
:
only
:
-
master
tags
:
-
armv71
stage
:
deploy
images
stage
:
deploy
image
:
debian:stable
environment
:
name
:
staging
...
...
@@ -196,13 +196,13 @@ staging environment:
-
curl -XPOST -H "Fastly-Key:${FASTLY_KEY}" https://api.fastly.com/service/${FASTLY_SERVICE}/purge_all
# Job 10
production
environment
:
production
:
when
:
manual
only
:
-
master
tags
:
-
armv71
stage
:
deploy
images
stage
:
deploy
image
:
debian:stable
environment
:
name
:
production
...
...
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