Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
EIC
Project Juggler
Commits
1c3344a5
Commit
1c3344a5
authored
Jan 18, 2021
by
Whitney Armstrong
Browse files
modified: .containers/Dockerfile.in
modified: .gitlabci/configure.sh
parent
b8d06008
Changes
2
Hide whitespace changes
Inline
Side-by-side
.containers/Dockerfile.in
View file @
1c3344a5
...
...
@@ -22,7 +22,7 @@ RUN cd /tmp \
&& cd /tmp && rm -rf /tmp/eicd
RUN cd /tmp \
&& git clone https://eicweb.phy.anl.gov/EIC/juggler.git \
&& git clone
-b @JUGGLER_BRANCH@
https://eicweb.phy.anl.gov/EIC/juggler.git \
&& mkdir -p juggler/build && cd juggler/build \
&& cmake ../. -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=/usr/local \
&& make -j30 && make -j4 install \
...
...
.gitlabci/configure.sh
View file @
1c3344a5
...
...
@@ -6,9 +6,15 @@
## Known variables that will be substituted:
## @EIC_TAG@ - docker tag used for the EIC container
## @JUGGLER_TAG@ - output tag for the Juggler version
## @JUGGLER_BRANCH@ - Juggler git branch for build
TEMPLATE_FILE
=
$1
OUTPUT_FILE
=
${
TEMPLATE_FILE
%.*
}
JUGGLER_BRANCH
=
"master"
if
[
-n
"
${
CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
}
"
]
;
then
JUGGLER_BRANCH
=
$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
fi
echo
"Configuring CI file:
${
TEMPLATE_FILE
}
"
echo
"Output will be written to:
${
OUTPUT_FILE
}
"
...
...
@@ -16,6 +22,8 @@ echo "Output will be written to: ${OUTPUT_FILE}"
TAG
=
$EIC_VERSION
sed
"s/@EIC_TAG@/
$EIC_TAG
/g"
$TEMPLATE_FILE
|
\
sed
"s/@JUGGLER_TAG@/
$JUGGLER_TAG
/g"
>
${
OUTPUT_FILE
}
sed
"s/@JUGGLER_TAG@/
$JUGGLER_TAG
/g"
|
\
sed
"s/@JUGGLER_BRANCH@/
$JUGGLER_BRANCH
/g"
>
${
OUTPUT_FILE
}
echo
"Done"
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