Skip to content

Commit a6363c3

Browse files
Release to Charmhub branch
1 parent 6eeb9b0 commit a6363c3

File tree

3 files changed

+7
-93
lines changed

3 files changed

+7
-93
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 & 42 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,49 +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@v4
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-22.04 # TODO: use ubuntu-latest after fixing pathlib issue on python 3.12
43-
timeout-minutes: 20
44-
steps:
45-
- name: Checkout
46-
uses: actions/checkout@v4
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-
- name: Upload Coverage to Codecov
54-
uses: codecov/codecov-action@v5
55-
5622
build:
5723
name: Build charm
5824
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
5925

60-
integration-test:
61-
name: Integration test charm
26+
release:
27+
name: Release charm
6228
needs:
63-
- lint
64-
- unit-test
6529
- build
66-
uses: ./.github/workflows/integration_test.yaml
30+
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v31.0.1
6731
with:
32+
channel: dpe/edge/test-refresh-v3-8.0.40
6833
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
69-
secrets: inherit
70-
permissions:
71-
contents: write # Needed for Allure Report
34+
create-git-tags: false
35+
secrets:
36+
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }}

0 commit comments

Comments
 (0)