-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devops: improve release workflow (#4705)
## Motivation There have been inconsistencies with our release process recently. This PR addresses those and improves on it. ## Changes - "Build and Release" workflow will now display "Release {{ tag_name }}" as title when executed - "Push to Dockerhub" workflow had various improvements: - It will now use "Push {{ version }} to Dockerhub" as title - When triggered on a tag it will use the tag as version for the docker image, otherwise the short commit SHA is used (as before) - For some reason builds on `develop` were pushed to `go-spacemesh` and on other branches (and releases) to `go-spacemesh-dev`. Changed it to always push to `go-spacemesh-dev` unless instructed otherwise (by e.g. the release job when triggered through a tag). - Updated Makefile: Push to go-spacemesh-dev with short sha by default, release job overwrites the ENV to push to go-spacemesh with tag. ## Test Plan <!-- Please specify how these changes were tested (e.g. unit tests, manual testing, etc.) --> ## TODO <!-- This section should be removed when all items are complete --> - [x] Explain motivation or link existing issue(s) - [x] Test changes and document test plan - [x] Update documentation as needed ## DevOps Notes <!-- Please uncheck these items as applicable to make DevOps aware of changes that may affect releases --> - [x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources) - [x] This PR does not affect public APIs - [x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.) - [x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)
- Loading branch information
Showing
3 changed files
with
38 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters