Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
25
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
ebrains-spack-builds
Commits
b782ef05
Commit
b782ef05
authored
2 years ago
by
Athanasios Karmas
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
19486a59
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#17049
canceled with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
operations/spack_installation_root_update_steps.txt
+33
-0
33 additions, 0 deletions
operations/spack_installation_root_update_steps.txt
with
33 additions
and
0 deletions
operations/spack_installation_root_update_steps.txt
0 → 100644
+
33
−
0
View file @
b782ef05
1. Change in CI/CD variables
INSTALLATION_ROOT="main-spack-instance-2205"
2. Start an OpenShift build job from a terminal
oc create -f simplejob.yml
3. Execute in the running pod:
mkdir -p /opt/app-root/src
cd /srv
mkdir -p $INSTALLATION_ROOT
cd $INSTALLATION_ROOT
git clone https://github.com/spack/spack.git
git checkout -b release_v0_2_spack_commit a8d440d3ababcdec20d665ad938ab880cd9b9d17
cat <<EOF > /srv/$INSTALLATION_ROOT/spack/etc/spack/packages.yaml
packages:
all:
target: [x86_64]
EOF
source /srv/$INSTALLATION_ROOT/spack/share/spack/setup-env.sh
cat <<EOF > $SPACK_ROOT/etc/spack/defaults/mirrors.yaml
mirrors:
public_mirror: https://spack-llnl-mirror.s3-us-west-2.amazonaws.com/
spack-public: https://mirror.spack.io
EOF
spack compiler find
spack install gcc@10.3.0
spack load gcc@10.3.0
spack compiler find
spack install python@3.8.11 %gcc@10.3.0
cp -r ~/.spack $SPACK_ROOT
mkdir -p /srv/jupyterlab_kernels/prod/experimental
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
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