Skip to content

Commit

Permalink
ci: update workflows directory
Browse files Browse the repository at this point in the history
To bring the latest changes that work with the CI.
  • Loading branch information
DnPlas committed Aug 16, 2024
1 parent 6a92521 commit 94af46d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 25 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,12 @@ jobs:
uses: charmed-kubernetes/actions-operator@main
with:
provider: microk8s
channel: 1.24/stable
# Pinned until this bug is resolved: https://bugs.launchpad.net/juju/+bug/1992833
bootstrap-options: "--agent-version=2.9.34"
microk8s-addons: "dns storage rbac metallb:10.64.140.43-10.64.140.49"
channel: 1.29-strict/stable
juju-channel: 3.4/stable
charmcraft-channel: latest/candidate

- name: Test
run: sg microk8s -c "tox -vve integration -- --model testing"
run: sg snap_microk8s -c "tox -vve integration -- --model testing"

# On failure, capture debugging resources
- name: Get all
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/issues_to_jira.yaml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
ref: ${{ inputs.source_branch }}

- name: Select charmhub channel
uses: canonical/charming-actions/channel@2.2.3
uses: canonical/charming-actions/channel@2.6.2
id: select-channel
if: ${{ inputs.destination_channel == '' }}

Expand All @@ -84,10 +84,11 @@ jobs:
echo "::set-output name=tag_prefix::$tag_prefix"
- name: Upload charm to charmhub
uses: canonical/charming-actions/upload-charm@2.2.3
uses: canonical/charming-actions/upload-charm@2.6.2
with:
credentials: ${{ secrets.CHARMCRAFT_CREDENTIALS }}
github-token: ${{ secrets.GITHUB_TOKEN }}
charm-path: ${{ matrix.charm-path }}
channel: ${{ steps.parse-inputs.outputs.destination_channel }}
tag-prefix: ${{ steps.parse-inputs.outputs.tag_prefix }}
charmcraft-channel: latest/candidate
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Release charm to channel
uses: canonical/charming-actions/release-charm@2.2.3
uses: canonical/charming-actions/release-charm@2.6.2
with:
credentials: ${{ secrets.CHARMCRAFT_CREDENTIALS }}
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 94af46d

Please sign in to comment.