Skip to content

Commit

Permalink
build: migrate to the python plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Oct 18, 2024
1 parent 7163bc2 commit e3501b7
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,18 @@ platforms:
amd64:

parts:
charm:
zinc-charm:
plugin: python
source: .
override-pull: |
craftctl default
rustup toolchain install stable
make generate-requirements
python-requirements:
- requirements.txt
build-snaps:
- rustup
- astral-uv
override-build: |
rustup toolchain install stable
make generate-requirements
craftctl default
prime:
- -*.charm
- -spread.yaml
- -rockcraft.yaml
- -.venv
- -CONTRIBUTING.md
- -Makefile
- -pyproject.toml
- -README.md
- -requirements-dev.txt
- -scripts/
- -tests/
- -uv.lock
- -src/zinc_k8s_operator.egg-info

assumes:
- juju >= 3.1
Expand Down

0 comments on commit e3501b7

Please sign in to comment.