Skip to content
Merged
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
16 changes: 15 additions & 1 deletion .github/workflows/spack_cpu_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,19 @@ jobs:
# Push with force to override existing binaries...
- name: Push to binaries to buildcache
run: |
spack -e . buildcache push --force --base-image ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BASE_VERSION }} --unsigned --update-index local-buildcache
set +e
for attempt in {1..3}; do
echo "Attempt $attempt of 3"
spack -e . buildcache push \
--force \
--base-image ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BASE_VERSION }} \
--unsigned \
--update-index \
local-buildcache && break
if [ $attempt -lt 3 ]; then
echo "Push failed, waiting before retry..."
sleep 30
fi
done
set -e
if: ${{ !cancelled() }}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

- Improved coding guidelines for developers on floating point conventions.

- Made spack builds more robust.
-
- Removed unnecessary device synchronization and added where needed (HIP only calls).

- Changed variable and function names to be more explanatory.
Expand Down
Loading