Skip to content

Use rocky 9.4 release train snapshots for builds #486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Dec 4, 2024
Merged

Use rocky 9.4 release train snapshots for builds #486

merged 11 commits into from
Dec 4, 2024

Conversation

wtripp180901
Copy link
Contributor

@wtripp180901 wtripp180901 commented Nov 22, 2024

Release of RockyLinux 9.5 has broken various things including OFED (currently OFED has no support for RL9.5). This PR fixes stackhpc image builds (only) by using the stackhpc ark repo snapshots for rocky and epel repos. After image builds the repos are left with the ark urls in, but disabled.

To support this, by default ansible/site.yml now runs with appliances_mode: configure which skips various non-idempotent tasks (e.g. dnf install @groupname.

NB: With this PR, only the .stackhpc environment will be able to build images (see pre/post hooks to enable/disable repos). This will be fixed in a later PR.

@wtripp180901
Copy link
Contributor Author

TODO:

  • nightly build
  • fatimage
  • ci

@wtripp180901 wtripp180901 requested a review from sjpb November 25, 2024 11:52
@wtripp180901 wtripp180901 marked this pull request as ready for review November 25, 2024 11:52
@wtripp180901 wtripp180901 requested a review from a team as a code owner November 25, 2024 11:52
Copy link
Collaborator

@sjpb sjpb left a comment

Choose a reason for hiding this comment

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

Design summit discussion:

  • For building on leafcloud start off use ark directly
  • Remove ark secret and disable yum repos at end of build
  • I think backing up the default repos which we modify does make sense though
  • That will break dnf install which I think will break site.yml So add missing packages for that to work

@wtripp180901 wtripp180901 requested a review from sjpb December 3, 2024 16:33
@wtripp180901
Copy link
Contributor Author

this should give an image which can run site.yml successfully, need to run it through the CI pipeline first if you're happy that its safe to do a nightly build (worked with packer locally)

@wtripp180901
Copy link
Contributor Author

wtripp180901 commented Dec 3, 2024

Copy link
Collaborator

@sjpb sjpb left a comment

Choose a reason for hiding this comment

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

Please address changes but I don't think there's a need to re-run CI.

@wtripp180901 wtripp180901 requested a review from sjpb December 4, 2024 16:05
Copy link
Collaborator

@sjpb sjpb left a comment

Choose a reason for hiding this comment

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

LGTM

@sjpb sjpb merged commit 4de581c into main Dec 4, 2024
1 of 5 checks passed
@sjpb sjpb deleted the feat/ark-repos branch December 4, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants