Skip to content

chore: Update CI to use charmcraftcache - #174

Merged
mvlassis merged 5 commits into
mainfrom
cachifier/use-charmcraftcache
May 28, 2026
Merged

mvlassis merged 5 commits into
mainfrom
cachifier/use-charmcraftcache

Conversation

@mvlassis

Copy link
Copy Markdown
Contributor

Summary

This PR updates the CI to utilize charmcraftcache, by using actions from data-platform-workflows. The ci.yaml is very similar to the structure we have in our multi-repo charms, for example see https://github.com/canonical/knative-operators/blob/main/.github/workflows/ci.yaml.

Base issue: canonical/bundle-kubeflow#1429

@mvlassis
mvlassis requested a review from a team May 22, 2026 19:32
@ckfbot

ckfbot commented May 25, 2026

Copy link
Copy Markdown

🤖 Backport labels populated

Labels to this pull request were added automatically by the populate-labels.yaml action.

When the PR is merged, backport PRs according to the labels will be automatically created. To skip the backport creation, remove any unneeded labels before merging the PR.

@mvlassis mvlassis closed this May 26, 2026
@mvlassis mvlassis reopened this May 26, 2026
@ckfbot

ckfbot commented May 26, 2026

Copy link
Copy Markdown

🤖 Backport labels populated

Labels to this pull request were added automatically by the populate-labels.yaml action.

When the PR is merged, backport PRs according to the labels will be automatically created. To skip the backport creation, remove any unneeded labels before merging the PR.

mvlassis added 2 commits May 27, 2026 11:18
The ci.yaml reusable workflow's build and release jobs request
'actions: read' (needed by charmcraftcache), but the caller job
in release.yaml did not grant this permission, causing a startup
failure. Add permissions: actions: read to the ci-tests job.
@mvlassis
mvlassis merged commit d15f0a8 into main May 28, 2026
11 checks passed
@mvlassis
mvlassis deleted the cachifier/use-charmcraftcache branch May 28, 2026 08:18
@ckfbot

ckfbot commented May 28, 2026

Copy link
Copy Markdown

Successfully created backport PR for track/ckf-1.10:

mvlassis added a commit that referenced this pull request May 28, 2026
* chore: Update CI to use charmcraftcache

* Add back on_pull_request.yaml for backport label population

* ci: always collect juju status

* fix: Grant actions: read to ci-tests job in release workflow

The ci.yaml reusable workflow's build and release jobs request
'actions: read' (needed by charmcraftcache), but the caller job
in release.yaml did not grant this permission, causing a startup
failure. Add permissions: actions: read to the ci-tests job.

* fix: Grant contents: read to ci-tests job in release workflow

(cherry picked from commit d15f0a8)

Co-authored-by: Manos Vlassis <57320708+mvlassis@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants