Skip to content

Commit

Permalink
Move reusable workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagemaru committed Jul 23, 2024
1 parent d496e64 commit de9972d
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-int-on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ on:
- 'doc/**'
- '**.md'
jobs:
build_image:
uses: ./.github/actions/lint_test_build_update.yaml
build-image:
uses: ./.github/workflows/reusable_lint_test_build_update.yaml
with:
image_repo: "harbor.puzzle.ch/decidim/stlu/int/rails"
configmanagement: "gitlab.puzzle.ch/pitc_ruby/decidim-configmanagement"
kustomization_path: "./deployments/pitc-stlu-decidim-int/kustomization.yaml"


2 changes: 1 addition & 1 deletion .github/workflows/build-prod-on-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- master
jobs:
build_image:
uses: ./.github/actions/lint_test_build_update.yaml
uses: ./.github/workflows/lint_test_build_update.yaml
secrets: inherit
with:
image_repo: "harbor.puzzle.ch/decidim/stlu/prod/rails"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
uses: ./.github/actions/build.yaml
uses: ./.github/workflows/reusable_build.yaml
secrets: inherit
with:
repository_url: ${{ inputs.image_repo }}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ on:

jobs:
lint:
uses: ./.github/actions/lint.yaml
uses: ./.github/workflows/reusable_lint.yaml
test:
uses: ./.github/actions/tests.yaml
uses: ./.github/workflows/reusable_tests.yaml
build:
needs: [lint, test]
uses: ./.github/actions/build.yaml
uses: ./.github/workflows/reusable_build.yaml
secrets: inherit
with:
repository_url: ${{ inputs.image_repo }}
update_tag:
needs: [build]
uses: ./.github/actions/update_image.yaml
uses: ./.github/workflows/reusable_update_image.yaml
secrets: inherit
with:
repository: ${{ inputs.configmanagement }}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit de9972d

Please sign in to comment.