Skip to content

Commit

Permalink
Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagemaru committed Oct 4, 2024
1 parent 544079b commit 0914e8d
Show file tree
Hide file tree
Showing 17 changed files with 168 additions and 333 deletions.
54 changes: 0 additions & 54 deletions .github/actions/lint.yaml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/actions/lint_test_build_update.yaml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/actions/tests.yaml

This file was deleted.

13 changes: 9 additions & 4 deletions .github/workflows/build-int-on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@ on:
push:
branches:
- 'master'
- 'feature/cloudscale'
paths-ignore:
- '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/stzh/int/rails"
configmanagement: "gitlab.puzzle.ch/pitc_ruby/decidim-configmanagement"
image_repo: "https://harbor.puzzle.ch"
image_url: "harbor.puzzle.ch/decidim/stzh-int-rails"
configmanagement: "gitlab.puzzle.ch/pitc_ruby/decidim-configmanagement/"
configmanagement_branch: "feature/cloudscale"
kustomization_path: "./deployments/pitc-stzh-decidim-int/kustomization.yaml"
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/build-prod-on-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
release:
types:
- released
branches:
branches:
- 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/stzh/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 }}
59 changes: 0 additions & 59 deletions .github/workflows/old/code-style-review.yaml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/old/rails-tests.yaml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/old/sbom.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
images:
description: 'Images arguments for docker/metadata-action'
type: string
required: false
required: true
flavor:
description: 'Flavor argument for docker/metadata-action'
type: string
Expand All @@ -41,9 +41,11 @@ on:
description: List of set tags
value: ${{ jobs.build.outputs.tags }}
labels:
description:
description: Label output
value: ${{ jobs.build.outputs.labels }}
json: ${{ jobs.build.outputs.json }}
json:
description: JSON output
value: ${{ jobs.build.outputs.json }}

jobs:
build:
Expand Down
File renamed without changes.
Loading

0 comments on commit 0914e8d

Please sign in to comment.