Skip to content

Commit

Permalink
test: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kayra1 committed Oct 2, 2024
1 parent e73b72d commit cdb7455
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ on:

jobs:
build-rock:
runs-on: ubuntu-22.04
steps:
- name: Build rock
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
name: Build rock
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
4 changes: 0 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,14 @@ concurrency:
cancel-in-progress: true

jobs:

build:
uses: ./.github/workflows/build-rock.yaml

scan:
needs: build
uses: ./.github/workflows/scan-rock.yaml

integration-tests:
needs: build
uses: ./.github/workflows/integration-tests.yaml

publish:
if: github.ref_name == 'main' || startsWith(github.ref_name, 'release-')
needs: [scan, build, integration-tests]
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/publish-rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ on:

jobs:
publish-rock:
runs-on: ubuntu-22.04
steps:
- name: Publish rock
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
with:
artifact-prefix: ${{ needs.go-build.outputs.artifact-prefix }}
permissions:
packages: write
contents: write
name: Publish rock
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
with:
artifact-prefix: ${{ needs.go-build.outputs.artifact-prefix }}
permissions:
packages: write
contents: write

0 comments on commit cdb7455

Please sign in to comment.