Skip to content

Commit 43e8ad7

Browse files
Release to Charmhub branch
1 parent 1504f7c commit 43e8ad7

File tree

3 files changed

+7
-90
lines changed

3 files changed

+7
-90
lines changed

.github/workflows/charm_libs.yaml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/check_pr.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
# See LICENSE file for licensing details.
33
name: Tests
44

5-
concurrency:
6-
group: ${{ github.workflow }}-${{ github.ref }}
7-
cancel-in-progress: true
8-
95
on:
106
pull_request:
117
schedule:
@@ -18,46 +14,18 @@ on:
1814
value: ${{ jobs.build.outputs.artifact-prefix }}
1915

2016
jobs:
21-
lint:
22-
name: Lint
23-
runs-on: ubuntu-latest
24-
timeout-minutes: 5
25-
steps:
26-
- name: Checkout
27-
uses: actions/checkout@v4
28-
- name: Install tox & poetry
29-
run: |
30-
pipx install tox
31-
pipx install poetry
32-
- name: Run linters
33-
run: tox run -e lint
34-
35-
unit-test:
36-
name: Unit test charm
37-
runs-on: ubuntu-22.04 # TODO: use ubuntu-latest after fixing pathlib issue on python 3.12
38-
timeout-minutes: 20
39-
steps:
40-
- name: Checkout
41-
uses: actions/checkout@v4
42-
- name: Install tox & poetry
43-
run: |
44-
pipx install tox
45-
pipx install poetry
46-
- name: Run tests
47-
run: tox run -e unit
48-
4917
build:
5018
name: Build charm
5119
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
5220

53-
integration-test:
54-
name: Integration test charm
21+
release:
22+
name: Release charm
5523
needs:
56-
- lint
57-
- unit-test
5824
- build
59-
uses: ./.github/workflows/integration_test.yaml
25+
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v31.0.0
6026
with:
27+
channel: 8.0/edge/test-refresh-v3-8.0.40
6128
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
62-
permissions:
63-
contents: write # Needed for Allure Report
29+
create-git-tags: false
30+
secrets:
31+
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }}

0 commit comments

Comments
 (0)