Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated workflow to push charm to v3 channel #1102

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .github/workflows/charm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

# Note this workflow requires a Github secret to provide auth against charmhub.
# This can be generated with the following command
# charmcraft login --export=secrets.auth --charm=<charm-name> --permission=package-manage --permission=package-view --channel=latest/edge --ttl=999999999
# charmcraft login --export=secrets.auth --charm=juju-jimm --charm=juju-jimm-k8s --permission=package-manage --permission=package-view --channel=1/edge --channel=3/edge --ttl=999999999

jobs:
ci-tests:
Expand Down Expand Up @@ -38,9 +38,7 @@ jobs:
with:
credentials: "${{ secrets.CHARMHUB_TOKEN }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
# TODO: Update the "2" below to 3 once new tracks are created
# https://discourse.charmhub.io/t/request-new-track-for-jimm-charms/12553
channel: "2/edge"
channel: "3/edge"
charm-path: "./charms/jimm-k8s"
pull-image: "false"
tag-prefix: "v2-k8s"
Expand Down Expand Up @@ -73,8 +71,6 @@ jobs:
with:
credentials: "${{ secrets.CHARMHUB_TOKEN }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
# TODO: Update the "2" below to 3 once new tracks are created
# https://discourse.charmhub.io/t/request-new-track-for-jimm-charms/12553
channel: "2/edge"
channel: "3/edge"
charm-path: "./charms/jimm"
tag-prefix: "v2-machine"
2 changes: 0 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: CI
on:
pull_request:
paths-ignore:
- '.github/**' # Skip this workflow if the only change was inside the .github folder
workflow_call:
workflow_dispatch:

Expand Down