Skip to content

Commit

Permalink
chore: use release version of sdcore github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gruyaume committed Apr 15, 2024
1 parent 2330346 commit 31fe6b2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ permissions:

jobs:
auto-merge:
uses: canonical/sdcore-github-workflows/.github/workflows/dependabot_pr.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/dependabot_pr.yaml@v0.0.1
2 changes: 1 addition & 1 deletion .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ on:
jobs:
update:
name: Update Issue
uses: canonical/sdcore-github-workflows/.github/workflows/issues.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/issues.yaml@v0.0.1
secrets:
JIRA_URL: ${{ secrets.JIRA_URL }}
18 changes: 9 additions & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ on:

jobs:
check-libraries:
uses: canonical/sdcore-github-workflows/.github/workflows/check-libraries.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/check-libraries.yaml@v0.0.1
secrets:
CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }}


lint-report:
uses: canonical/sdcore-github-workflows/.github/workflows/lint-report.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/lint-report.yaml@v0.0.1

terraform-check:
uses: canonical/sdcore-github-workflows/.github/workflows/terraform.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/terraform.yaml@v0.0.1

static-analysis:
uses: canonical/sdcore-github-workflows/.github/workflows/static-analysis.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/static-analysis.yaml@v0.0.1

unit-tests-with-coverage:
uses: canonical/sdcore-github-workflows/.github/workflows/unit-test.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/unit-test.yaml@v0.0.1

integration-test:
uses: canonical/sdcore-github-workflows/.github/workflows/integration-test.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/integration-test.yaml@v0.0.1
with:
charm-file-name: "sdcore-nrf-k8s_ubuntu-22.04-amd64.charm"

Expand All @@ -40,7 +40,7 @@ jobs:
- unit-tests-with-coverage
- integration-test
if: ${{ github.ref_name == 'main' }}
uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@v0.0.1
with:
charm-file-name: "sdcore-nrf-k8s_ubuntu-22.04-amd64.charm"
track-name: 1.4
Expand All @@ -55,7 +55,7 @@ jobs:
- unit-tests-with-coverage
- integration-test
if: ${{ (github.ref_name != 'main') && (github.event_name == 'push') }}
uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@v0.0.1
with:
branch-name: ${{ github.ref_name }}
charm-file-name: "sdcore-nrf-k8s_ubuntu-22.04-amd64.charm"
Expand All @@ -82,7 +82,7 @@ jobs:
- publish-charm
- lib-needs-publishing
if: ${{ github.ref_name == 'main' }} && ${{ needs.changes.outputs.needs-publishing == 'true' }}
uses: canonical/sdcore-github-workflows/.github/workflows/publish-lib.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/publish-lib.yaml@v0.0.1
with:
lib-name: "charms.sdcore_nrf_k8s.v0.fiveg_nrf"
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
jobs:
promote:
name: Promote Charm
uses: canonical/sdcore-github-workflows/.github/workflows/promote.yaml@main
uses: canonical/sdcore-github-workflows/.github/workflows/promote.yaml@v0.0.1
with:
promotion: ${{ github.event.inputs.promotion }}
track-name: ${{ github.event.inputs.track-name }}
Expand Down

0 comments on commit 31fe6b2

Please sign in to comment.