Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vesta
board-support-package
Commits
ad4f861b
Commit
ad4f861b
authored
Sep 22, 2017
by
David Mondou
Browse files
Seperated out removal of the container and images.
parent
fcd65aaf
Pipeline
#6671
passed with stages
in 218 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ad4f861b
# This file is a template, and might need editing before it works on your project.
# Official docker image.
stages
:
-
setup
-
stop
-
rmcontainer
-
rmimage
-
build
s
etup
:
stage
:
s
etu
p
only
:
s
top-container
:
stage
:
s
to
p
only
:
-
master
script
:
-
docker stop vesta-builds
allow_failure
:
true
remove-container
:
stage
:
rmcontainer
only
:
-
master
script
:
-
docker rm vesta-builds
allow_failure
:
true
remove-image
:
stage
:
rmimage
only
:
-
master
script
:
-
docker rmi yocto-base
allow_failure
:
true
build
:
stage
:
build
only
:
only
:
-
master
script
:
-
docker pull ubuntu:trusty
-
docker build -t yocto-base .
-
docker run -i -v ${PWD}/artifacts:/artifacts --name vesta-builds yocto-base /bin/bash < build_script
-
./push_artifacts.sh
\ No newline at end of file
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