Closed darrenvechain closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 57.26%. Comparing base (
e42227b
) to head (4daeda1
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Do we do RC release on GitHub release? Usually, we would RC releases to production if it was tested ok. If we do RC release on GithHub, do we need to write release notes for both RC and production releases?
Do we do RC release on GitHub release? Usually, we would RC releases to production if it was tested ok. If we do RC release on GithHub, do we need to write release notes for both RC and production releases?
@libotony you can chose the previous target when generating release notes, is this what you mean? See screenshot:
BTW, the -rc
is not mandatory, you can use any suffix you like and it will publish with that suffix, I guess the description just has the example
You can also see an example of releases here: https://github.com/darrenvechain/docker-publish-testing/releases
Hey @libotony I added the linter to the master file. Another option (if we want) could be to always run the linter and tests before docker publish, like in this commit. WDYT? https://github.com/vechain/thor/commit/0e645b93d7a0fd42dac6313d6e304c59b4659ddc
I guess the good part is that tests and linters always run before docker publish. Bad part is that actions become nested and slightly harder to follow, eg see this PR: https://github.com/darrenvechain/thor/pull/26 - unit tests fall under Docker Publish
which doesn't make much sense:
Hey @libotony I added the linter to the master file. Another option (if we want) could be to always run the linter and tests before docker publish, like in this commit. WDYT? 0e645b9
I think it's not necessary to run unit tests before docker publishes. I propose running linter on master is I remember that the linter action has a feature that only linting changed codes on PRs, so a full lint on master might be necessary.
Description
This changes how we publish docker images:
On commit to main:
master-latest
to GitHub Packagesmaster-${date}-${short sha}
to GitHub PackagesOn pre-release:
vX.Y.Z-rc
to GitHub PackagesvX.Y.Z-rc
to Docker HubOn release:
vX.Y.Z
to GitHub PackagesvX.Y.Z
to Docker Hublatest
to GitHub Packageslatest
to Docker HubFYI For pre-releases, it's important to append the
-rc
and set it as a pre-release:Type of change
How Has This Been Tested?
Please refer to the last 4 workflows here: https://github.com/darrenvechain/docker-publish-testing/actions
Checklist: