forked from kyma-project/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify and consolidate image building - Remove of koapps (kyma-proj…
…ect#12022) * Regenerate Dockerfiles and workflows using gen.py * delete files * upd8 * temp restore * temp restore * combined workflows * remove edited event as a trigger
- Loading branch information
1 parent
39e3d44
commit 7656fca
Showing
40 changed files
with
1,213 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build-automated-approver | ||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
paths: | ||
- "cmd/external-plugins/automated-approver/*.go" | ||
- "cmd/external-plugins/automated-approver/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "cmd/external-plugins/automated-approver/*.go" | ||
- "cmd/external-plugins/automated-approver/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
build-image: | ||
uses: ./.github/workflows/image-builder.yml | ||
with: | ||
name: automated-approver | ||
dockerfile: cmd/external-plugins/automated-approver/Dockerfile | ||
context: . | ||
print-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Print image | ||
run: echo "Image built ${{ needs.build-image.outputs.images }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build-clusterscollector | ||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
paths: | ||
- "cmd/tools/clusterscollector/*.go" | ||
- "cmd/tools/clusterscollector/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "cmd/tools/clusterscollector/*.go" | ||
- "cmd/tools/clusterscollector/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
build-image: | ||
uses: ./.github/workflows/image-builder.yml | ||
with: | ||
name: clusterscollector | ||
dockerfile: cmd/tools/clusterscollector/Dockerfile | ||
context: . | ||
print-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Print image | ||
run: echo "Image built ${{ needs.build-image.outputs.images }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build-cors-proxy | ||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
paths: | ||
- "cmd/cloud-run/cors-proxy/*.go" | ||
- "cmd/cloud-run/cors-proxy/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "cmd/cloud-run/cors-proxy/*.go" | ||
- "cmd/cloud-run/cors-proxy/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
build-image: | ||
uses: ./.github/workflows/image-builder.yml | ||
with: | ||
name: cors-proxy | ||
dockerfile: cmd/cloud-run/cors-proxy/Dockerfile | ||
context: . | ||
print-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Print image | ||
run: echo "Image built ${{ needs.build-image.outputs.images }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build-create-github-issue | ||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
paths: | ||
- "cmd/cloud-run/create-github-issue/*.go" | ||
- "cmd/cloud-run/create-github-issue/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "cmd/cloud-run/create-github-issue/*.go" | ||
- "cmd/cloud-run/create-github-issue/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
build-image: | ||
uses: ./.github/workflows/image-builder.yml | ||
with: | ||
name: create-github-issue | ||
dockerfile: cmd/cloud-run/create-github-issue/Dockerfile | ||
context: . | ||
print-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Print image | ||
run: echo "Image built ${{ needs.build-image.outputs.images }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build-dashboard-token-proxy | ||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
paths: | ||
- "cmd/dashboard-token-proxy/*.go" | ||
- "cmd/dashboard-token-proxy/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "cmd/dashboard-token-proxy/*.go" | ||
- "cmd/dashboard-token-proxy/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
build-image: | ||
uses: ./.github/workflows/image-builder.yml | ||
with: | ||
name: dashboard-token-proxy | ||
dockerfile: cmd/dashboard-token-proxy/Dockerfile | ||
context: . | ||
print-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Print image | ||
run: echo "Image built ${{ needs.build-image.outputs.images }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build-diskscollector | ||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
paths: | ||
- "cmd/tools/diskscollector/*.go" | ||
- "cmd/tools/diskscollector/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "cmd/tools/diskscollector/*.go" | ||
- "cmd/tools/diskscollector/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
build-image: | ||
uses: ./.github/workflows/image-builder.yml | ||
with: | ||
name: diskscollector | ||
dockerfile: cmd/tools/diskscollector/Dockerfile | ||
context: . | ||
print-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Print image | ||
run: echo "Image built ${{ needs.build-image.outputs.images }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build-dnscollector | ||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
paths: | ||
- "cmd/tools/dnscollector/*.go" | ||
- "cmd/tools/dnscollector/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "cmd/tools/dnscollector/*.go" | ||
- "cmd/tools/dnscollector/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
build-image: | ||
uses: ./.github/workflows/image-builder.yml | ||
with: | ||
name: dnscollector | ||
dockerfile: cmd/tools/dnscollector/Dockerfile | ||
context: . | ||
print-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Print image | ||
run: echo "Image built ${{ needs.build-image.outputs.images }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build-externalsecretschecker | ||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
paths: | ||
- "cmd/tools/externalsecretschecker/*.go" | ||
- "cmd/tools/externalsecretschecker/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "cmd/tools/externalsecretschecker/*.go" | ||
- "cmd/tools/externalsecretschecker/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
build-image: | ||
uses: ./.github/workflows/image-builder.yml | ||
with: | ||
name: externalsecretschecker | ||
dockerfile: cmd/tools/externalsecretschecker/Dockerfile | ||
context: . | ||
print-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Print image | ||
run: echo "Image built ${{ needs.build-image.outputs.images }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build-gcscleaner | ||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
paths: | ||
- "cmd/tools/gcscleaner/*.go" | ||
- "cmd/tools/gcscleaner/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "cmd/tools/gcscleaner/*.go" | ||
- "cmd/tools/gcscleaner/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
build-image: | ||
uses: ./.github/workflows/image-builder.yml | ||
with: | ||
name: gcscleaner | ||
dockerfile: cmd/tools/gcscleaner/Dockerfile | ||
context: . | ||
print-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Print image | ||
run: echo "Image built ${{ needs.build-image.outputs.images }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build-github-webhook-gateway | ||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
paths: | ||
- "cmd/cloud-run/github-webhook-gateway/*.go" | ||
- "cmd/cloud-run/github-webhook-gateway/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "cmd/cloud-run/github-webhook-gateway/*.go" | ||
- "cmd/cloud-run/github-webhook-gateway/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
build-image: | ||
uses: ./.github/workflows/image-builder.yml | ||
with: | ||
name: github-webhook-gateway | ||
dockerfile: cmd/cloud-run/github-webhook-gateway/Dockerfile | ||
context: . | ||
print-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Print image | ||
run: echo "Image built ${{ needs.build-image.outputs.images }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build-image-url-helper | ||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
paths: | ||
- "cmd/image-url-helper/*.go" | ||
- "cmd/image-url-helper/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "cmd/image-url-helper/*.go" | ||
- "cmd/image-url-helper/Dockerfile" | ||
- "pkg/**" | ||
- "go.mod" | ||
- "go.sum" | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
build-image: | ||
uses: ./.github/workflows/image-builder.yml | ||
with: | ||
name: image-url-helper | ||
dockerfile: cmd/image-url-helper/Dockerfile | ||
context: . | ||
print-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Print image | ||
run: echo "Image built ${{ needs.build-image.outputs.images }}" |
Oops, something went wrong.