Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
containers
eic_container
Commits
6b758aba
Commit
6b758aba
authored
4 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Plain Diff
Merge branch 'staging-v2.0.0' into develop
parents
3e8c4253
b2136d4f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3
v2.0.1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+0
-2
0 additions, 2 deletions
.gitlab-ci.yml
containers/builder/Dockerfile
+8
-3
8 additions, 3 deletions
containers/builder/Dockerfile
containers/release/Dockerfile
+6
-1
6 additions, 1 deletion
containers/release/Dockerfile
deploy.py
+2
-2
2 additions, 2 deletions
deploy.py
with
16 additions
and
8 deletions
.gitlab-ci.yml
+
0
−
2
View file @
6b758aba
...
@@ -30,7 +30,6 @@ eic_builder_singularity:
...
@@ -30,7 +30,6 @@ eic_builder_singularity:
-
sodium dind
-
sodium dind
only
:
only
:
-
tags
-
tags
-
develop
when
:
manual
when
:
manual
script
:
script
:
-
cp containers/builder/eic_builder.def .
-
cp containers/builder/eic_builder.def .
...
@@ -50,7 +49,6 @@ eic_singularity:
...
@@ -50,7 +49,6 @@ eic_singularity:
-
sodium dind
-
sodium dind
only
:
only
:
-
tags
-
tags
-
develop
script
:
script
:
-
cp containers/release/eic.def .
-
cp containers/release/eic.def .
-
/bin/bash .gitlabci/setup.sh
-
/bin/bash .gitlabci/setup.sh
...
...
This diff is collapsed.
Click to expand it.
containers/builder/Dockerfile
+
8
−
3
View file @
6b758aba
...
@@ -49,6 +49,11 @@ RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \
...
@@ -49,6 +49,11 @@ RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \
# Modifications to the environment that are necessary to run
# Modifications to the environment that are necessary to run
RUN
cd
/opt/spack-environment
&&
\
RUN
cd
/opt/spack-environment
&&
\
spack
env
activate
--sh
-d
.
>>
/etc/profile.d/z10_spack_environment.sh
spack
env
activate
--sh
-d
.
>>
/etc/profile.d/z10_spack_environment.sh
&&
\
echo
"export BINARY_TAG=x86_64-linux-gcc9-opt"
>>
/etc/profile.d/z10_spack_environment.sh
ENTRYPOINT
["/bin/bash", "--rcfile", "/etc/profile", "-l"]
## make sure we have the entrypoints setup correctly
ENTRYPOINT
[]
CMD
["bash", "--rcfile", "/etc/profile", "-l"]
USER
0
WORKDIR
/
This diff is collapsed.
Click to expand it.
containers/release/Dockerfile
+
6
−
1
View file @
6b758aba
...
@@ -24,6 +24,11 @@ COPY --from=builder /opt/spack-environment /opt/spack-environment
...
@@ -24,6 +24,11 @@ COPY --from=builder /opt/spack-environment /opt/spack-environment
COPY
--from=builder /opt/software /opt/software
COPY
--from=builder /opt/software /opt/software
COPY
--from=builder /opt/view /opt/view
COPY
--from=builder /opt/view /opt/view
COPY
--from=builder /etc/profile.d/z10_spack_environment.sh /etc/profile.d/z10_spack_environment.sh
COPY
--from=builder /etc/profile.d/z10_spack_environment.sh /etc/profile.d/z10_spack_environment.sh
## Setup global bashrc, useful for singularity
COPY
--from=builder /root/.bashrc /etc/bash.bashrc
COPY
--from=builder /root/.bashrc /etc/bash.bashrc
ENTRYPOINT
["/bin/bash", "--rcfile", "/etc/profile", "-l"]
## make sure we have the entrypoints setup correctly
ENTRYPOINT
[]
CMD
["bash", "--rcfile", "/etc/profile", "-l"]
USER
0
WORKDIR
/
This diff is collapsed.
Click to expand it.
deploy.py
+
2
−
2
View file @
6b758aba
...
@@ -92,14 +92,14 @@ if __name__ == "__main__":
...
@@ -92,14 +92,14 @@ if __name__ == "__main__":
## Create our install prefix if needed and ensure it is writable
## Create our install prefix if needed and ensure it is writable
args
.
prefix
=
os
.
path
.
abspath
(
args
.
prefix
)
args
.
prefix
=
os
.
path
.
abspath
(
args
.
prefix
)
if
not
args
.
module_path
:
if
not
args
.
module_path
:
args
.
module_path
=
'
{}
/etc/modulefiles
'
.
format
(
args
.
prefix
)
args
.
module_path
=
os
.
path
.
abspath
(
'
{}/../..
/etc/modulefiles
'
.
format
(
args
.
prefix
)
)
print
(
'
Install prefix:
'
,
args
.
prefix
)
print
(
'
Install prefix:
'
,
args
.
prefix
)
print
(
'
Creating install prefix if needed...
'
)
print
(
'
Creating install prefix if needed...
'
)
bindir
=
'
{}/bin
'
.
format
(
args
.
prefix
)
bindir
=
'
{}/bin
'
.
format
(
args
.
prefix
)
libdir
=
'
{}/lib
'
.
format
(
args
.
prefix
)
libdir
=
'
{}/lib
'
.
format
(
args
.
prefix
)
libexecdir
=
'
{}/libexec
'
.
format
(
args
.
prefix
)
libexecdir
=
'
{}/libexec
'
.
format
(
args
.
prefix
)
root_prefix
=
os
.
path
.
abspath
(
'
{}/..
'
.
format
(
args
.
prefix
))
root_prefix
=
os
.
path
.
abspath
(
'
{}/..
'
.
format
(
args
.
prefix
))
moduledir
=
'
{}/
etc/modulefiles/{}
'
.
format
(
root_prefix
,
PROJECT_NAME
)
moduledir
=
'
{}/
{}
'
.
format
(
args
.
module_path
,
PROJECT_NAME
)
for
dir
in
[
bindir
,
libdir
,
libexecdir
,
moduledir
]:
for
dir
in
[
bindir
,
libdir
,
libexecdir
,
moduledir
]:
print
(
'
-
'
,
dir
)
print
(
'
-
'
,
dir
)
smart_mkdir
(
dir
)
smart_mkdir
(
dir
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment