Skip to content

Commit

Permalink
Fix Release Pipeline (#38)
Browse files Browse the repository at this point in the history
# PR
## Proposal
Update pipeline runner to jammy so charmcraft can build the charm. 

## Context
Currently, the charm [can't be released](https://github.com/canonical/pgbouncer-operator/actions/runs/3487511396/jobs/5838224654) because there's no good base on which to build the charm. Building a charm on jammy seems to require a jammy substrate, so I've updated the CI to use 22.04

## Testing
- I've tested this locally, and I'm currently testing building and running a jammy charm in a 20.04 VM.  
- I'm struggling on how to verify the release action locally, so if anyone has any ideas I'd appreciate it :) 

## Commits
* updated pipeline runner to jammy

* updated build and run lxd versions

* reverted build to 22.04
  • Loading branch information
Will Fitch authored Nov 18, 2022
1 parent f692843 commit 626a8f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -17,7 +17,7 @@ jobs:

unit-test:
name: Unit tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -31,7 +31,7 @@ jobs:
needs:
- lint
- unit-test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -48,7 +48,7 @@ jobs:
needs:
- lint
- unit-test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -65,7 +65,7 @@ jobs:
needs:
- lint
- unit-test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -83,7 +83,7 @@ jobs:
needs:
- lint
- unit-test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
lib-check:
name: Check libraries
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -30,10 +30,10 @@ jobs:
needs:
- lib-check
- ci
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Select charmhub channel
Expand Down

0 comments on commit 626a8f3

Please sign in to comment.