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

Add a GHA for building a release #273

Merged
merged 2 commits into from
Nov 7, 2023
Merged

Conversation

nwneisen
Copy link
Collaborator

@nwneisen nwneisen commented Oct 28, 2023

Fixes #206

Proposed Changes

Add a release workflow that calls multiple other jobs to create and publish a release. The workflow will be triggered by creating a pre-release on the project's github page. This will build and test all release artifacts. If everything is successful, it will publish the artifacts to the release page and push the latest doc changes. Afterwards, the release can be manually changed to ready for production.

  • Builds and tests will all run in parallel. After which, publishing the docs and artifacts will be done in parallel
  • PRs will still build linux, mac, and windows but no packages
  • The artifact version follows what it placed on the github release page without a 'v'

image

Testing

I tested this by running it on my personal fork of the repo.

  1. Create a pre-release
  2. Watch for everything in the CI to pass. The hugo page was not setup on my fork and so this failed during publishing as expected
  3. Verify that the correct release files were uploaded to the release and followed the current naming conventioin

@nwneisen nwneisen added enhancement New feature or request build labels Oct 28, 2023
@nwneisen nwneisen requested a review from neersighted October 30, 2023 14:17
@nwneisen nwneisen merged commit e83393e into Mirantis:master Nov 7, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a github action for the release process
1 participant