From 81d5e48cb9dc3a4fa13a20f17a11e620c4ba34fb Mon Sep 17 00:00:00 2001 From: Serverless QE Robot <86025630+serverless-qe@users.noreply.github.com> Date: Thu, 6 Mar 2025 15:10:23 +0100 Subject: [PATCH] [release-v1.16] Sync Konflux configurations (#240) Co-authored-by: serverless-qe --- .github/workflows/dependabot-deps.yaml | 44 +++++++++++++++++++ ...ge-plugins-eventmesh-116-pull-request.yaml | 2 +- ...-backstage-plugins-eventmesh-116-push.yaml | 2 +- ...tage-plugins-migrate-116-pull-request.yaml | 2 +- ...kn-backstage-plugins-migrate-116-push.yaml | 2 +- ...ugins-test-eventshub-116-pull-request.yaml | 2 +- ...stage-plugins-test-eventshub-116-push.yaml | 2 +- 7 files changed, 50 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/dependabot-deps.yaml diff --git a/.github/workflows/dependabot-deps.yaml b/.github/workflows/dependabot-deps.yaml new file mode 100644 index 00000000..eb1c4b62 --- /dev/null +++ b/.github/workflows/dependabot-deps.yaml @@ -0,0 +1,44 @@ + +name: Dependabot + +on: + pull_request: + +permissions: + contents: write + +jobs: + update-deps: + name: Update deps + runs-on: ubuntu-latest + if: ${{ github.actor == 'dependabot[bot]' }} + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} + path: ./src/github.com/${{ github.repository }} + fetch-depth: 0 + + - name: Setup Golang + uses: openshift-knative/hack/actions/setup-go@main + + - name: Install yq + run: | + go install github.com/mikefarah/yq/v3@latest + + - name: Generate files + working-directory: ./src/github.com/${{ github.repository }} + run: make generate-release + + - name: git push + working-directory: ./src/github.com/${{ github.repository }} + run: | + if ! git diff --exit-code --quiet + then + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git add . + git commit -m "Run make generate-release" + git push + fi diff --git a/.tekton/kn-backstage-plugins-eventmesh-116-pull-request.yaml b/.tekton/kn-backstage-plugins-eventmesh-116-pull-request.yaml index bead9297..10dafaff 100755 --- a/.tekton/kn-backstage-plugins-eventmesh-116-pull-request.yaml +++ b/.tekton/kn-backstage-plugins-eventmesh-116-pull-request.yaml @@ -21,7 +21,7 @@ spec: value: openshift/ci-operator/knative-images/eventmesh/Dockerfile - name: build-args value: - - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22 + - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23 - GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal - JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21 - JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime diff --git a/.tekton/kn-backstage-plugins-eventmesh-116-push.yaml b/.tekton/kn-backstage-plugins-eventmesh-116-push.yaml index 57677d96..d43a5df4 100755 --- a/.tekton/kn-backstage-plugins-eventmesh-116-push.yaml +++ b/.tekton/kn-backstage-plugins-eventmesh-116-push.yaml @@ -20,7 +20,7 @@ spec: value: openshift/ci-operator/knative-images/eventmesh/Dockerfile - name: build-args value: - - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22 + - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23 - GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal - JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21 - JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime diff --git a/.tekton/kn-backstage-plugins-migrate-116-pull-request.yaml b/.tekton/kn-backstage-plugins-migrate-116-pull-request.yaml index 046fa1cf..30805f2e 100755 --- a/.tekton/kn-backstage-plugins-migrate-116-pull-request.yaml +++ b/.tekton/kn-backstage-plugins-migrate-116-pull-request.yaml @@ -21,7 +21,7 @@ spec: value: openshift/ci-operator/knative-images/migrate/Dockerfile - name: build-args value: - - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22 + - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23 - GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal - JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21 - JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime diff --git a/.tekton/kn-backstage-plugins-migrate-116-push.yaml b/.tekton/kn-backstage-plugins-migrate-116-push.yaml index 55d9c9b3..399dfef5 100755 --- a/.tekton/kn-backstage-plugins-migrate-116-push.yaml +++ b/.tekton/kn-backstage-plugins-migrate-116-push.yaml @@ -20,7 +20,7 @@ spec: value: openshift/ci-operator/knative-images/migrate/Dockerfile - name: build-args value: - - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22 + - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23 - GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal - JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21 - JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime diff --git a/.tekton/kn-backstage-plugins-test-eventshub-116-pull-request.yaml b/.tekton/kn-backstage-plugins-test-eventshub-116-pull-request.yaml index 6e6bcab1..76a9d642 100755 --- a/.tekton/kn-backstage-plugins-test-eventshub-116-pull-request.yaml +++ b/.tekton/kn-backstage-plugins-test-eventshub-116-pull-request.yaml @@ -21,7 +21,7 @@ spec: value: openshift/ci-operator/knative-test-images/eventshub/Dockerfile - name: build-args value: - - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22 + - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23 - GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal - JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21 - JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime diff --git a/.tekton/kn-backstage-plugins-test-eventshub-116-push.yaml b/.tekton/kn-backstage-plugins-test-eventshub-116-push.yaml index 43e8b49f..b1e9b193 100755 --- a/.tekton/kn-backstage-plugins-test-eventshub-116-push.yaml +++ b/.tekton/kn-backstage-plugins-test-eventshub-116-push.yaml @@ -20,7 +20,7 @@ spec: value: openshift/ci-operator/knative-test-images/eventshub/Dockerfile - name: build-args value: - - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22 + - GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23 - GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal - JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21 - JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime