Skip to content
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

Update GH CI #61

Merged
merged 7 commits into from
Jan 6, 2025
Merged

Update GH CI #61

merged 7 commits into from
Jan 6, 2025

Conversation

RussTreadon-NOAA
Copy link
Contributor

Update github workflows to be consistent with recent updates to the GH CI environment.

This PR follows the example of GSI PR #816 in which comparable changes were made to the GSI github CI.

@RussTreadon-NOAA RussTreadon-NOAA self-assigned this Jan 6, 2025
@RussTreadon-NOAA
Copy link
Contributor Author

@DavidHuber-NOAA and @AlexanderRichert-NOAA

GSI-utils GH CI was failing like it was in GSI. I changed GSI-utils files following the pattern I saw in GSI PR #816. Now GH CI passes for GSI-utils.

This is good but I'm simply copying what I see in GSI. Did I make the correct set of changes to GSI-utils? If you have time, would you please check the changes in this PR. Let me know what I got wrong and I'll fix it.

@DavidHuber-NOAA
Copy link
Collaborator

Changes look good to me. Thanks @RussTreadon-NOAA!

Copy link
Collaborator

@DavidHuber-NOAA DavidHuber-NOAA left a comment

Choose a reason for hiding this comment

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

Approve.

aerorahul
aerorahul previously approved these changes Jan 6, 2025
Copy link
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

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

Just one comment, probably for @AlexanderRichert-NOAA or @DavidHuber-NOAA to address, but otherwise, looks good.


# Install dependencies using Spack
- name: install-dependencies-with-spack
if: steps.cache-env.outputs.cache-hit != 'true'
# if: steps.cache-env.outputs.cache-hit != 'true'
Copy link
Contributor

Choose a reason for hiding this comment

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

will this not cause the stack to be built each time for gcc?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, I think you are correct. This will make the CI process quite long most of the time. This should probably be uncommented (here and in the GSI).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed, gcc CI took 38 minutes. I will uncomment the line in question and see what happens.

@aerorahul
Copy link
Contributor

Thanks for the quick update @RussTreadon-NOAA

A side note from looking at the action run -- suspect the CI will have issues soon after the GH runner is updated to a new image.
Screenshot 2025-01-06 at 10 11 22 AM

@RussTreadon-NOAA
Copy link
Contributor Author

Thank you @aerorahul for noting the warning. 1/17/2025 is just around the corner. I'll merge this PR into develop so that GH CI works at least for the time being.

@RussTreadon-NOAA RussTreadon-NOAA merged commit dd37ccc into develop Jan 6, 2025
8 checks passed
@RussTreadon-NOAA RussTreadon-NOAA deleted the bugfix/update_ci branch January 6, 2025 15:25
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