← Back to issue list

feat: charmcraft actions

View original Github issue

Metadata

Project
craft-actions
Number
#31
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged in commit 91513c1, adding charmcraft/setup to install Charmcraft and LXD and charmcraft/pack to run setup and package charms.

Resolution: closed resolved

Reason: PR #31 was approved and merged as commit 91513c1, delivering both requested Charmcraft actions.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This adds two Charmcraft-related actions: - `charmcraft/setup`, which installs Charmcraft and lxd as appropriate - `charmcraft/pack`, which runs `charmcraft/setup` but also packs Charmcraft. The setup action is separate for two reasons: 1. To provide users a way to install Charmcraft in order to run their own charmcraft commands (e.g. `charmcraft publish-lib`) 2. In order to reuse it in future Charmcraft actions. This was created as a side-effect of https://github.com/canonical/charmcraft/issues/1431.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in commit 91513c1, adding charmcraft/setup to install Charmcraft and LXD and charmcraft/pack to run setup and package charms.
stealth/space-bunny-alpha — closed resolved Merged PR #31 (commit 91513c1), adding charmcraft/setup to install Charmcraft/LXD and charmcraft/pack to set up Charmcraft and pack charms.
qwen/qwen3.6-35b-a3b — — Merged changes adding two GitHub Actions: charmcraft/setup installs Charmcraft and LXD, while charmcraft/pack builds charms. Approved by two reviewers with passing CI checks, the update adds 299 lines across six files to streamline workflows.

Update history

No update history recorded yet.

Related work

  • Caused By: canonical/charmcraft#1431 (confidence 100%)

    The PR identifies this upstream Charmcraft issue as the motivation for the new actions.

Related issues

Issue Project State Summary Similarity
#4 feat: add charmcraft build plans craft-platforms merged Merged charmcraft build-plan support and supporting build-plan utilities in canonical/craft-platforms#4 via commit efa325b.
76%
#91 First pass at 'charmcraft init' charmcraft merged Merged PR #91 delivered the first non-interactive charmcraft init scaffolding implementation; README improvements, extra options, and prompts were deferred (commit 0ebd9f87).
74%
#36 'charmcraft build' should pull in actions.yaml and config.yaml charmcraft merged Merged PR #36 as commit a8cdb744, making charmcraft build automatically include actions.yaml and config.yaml in charm builds.
74%
#439 [docs] how to run charmcraft as part of a CI? charmcraft closed Closed as addressed: canonical/craft-actions#31 (commit 91513c1) added Charmcraft setup and pack actions, and a maintainer confirmed CI packing and publishing were now supported.
73%
#1149 command: charmcraft init to use charmcraft.yaml only charmcraft merged Merged in ca4df024: charmcraft init now generates a unified charmcraft.yaml containing metadata, actions, and config, with profile descriptions and an updated URL.
72%
#1114 config: support use actions in charmcraft.yaml charmcraft merged Merged #1114 as commit 201b40f6, enabling actions in charmcraft.yaml and refactoring configuration models to avoid circular imports.
72%
#2111 feat: add improved bash completion script charmcraft merged Merged charmcraft#2111 in commit d5a4b704, replacing Charmcraft’s legacy Bash completion with an improved script generated through craft-cli completion tooling.
72%
#49 ci: test the charmcraft actions in more places craft-actions merged Merged PR #49 in commit a8e5310, expanding Charmcraft action CI coverage across more Ubuntu architectures, channels, and pinned-revision runs.
72%
#925 providers: set lxd project to 'charmcraft' charmcraft merged Merged PR #925 in d82b9bb8, fixing the LXD provider regression by using the charmcraft project instead of default.
71%
#1546 feat: remote build command charmcraft merged Merged PR #1546 as df5e9c4f, adding Charmcraft 3's remote-build command; bundle builds were addressed separately by merged PR #1550 (c73fd609).
70%