Skip to content

Commit 8206c18

Browse files
Release to Charmhub branch
1 parent 6d4f5d2 commit 8206c18

File tree

3 files changed

+7
-90
lines changed

3 files changed

+7
-90
lines changed

.github/workflows/check_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
paths-ignore:
@@ -23,46 +19,18 @@ on:
2319
value: ${{ jobs.build.outputs.artifact-prefix }}
2420

2521
jobs:
26-
lint:
27-
name: Lint
28-
runs-on: ubuntu-latest
29-
timeout-minutes: 5
30-
steps:
31-
- name: Checkout
32-
uses: actions/checkout@v5
33-
- name: Install tox & poetry
34-
run: |
35-
pipx install tox
36-
pipx install poetry
37-
- name: Run linters
38-
run: tox run -e lint
39-
40-
unit-test:
41-
name: Unit test charm
42-
runs-on: ubuntu-latest
43-
timeout-minutes: 20
44-
steps:
45-
- name: Checkout
46-
uses: actions/checkout@v5
47-
- name: Install tox & poetry
48-
run: |
49-
pipx install tox
50-
pipx install poetry
51-
- name: Run tests
52-
run: tox run -e unit
53-
5422
build:
5523
name: Build charm
5624
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
5725

58-
integration-test:
59-
name: Integration test charm
26+
release:
27+
name: Release charm
6028
needs:
61-
- lint
62-
- unit-test
6329
- build
64-
uses: ./.github/workflows/integration_test.yaml
30+
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v31.0.0
6531
with:
32+
channel: 8.0/edge/test-refresh-v3-8.0.40
6633
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
67-
permissions:
68-
contents: write # Needed for Allure Report
34+
create-git-tags: false
35+
secrets:
36+
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }}

0 commit comments

Comments
 (0)