Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cobalt-installation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
COBALT
cobalt-installation
Commits
668ff2d9
Commit
668ff2d9
authored
2 months ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
Working spack compile
parent
784d81b6
No related branches found
No related tags found
1 merge request
!1
Draft: Integrate CI/CD into COBALT spack builds
Pipeline
#114314
passed
2 months ago
Stage: prepare
Stage: test
Pipeline: cobalt-installation
#114315
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/ci-runner/Dockerfile
+5
-2
5 additions, 2 deletions
docker/ci-runner/Dockerfile
with
5 additions
and
2 deletions
docker/ci-runner/Dockerfile
+
5
−
2
View file @
668ff2d9
...
@@ -22,17 +22,20 @@ RUN apt update && \
...
@@ -22,17 +22,20 @@ RUN apt update && \
automake
\
automake
\
file
file
ENV
SPACK_VERSION=0.2
2.1
ENV
SPACK_VERSION=0.2
3.0
ENV
SPACK_DIR=/opt/spack/${SPACK_VERSION}
ENV
SPACK_DIR=/opt/spack/${SPACK_VERSION}
RUN
git clone
--depth
1
--branch
v
${
SPACK_VERSION
}
https://github.com/spack/spack.git
${
SPACK_DIR
}
RUN
git clone
--depth
1
--branch
v
${
SPACK_VERSION
}
https://github.com/spack/spack.git
${
SPACK_DIR
}
RUN
ln
-s
${
SPACK_DIR
}
/bin/spack /usr/local/bin/
RUN
ln
-s
${
SPACK_DIR
}
/bin/spack /usr/local/bin/
RUN
.
${
SPACK_DIR
}
/share/spack/setup-env.sh
&&
spack compiler find
# && spack mirror add v${SPACK_VERSION} https://binaries.spack.io/v${SPACK_VERSION}
ENV
SPACK_REPO_DIR=/opt/spack/repos
ENV
SPACK_REPO_DIR=/opt/spack/repos
RUN
mkdir
-p
${
SPACK_REPO_DIR
}
RUN
mkdir
-p
${
SPACK_REPO_DIR
}
RUN
git clone https://gitlab.com/ska-telescope/ska-sdp-spack.git
${
SPACK_REPO_DIR
}
/ska-sdp-spack
&&
\
RUN
git clone https://gitlab.com/ska-telescope/ska-sdp-spack.git
${
SPACK_REPO_DIR
}
/ska-sdp-spack
&&
\
cd
${
SPACK_REPO_DIR
}
/ska-sdp-spack
&&
\
cd
${
SPACK_REPO_DIR
}
/ska-sdp-spack
&&
\
git fetch
--all
&&
\
git fetch
--all
&&
\
git checkout ded1a99bfb0dcc37a5d8f9404a10c509296e8e89
git checkout ded1a99bfb0dcc37a5d8f9404a10c509296e8e89
&&
\
.
${
SPACK_DIR
}
/share/spack/setup-env.sh
&&
\
spack repo add
${
SPACK_REPO_DIR
}
/ska-sdp-spack
#RUN mkdir -p $HOME/.spack
#RUN mkdir -p $HOME/.spack
#RUN echo "repos:\n- ${SPACK_REPO_DIR}/ska-sdp-spack" > $HOME/.spack/repos.yaml
#RUN echo "repos:\n- ${SPACK_REPO_DIR}/ska-sdp-spack" > $HOME/.spack/repos.yaml
...
...
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