Closed juhoinkinen closed 1 year ago
Patch and project coverage have no change.
Comparison is base (
51db308
) 99.67% compared to head (6dbebbb
) 99.67%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
As noted in https://github.com/NatLibFi/Annif/pull/715#discussion_r1238128712, it is now made possible to select the wanted git tag when triggering the workflow_dispatch
(I tested this with my own fork).
However this is possible only for the tags from the point since the rebuild workflow is added to the main branch, i.e. for the next release on. Luckily the Docker image for Annif v0.61 got rebuild when working on this PR.
EDIT: but again the current development version of Annif ends up in the image. No good to merge.
Kudos, SonarCloud Quality Gate passed!
EDIT: but again the current development version of Annif ends up in the image. No good to merge.
So stupid: ofc the current development version ends up in the image, because the tags which I created for testing this workflow were pointing to the current development version (1.0.0-dev).
This is a simplified version of PR #713: instead of doing rebuilds automatically with a schedule, this just intends to use the "workflow dispatch" trigger to manually start the build.
The Docker images of "maintained" releases should be rebuild regularly for system package updates, but this can be done manually (and for Annif deployments it is probably a good idea to have manual control on when updates happen).
For now is probably enough to consider only the most recent release to be "maintained" in this sense, but any tag (since merging this PR) can selected for rebuild.
This PR adds a GH Actions workflow, which
<major>.<minor>
<major>.<minor>.<patch>
<major>.<minor>.<patch>-<YYYYMMDD>
(date of build)The date suffix allows pinning to a particular build of Annif's Docker image (assuming only one build per day), which is necessary also to retain a tag on an image, which would otherwise be purged from the quay.io repository, making pinning with manifest digests impossible.
The date suffix is also added to the image tags when doing the (initial) image builds for Annif releases.