-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (48 loc) · 1.52 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Release 1.5 CI
on:
pull_request:
branches:
- v1.5
push:
branches:
- v1.5
jobs:
codeql:
name: CodeQL Analysis
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
check-libraries:
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
secrets:
CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }}
lint-report:
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
terraform-check:
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
static-analysis:
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
unit-tests-with-coverage:
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
build:
needs:
- lint-report
- static-analysis
- unit-tests-with-coverage
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
secrets: inherit
integration-test:
needs:
- build
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
publish-charm:
name: Publish Charm
needs:
- lint-report
- static-analysis
- unit-tests-with-coverage
- integration-test
if: ${{ github.ref_name == 'v1.5' }}
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
with:
track-name: 1.5
secrets:
CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }}