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

Multi-Target GitHub Releases #205

Merged
merged 5 commits into from
Jan 9, 2025

Conversation

CodeGat
Copy link
Member

@CodeGat CodeGat commented Jan 7, 2025

References #200, supports #121

Background

This PR updates our release pipeline to do a single, post-multi-target-deployment GitHub Release, of the form #200 (comment) - instead of a release per deployment target. See image for a rough idea of the changes:

release-changes

In this PR:

  • Move release and build-db jobs out of matrixed deploy-2-start.yml job, into cd.yml, so it can fire once all deployments are complete
  • Update metadata artifact (which contains spack.yaml, spack.lock...) to instead be prepended with deployment target (eg. deploy-metadata.Gadi, deploy-metadata.Setonix...)
  • Output a metadata artifact glob from deploy-2-start.yml, similar to the deploy-outputs.* glob from matrixed deploy-1-setup.yml (eg. deploy-metadata.*). Used to add deployment metadata files to the release.
  • Generate the non-autogenerated release notes based on deployment environments

Testing

Testing of the new release comment generation was done in my own test org so we don't create any actual release deployments of ACCESS-TEST. This workflow run created https://github.com/codegat-test-org/test/releases/tag/v1.0.0 using this workflow file.

@CodeGat CodeGat added type:feature New feature priority:medium version:MINOR Doesn't require update to Model Deployment Repositories labels Jan 7, 2025
@CodeGat CodeGat self-assigned this Jan 7, 2025
@CodeGat CodeGat force-pushed the 200-multi-target-release branch from 660cccc to de70856 Compare January 7, 2025 04:53
Copy link

@tmcadam tmcadam left a comment

Choose a reason for hiding this comment

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

Looks good

@CodeGat CodeGat merged commit 619c2b7 into dev-121-multi-target-workflows Jan 9, 2025
@CodeGat CodeGat deleted the 200-multi-target-release branch January 9, 2025 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:medium type:feature New feature version:MINOR Doesn't require update to Model Deployment Repositories
Projects
Status: Done ✅
Development

Successfully merging this pull request may close these issues.

2 participants