Skip to content

feat: TELCO-948 Use track for charm publication #130

feat: TELCO-948 Use track for charm publication

feat: TELCO-948 Use track for charm publication #130

Workflow file for this run

name: Main branch CI
on:
pull_request:
branches:
- main
push:
branches:
- main
schedule:
- cron: "0 7 * * 0"
jobs:
check-libraries:
uses: canonical/sdcore-github-workflows/.github/workflows/check-libraries.yaml@main
secrets: inherit
lint-report:
uses: canonical/sdcore-github-workflows/.github/workflows/lint-report.yaml@main
static-analysis:
uses: canonical/sdcore-github-workflows/.github/workflows/static-analysis.yaml@main
unit-tests-with-coverage:
uses: canonical/sdcore-github-workflows/.github/workflows/unit-test.yaml@main
integration-test:
uses: canonical/sdcore-github-workflows/.github/workflows/integration-test.yaml@main
with:
charm-file-name: "sdcore-pcf-k8s_ubuntu-22.04-amd64.charm"
publish-charm:
name: Publish Charm
needs:
- lint-report
- static-analysis
- unit-tests-with-coverage
- integration-test
if: ${{ github.ref_name == 'main' }}
uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@main
with:
charm-file-name: "sdcore-pcf-k8s_ubuntu-22.04-amd64.charm"
track-name: 1.3

Check failure on line 43 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / Main branch CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yaml (Line: 43, Col: 19): Invalid input, track-name is not defined in the referenced workflow.
secrets: inherit