Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dune-docker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ansgar Burchardt
dune-docker
Commits
6984a41a
Commit
6984a41a
authored
Sep 06, 2017
by
Ansgar Burchardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build DUNE modules in parallel when building Docker images
parent
354e9990
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
3 deletions
+16
-3
.gitlab-ci.yml
.gitlab-ci.yml
+3
-3
bin/duneci-build-docker-image
bin/duneci-build-docker-image
+10
-0
dune-fufem-git/Dockerfile
dune-fufem-git/Dockerfile
+1
-0
dune-fufem/Dockerfile
dune-fufem/Dockerfile
+1
-0
dune-git/Dockerfile
dune-git/Dockerfile
+1
-0
No files found.
.gitlab-ci.yml
View file @
6984a41a
...
...
@@ -98,21 +98,21 @@ dune:2.5:
dune:git:
stage
:
stage2
script
:
-
./bin/duneci-build-docker-image --no-cache duneci/dune:git dune-git
-
./bin/duneci-build-docker-image --
parallel --
no-cache duneci/dune:git dune-git
only
:
-
master@ansgar/dune-docker
dune-fufem:2.4:
stage
:
stage3
script
:
-
./bin/duneci-build-docker-image duneci/dune-fufem:2.4 dune-fufem
-
./bin/duneci-build-docker-image
--parallel
duneci/dune-fufem:2.4 dune-fufem
only
:
-
master@ansgar/dune-docker
dune-fufem:git:
stage
:
stage3
script
:
-
./bin/duneci-build-docker-image --no-cache duneci/dune-fufem:git dune-fufem-git
-
./bin/duneci-build-docker-image --
parallel --
no-cache duneci/dune-fufem:git dune-fufem-git
only
:
-
master@ansgar/dune-docker
...
...
bin/duneci-build-docker-image
View file @
6984a41a
...
...
@@ -27,8 +27,14 @@ if [[ $# -lt 2 ]]; then
usage
fi
parallel
=
while
:
;
do
case
"
${
1
}
"
in
--parallel
)
parallel
=
1
shift
;;
-
*
)
docker_opts+
=(
"
${
1
}
"
)
shift
...
...
@@ -41,6 +47,10 @@ done
image
=
"
${
1
}
"
;
shift
if
[[
-n
"
${
parallel
}
"
-a
-v
DUNECI_PARALLEL
]]
;
then
docker_opts+
=(
--build-arg
=
DUNECI_PARALLEL
=
"
${
DUNECI_PARALLEL
}
"
)
fi
builddir
=
"build/
${
image
##*/
}
"
if
[[
-e
${
builddir
}
]]
;
then
echo
"E:
${
builddir
}
already exists"
>
&2
...
...
dune-fufem-git/Dockerfile
View file @
6984a41a
FROM
duneci/dune:git
ARG
DUNECI_PARALLEL
USER
duneci
WORKDIR
/duneci/modules
...
...
dune-fufem/Dockerfile
View file @
6984a41a
FROM
duneci/dune:2.4
ARG
DUNECI_PARALLEL
USER
root
WORKDIR
/
...
...
dune-git/Dockerfile
View file @
6984a41a
FROM
duneci/base:9
ARG
DUNECI_PARALLEL
USER
duneci
RUN
duneci-install-module https://gitlab.dune-project.org/core/dune-common.git
\
...
...
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