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
0199c100
Verified
Commit
0199c100
authored
Jul 07, 2016
by
Ansgar Burchardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install duneci-install-module.
parent
cc96d9d3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
4 deletions
+40
-4
.gitignore
.gitignore
+1
-0
Makefile
Makefile
+7
-4
base-8/Dockerfile
base-8/Dockerfile
+1
-0
base-9/Dockerfile
base-9/Dockerfile
+1
-0
base-common/duneci-install-module
base-common/duneci-install-module
+30
-0
No files found.
.gitignore
View file @
0199c100
/*-stamp
/base-?/duneci-ctest
/base-?/duneci-install-module
Makefile
View file @
0199c100
...
...
@@ -3,14 +3,17 @@ all: base-8-stamp base-9-stamp dune-2.3-stamp dune-2.4-stamp dune-fufem-stamp du
clean
:
rm
-f
--
./
*
-stamp
rm
-f
--
base-8/duneci-ctest base-9/duneci-ctest
rm
-f
--
base-8/duneci-install-module base-9/duneci-install-module
base-8-stamp
:
base-8/Dockerfile base-common/duneci-ctest
cp
base-common/duneci-ctest base-8/duneci-ctest
base-8-stamp
:
base-8/Dockerfile base-common/duneci-ctest base-common/duneci-install-module
cp
base-common/duneci-ctest base-8/
cp
base-common/duneci-install-module base-8/
docker build
--no-cache
-t
duneci/base:8 base-8
touch
$@
base-9-stamp
:
base-9/Dockerfile base-common/duneci-ctest
cp
base-common/duneci-ctest base-9/duneci-ctest
base-9-stamp
:
base-9/Dockerfile base-common/duneci-ctest base-common/duneci-install-module
cp
base-common/duneci-ctest base-9/
cp
base-common/duneci-install-module base-9/
docker build
--no-cache
-t
duneci/base:9 base-9
touch
$@
...
...
base-8/Dockerfile
View file @
0199c100
...
...
@@ -40,3 +40,4 @@ ENV DUNE_CONTROL_PATH=.:/duneci/modules
ENV
PATH=/duneci/bin:$PATH
COPY
opts.clang opts.gcc /duneci/
COPY
duneci-ctest /duneci/bin/
COPY
duneci-install-module /duneci/bin/
base-9/Dockerfile
View file @
0199c100
...
...
@@ -40,3 +40,4 @@ ENV DUNE_CONTROL_PATH=.:/duneci/modules
ENV
PATH=/duneci/bin:$PATH
COPY
opts.clang opts.gcc /duneci/
COPY
duneci-ctest /duneci/bin/
COPY
duneci-install-module /duneci/bin/
base-common/duneci-install-module
0 → 100755
View file @
0199c100
#! /bin/bash
# Author: Ansgar Burchardt <Ansgar.Burchardt@tu-dresden.de>
set
-e
usage
()
{
echo
"usage: duneci-install-module <Git-repository> <dunecontrol-opts>"
>
&2
exit
${
1
:-
0
}
}
if
[[
$#
-eq
0
]]
;
then
usage 0
fi
repo
=
"
${
1
}
"
module
=
"
${
repo
##*/
}
"
;
module
=
"
${
module
%.git
}
"
shift
if
[[
"
${
module
}
"
=
dune-common
]]
;
then
ln
-sf
/duneci/modules/dune-common/bin/dunecontrol /duneci/bin
fi
cd
/duneci/modules
if
[[
-d
"
${
module
}
"
]]
;
then
echo
"Module
${
module
}
is already installed."
>
&2
exit
1
fi
git clone
"
${
repo
}
"
dunecontrol
--opts
=
/duneci/opts.gcc
"
${
@
}
"
--only
=
"
${
module
}
"
all
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