Skip to content

Commit

Permalink
Merge branch 'main' into cleanup_ko
Browse files Browse the repository at this point in the history
  • Loading branch information
akiioto authored Oct 3, 2024
2 parents 0bbc9e8 + b081704 commit 9beb429
Show file tree
Hide file tree
Showing 93 changed files with 1,516 additions and 771 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-automated-approver.yml
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 }}"
34 changes: 34 additions & 0 deletions .github/workflows/build-clusterscollector.yml
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 }}"
34 changes: 34 additions & 0 deletions .github/workflows/build-cors-proxy.yml
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 }}"
34 changes: 34 additions & 0 deletions .github/workflows/build-create-github-issue.yml
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 }}"
34 changes: 34 additions & 0 deletions .github/workflows/build-dashboard-token-proxy.yml
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 }}"
34 changes: 34 additions & 0 deletions .github/workflows/build-diskscollector.yml
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 }}"
34 changes: 34 additions & 0 deletions .github/workflows/build-dnscollector.yml
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 }}"
34 changes: 34 additions & 0 deletions .github/workflows/build-externalsecretschecker.yml
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 }}"
34 changes: 34 additions & 0 deletions .github/workflows/build-gcscleaner.yml
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 }}"
34 changes: 34 additions & 0 deletions .github/workflows/build-github-webhook-gateway.yml
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 }}"
34 changes: 34 additions & 0 deletions .github/workflows/build-image-url-helper.yml
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 }}"
Loading

0 comments on commit 9beb429

Please sign in to comment.