Skip to content

Keep 5 latest versions of payu/dev#21

Merged
jo-basevi merged 1 commit intomainfrom
keep-last-5-payu-devs
Jul 22, 2025
Merged

Keep 5 latest versions of payu/dev#21
jo-basevi merged 1 commit intomainfrom
keep-last-5-payu-devs

Conversation

@jo-basevi
Copy link
Copy Markdown
Collaborator

@jo-basevi jo-basevi commented Jul 22, 2025

Moved this from #20. This PR changes the deploy script to only keep the 5 latest versions of payu/dev instead of latest 2 versions. Basically there was a case where the latest payu/dev was broken so we had to point to a earlier version of payu/dev - However if we deploy a new version, it would then delete the previous working version which may currently be used in PBS run jobs and keep the broken version.

I went with last 5 just to be super safe if there's multiple payu/dev deployments in quick succession and to avoid breaking any long running payu jobs. As the environments are squashfs files, having several environments shouldn't use that many inodes.

@jo-basevi jo-basevi temporarily deployed to Gadi Prerelease July 22, 2025 03:54 — with GitHub Actions Inactive
Copy link
Copy Markdown
Member

@aidanheerdegen aidanheerdegen left a comment

Choose a reason for hiding this comment

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

LGTM

@jo-basevi jo-basevi merged commit 662a7a8 into main Jul 22, 2025
4 checks passed
@jo-basevi jo-basevi deleted the keep-last-5-payu-devs branch July 22, 2025 04:11
@jo-basevi jo-basevi mentioned this pull request Jul 22, 2025
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.

2 participants