Skip to content

Commit

Permalink
Adapt netbox to paas-app-charmer 1.3.1 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
javierdelapuente authored Oct 11, 2024
1 parent b1601ef commit 9ca5a43
Show file tree
Hide file tree
Showing 17 changed files with 4,516 additions and 703 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ jobs:
extra-arguments: -x --localstack-address 172.17.0.1
pre-run-script: ./charm/localstack-installation.sh
trivy-image-config: "trivy.yaml"
juju-channel: 3.1/stable
channel: 1.28-strict/stable
juju-channel: 3.5/stable
channel: 1.31-strict/stable
rockcraft-channel: latest/edge
charmcraft-repository: jdkandersson/charmcraft
charmcraft-ref: feature/12f
charmcraft-channel: latest/edge
charm-directory: "charm"
6 changes: 5 additions & 1 deletion .github/workflows/publish_charm.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: Publish to edge

on:
workflow_dispatch:
push:
branches:
- main
- track/*

jobs:
publish-to-edge:
uses: canonical/operator-workflows/.github/workflows/publish_charm.yaml@main
secrets: inherit
with:
channel: latest/edge
charmcraft-channel: "latest/edge"
resource-mapping: '{"netbox": "django-app-image"}'
4 changes: 2 additions & 2 deletions charm/cloudinit-juju-3.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ packages:

snap:
commands:
- snap install juju --channel=3.1/stable
- snap install microk8s --channel 1.29-strict/stable
- snap install juju --channel=3.5/stable
- snap install microk8s --channel 1.31-strict/stable
- snap alias microk8s.kubectl kubectl
- snap alias microk8s.kubectl k
- snap install yq
Expand Down
Loading

0 comments on commit 9ca5a43

Please sign in to comment.