Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
with:
fetch-depth: 0
- name: Push to EICweb
if: ${{ github.event_name == 'push' }}
uses: eic/gitlab-sync@master
with:
url: https://eicweb.phy.anl.gov/containers/eic_container.git/
Expand Down
5 changes: 2 additions & 3 deletions containers/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ ARG SPACKPACKAGES_CHERRYPICKS_FILES=""
ADD https://api.github.com/repos/${SPACKPACKAGES_ORGREPO}/commits/${SPACKPACKAGES_VERSION} /tmp/spack-packages.json
RUN <<EOF
set -e
git clone --filter=tree:0 https://github.com/${SPACKPACKAGES_ORGREPO}.git ${SPACKPACKAGES_ROOT}
git -C ${SPACKPACKAGES_ROOT} checkout ${SPACKPACKAGES_VERSION}
spack repo add --scope site --name builtin https://github.com/${SPACKPACKAGES_ORGREPO}.git ${SPACKPACKAGES_ROOT}
spack repo update --scope site --tag ${SPACKPACKAGES_VERSION} builtin
if [ -n "${SPACKPACKAGES_CHERRYPICKS}" ] ; then
SPACKPACKAGES_CHERRYPICKS=$(git -C ${SPACKPACKAGES_ROOT} rev-list --topo-order ${SPACKPACKAGES_CHERRYPICKS} | grep -m $(echo ${SPACKPACKAGES_CHERRYPICKS} | wc -w) "${SPACKPACKAGES_CHERRYPICKS}" | tac)
eval "declare -A SPACKPACKAGES_CHERRYPICKS_FILES_ARRAY=(${SPACKPACKAGES_CHERRYPICKS_FILES})"
Expand All @@ -210,7 +210,6 @@ if [ -n "${SPACKPACKAGES_CHERRYPICKS}" ] ; then
done
fi
git -C ${SPACKPACKAGES_ROOT} gc --prune=all --aggressive
spack repo add --scope site "${SPACKPACKAGES_ROOT}/repos/spack_repo/builtin"
EOF

## Setup build configuration
Expand Down
Loading