Skip to content

Update to weekly build scripts: avoid scrubbing of environments, update NRL site configs and GitHub actions#1568

Merged
climbfuji merged 2 commits intoJCSDA:developfrom
climbfuji:feature/automation_avoid_scrubbing
Mar 17, 2025
Merged

Update to weekly build scripts: avoid scrubbing of environments, update NRL site configs and GitHub actions#1568
climbfuji merged 2 commits intoJCSDA:developfrom
climbfuji:feature/automation_avoid_scrubbing

Conversation

@climbfuji
Copy link
Copy Markdown
Collaborator

Summary

This PR updates the weekly_build scripts to avoid the issue of newly installed environments getting scrubbed when installed from a build cache. See #1566 for more information. The updates also add support for compiler specifications compiler@=x.y.z, in addition to the existing [email protected] syntax. This is necessary so that we can build with two versions of the same compiler.

In addition, the NRL weekly build configs are updated and a manual scrubber is being added in GitHub actions (no need as far as I can tell to make this a weekly build script, but we could if we wanted).

Testing

Built all possible environments (combinations of templates and compilers) on Atlantis, Blueback, Narwhal, Nautilus.

Applications affected

None

Systems affected

NRL systems

Dependencies

Corresponding changes in the NRL Enterprise GitHub were merged.

Issue(s) addressed

Closes #1566

Checklist

  • This PR addresses one issue/problem/enhancement, or has a very good reason for not doing so.
  • These changes have been tested on the affected systems and applications.
  • All dependency PRs/issues have been resolved and this PR can be merged.

@climbfuji climbfuji self-assigned this Mar 14, 2025
RUNID=$(<RUNID_SAVE.log)
cd util/weekly_build
./05_BuildCache.sh ${RUNID} ${BASEDIR} ${PLATFORM}
./07_Cleanup.sh ${RUNID} ${BASEDIR} ${PLATFORM}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bug!

@climbfuji climbfuji enabled auto-merge (squash) March 17, 2025 01:13
@climbfuji climbfuji merged commit 2cf4807 into JCSDA:develop Mar 17, 2025
9 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in spack-stack automation Mar 17, 2025
@climbfuji climbfuji deleted the feature/automation_avoid_scrubbing branch March 17, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Protect environments installed from build caches from being scrubbed

2 participants