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 7f786d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
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 7f786d9

Please sign in to comment.