Commit Graph

4 Commits

Author SHA1 Message Date
Jonathon Anderson
0cb9354364 Refactor GitHub workflows
This mostly simplifies our GitHub actions, but also fixes recent
breaking in the release workflows, unifies the tagged and nightly
release workflows, and moves to using `gh release` to manage releases.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-07-09 09:40:35 -06:00
Jonathon Anderson
ea8e4680bc Update tagged release workflow
- Don't use git hash in build identifier for tagged release
- Update upstream action versions
- Initiate release from pushed tag

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-02-17 22:22:31 -07:00
Jonathon Anderson
44090a5984 Reflow release.yml
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-10-16 10:17:22 +02:00
Jonathon Anderson
a69a205820 Refactor and update release workflow
- Use a matrix for multiple builds
- Merge mockbuild.sh into release.yml
- Upload dist only once (not once per build)
- Make release package uploads more explicit (makes errors more visible)
- Configure mock to log to the runner log
- Use variables to define artifact names only once
- Target the release explicitly by id
- Run the test suite in each mock environment (fixes #369)
- Update OpenSUSE Leap build to 15.5 (15.3 is EOL and not building
  correctly)
- Add a Rocky Linux 9 build
- Switch to Rocky Linux 9 build container (mostly to get mock
  configuration for newer OpenSUSE Leap)
- Allow successful releases to complete if some releases fail
  (`fail-fast: false`)

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-10-16 10:17:22 +02:00