Skip to content

Commit

Permalink
fix(ISD-898): Fix publish workflow and pin versions in requirements (#6)
Browse files Browse the repository at this point in the history
* fix(ISD-898): Fix publish workflow and pin versions in requirements

* fix(ISD-898): Add build packages to build the charm
  • Loading branch information
amandahla authored Jul 11, 2023
1 parent 39c3a0c commit c46af25
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish_charm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Publish to edge

on:
push:
branches:
- main

jobs:
publish-to-edge:
uses: canonical/operator-workflows/.github/workflows/publish_charm.yaml@main
secrets: inherit
with:
channel: latest/edge
20 changes: 0 additions & 20 deletions .github/workflows/test_and_publish_charm.yaml

This file was deleted.

7 changes: 7 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ bases:
run-on:
- name: ubuntu
channel: "22.04"
parts:
charm:
build-packages:
- libffi-dev # for cffi
- libssl-dev # for cryptography
- rust-all # for cryptography
- pkg-config # for cryptography
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ops>=2.0.0
jsonschema >= 4.17
juju==2.9.42.4
jsonschema == 4.17.3
pydantic==1.10.10

0 comments on commit c46af25

Please sign in to comment.