-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Notice how our release-branch CI needs to point to a fixed commit of the operator-workflows
Here:
https://github.com/canonical/k8s-operator/blob/release-1.32/.github/workflows/publish-charms.yaml#L44
publish-to-edge:
needs: [configure-channel, charmcraft-channel]
uses: canonical/operator-workflows/.github/workflows/publish_charm.yaml@e848763f1e14d3169781fe95b4b896399a1a8a92
strategy:
matrix:
charm:
- { path: ./charms/worker/k8s/, tagPrefix: k8s }
- { path: ./charms/worker/, tagPrefix: k8s-worker }
arch:
- amd64
- arm64the publish_charm at that commit
| - uses: canonical/operator-workflows/internal/publish@main |
references @main
publish-charm:
name: Publish charm to ${{ inputs.channel || needs.select-channel.outputs.destination-channel }}
runs-on: ubuntu-latest
needs: [select-channel]
outputs:
charm-directory: ${{ steps.publish.outputs.charm-directory }}
steps:
- uses: actions/[email protected]
- run: sudo snap install charmcraft --channel ${{ inputs.charmcraft-channel }} --classic
# required to use skopeo embedded within rockcraft - otherwise a docker error
# "io: read/write on closed pipe" will happen
- run: sudo snap install rockcraft --classic
- uses: canonical/operator-workflows/internal/publish@mainrather than
- uses: canonical/operator-workflows/internal/publish@e848763f1e14d3169781fe95b4b896399a1a8a92This basically means you cannot use PINNED versions of the operator-workflow b/c its internally referencing workflows that are unpinned from a commit.
Metadata
Metadata
Assignees
Labels
No labels