canonical / observability

Apache License 2.0
7 stars 11 forks source link

Means to (re)build an older version rock #49

Closed sed-i closed 1 year ago

sed-i commented 1 year ago

If for example rockcraft fails and then a new release of a workload comes out, current CI would result in having our rock tags skip a version.

jnsgruk commented 1 year ago

Not sure it's exactly the same, but when I first setup the traefik-oci-image repo, I included a manually triggered workflow where you're required to enter a version number, and then the workflow would build the image with that version and upload it as an artefact.

You could do a similar thing here where you specify a version, and then used some seddery to replace the version in the rockcraft.yaml before building :). Gets less useful as the build recipe changes, though.

Edit: forgot the link

lucabello commented 1 year ago

This is now outdated since oci-factory takes care of rebuilding the ROCKs for us!