Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BaseImage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
EIC
BaseImage
Commits
8140bd24
Commit
8140bd24
authored
Apr 12, 2018
by
David Blyth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed DD4hep multiple input files and update CI
parent
ef2b40f2
Pipeline
#240
passed with stages
in 49 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
19 deletions
+14
-19
.gitlab-ci.yml
.gitlab-ci.yml
+12
-17
Dockerfile
Dockerfile
+2
-2
No files found.
.gitlab-ci.yml
View file @
8140bd24
...
...
@@ -3,32 +3,27 @@ before_script:
stages
:
-
build
-
build-cleanup
-
deploy
-
build_
cleanup
-
cleanup
build
_test
:
build
-image
:
stage
:
build
script
:
-
docker build -t argonneeic/base:$CI_COMMIT_REF_SLUG --build-arg BUILD_THREADS=20 .
except
:
-
master
-
bash -c 'if [ "$(docker images -f reference=argonneeic/base:$CI_COMMIT_SHA --format {{.Tag}})" == "" ]; then docker build -t argonneeic/base:$CI_COMMIT_SHA --build-arg BUILD_THREADS=20 .; fi'
build_latest
:
stage
:
build
cleanup-containers
:
stage
:
build
-cleanup
script
:
-
docker build -t argonneeic/base --build-arg BUILD_THREADS=20 .
only
:
-
master
-
bash -c 'docker rm $(docker ps -qa --no-trunc --filter "status=exited") || :'
when
:
on_failure
d
ocker_hub_push
:
d
eploy-to-dockerhub
:
stage
:
deploy
script
:
-
bash -c 'docker rmi argonneeic/base:latest || :'
-
docker tag argonneeic/base:$CI_COMMIT_SHA argonneeic/base
-
bash deploy.sh
-
docker rmi argonneeic/base:$CI_COMMIT_SHA
only
:
-
master
cleanup_docker_containers
:
stage
:
build_cleanup
script
:
-
docker rm $(docker ps -qa --no-trunc --filter "status=exited")
when
:
on_failure
Dockerfile
View file @
8140bd24
...
...
@@ -148,8 +148,8 @@ RUN git clone https://github.com/iLCSoft/LCIO.git \
ENV
ROOT_INCLUDE_PATH=/usr/local:/usr/local/include
# DD4hep
ENV
DD4HEP_CHECKOUT=
0e539031db7b74e1874f64f039e02dfc3560a814
\
DD4HEP_REPO=https://github.com/
AIDASoft
/DD4hep.git
ENV
DD4HEP_CHECKOUT=
7c5b178254361ec4e3d97c51f941bce515c85341
\
DD4HEP_REPO=https://github.com/
decibelcooper
/DD4hep.git
RUN
sudo
pacman
-S
--noconfirm
\
boost
\
...
...
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