From dc17c6c4b3f1c5196135e9efc3c18ee018a6f3ba Mon Sep 17 00:00:00 2001 From: Chai Bot Date: Mon, 14 Sep 2026 14:48:30 +0000 Subject: [PATCH] Boilerplate: Update to 195c29d18279f69ea5b4e53ae9d90a795c27144a Conventions: - openshift/golang-osd-operator: Update - openshift/golang-osd-e2e: Update --- https://github.com/openshift/boilerplate/compare/b361d1a597f5a3a840ccea7efd40dc92f8cfa789...195c29d18279f69ea5b4e53ae9d90a795c27144a commit: be413df8469c8c1789fb3f0013916d15968cc570 author: red-hat-konflux[bot] chore(deps): update konflux references Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> commit: 33ccfb0cc3a8704c62b9305465a057d088e1d85c author: red-hat-konflux[bot] chore(deps): update registry.access.redhat.com/ubi9 docker tag to v9.8-1788939089 Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> commit: 70aee561a8eed2139e62363447caafb10331587e author: Josh Branham Enable automated UBI9 image updates commit: 84a9e4c8a7d5363056053e0a5965b33886418343 author: red-hat-konflux[bot] chore(deps): update konflux references to v0.10.3 Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> commit: 7af05f59f68125577dd4aac14d0a07140ade0403 author: red-hat-konflux[bot] chore(deps): update konflux references Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> commit: 80db9f27d258fbb84d4bc839002d892158094243 author: red-hat-konflux[bot] chore(deps): update registry.access.redhat.com/ubi8/ubi-minimal:latest docker digest to 4e4bb2f Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> commit: 1ed0c95a095ebad96b28569a840d73f3732f9534 author: red-hat-konflux[bot] chore(deps): update konflux references to fa53ef4 Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> commit: 10c6c2336ba6c6a2895531dd483a2f63d6e868e1 author: red-hat-konflux[bot] chore(deps): update konflux references Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> commit: bce175bc09f812c536e13f776097936797c88704 author: Bo Meng One time sync for custom CodeRabbit configuration commit: 39b903e8c5db27cee7bb5b2dcce9ff4b5a07da5e author: red-hat-konflux[bot] chore(deps): update konflux references Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> commit: c678988174f35841a156cc2bba88d043b84cea9f author: red-hat-konflux[bot] chore(deps): update registry.access.redhat.com/ubi8/ubi-minimal:latest docker digest to d9beb74 Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> commit: 1542cb9a6f953091ea36868f18ef42542103dba7 author: Bo Meng Add shared CodeRabbit configuration --- ...etadata-operator-agentic-sdlc-check-pull-request.yaml | 2 +- boilerplate/_data/last-boilerplate-commit | 2 +- boilerplate/openshift/golang-osd-e2e/.coderabbit.yaml | 5 +++++ boilerplate/openshift/golang-osd-e2e/update | 8 ++++++++ .../openshift/golang-osd-operator/.coderabbit.yaml | 5 +++++ boilerplate/openshift/golang-osd-operator/update | 9 +++++++++ build/Dockerfile | 2 +- build/Dockerfile.olm-registry | 2 +- 8 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 boilerplate/openshift/golang-osd-e2e/.coderabbit.yaml create mode 100644 boilerplate/openshift/golang-osd-operator/.coderabbit.yaml diff --git a/.tekton/managed-node-metadata-operator-agentic-sdlc-check-pull-request.yaml b/.tekton/managed-node-metadata-operator-agentic-sdlc-check-pull-request.yaml index f9ac779f..b88a1c3a 100644 --- a/.tekton/managed-node-metadata-operator-agentic-sdlc-check-pull-request.yaml +++ b/.tekton/managed-node-metadata-operator-agentic-sdlc-check-pull-request.yaml @@ -43,7 +43,7 @@ spec: - name: url value: https://github.com/openshift/boilerplate - name: revision - value: b361d1a597f5a3a840ccea7efd40dc92f8cfa789 + value: 195c29d18279f69ea5b4e53ae9d90a795c27144a - name: pathInRepo value: pipelines/agentic-sdlc-check/pipeline.yaml status: {} diff --git a/boilerplate/_data/last-boilerplate-commit b/boilerplate/_data/last-boilerplate-commit index 1d4e057b..db9c1a3d 100644 --- a/boilerplate/_data/last-boilerplate-commit +++ b/boilerplate/_data/last-boilerplate-commit @@ -1 +1 @@ -b361d1a597f5a3a840ccea7efd40dc92f8cfa789 +195c29d18279f69ea5b4e53ae9d90a795c27144a diff --git a/boilerplate/openshift/golang-osd-e2e/.coderabbit.yaml b/boilerplate/openshift/golang-osd-e2e/.coderabbit.yaml new file mode 100644 index 00000000..e4fdc1ba --- /dev/null +++ b/boilerplate/openshift/golang-osd-e2e/.coderabbit.yaml @@ -0,0 +1,5 @@ +inheritance: true +reviews: + path_filters: + # Boilerplate-managed: skip review of boilerplate changes + - "!boilerplate/**" diff --git a/boilerplate/openshift/golang-osd-e2e/update b/boilerplate/openshift/golang-osd-e2e/update index fbd86675..4e3a06aa 100755 --- a/boilerplate/openshift/golang-osd-e2e/update +++ b/boilerplate/openshift/golang-osd-e2e/update @@ -10,6 +10,14 @@ source $CONVENTION_ROOT/_lib/common.sh # Expect POST [[ "$1" == "POST" ]] || err "Got a parameter I don't understand: '$1'. Did the infrastructure change?" +# Seed CodeRabbit configuration without overwriting repo customizations. +if [[ ! -f "${REPO_ROOT}/.coderabbit.yaml" ]]; then + echo "Copying .coderabbit.yaml to your repository root." + cp "${HERE}/.coderabbit.yaml" "${REPO_ROOT}/.coderabbit.yaml" +else + echo ".coderabbit.yaml already exists; leaving it unchanged." +fi + REPO_ROOT=$(git rev-parse --show-toplevel) OPERATOR_NAME=$(sed -n 's/.*OperatorName .*=.*"\([^"]*\)".*/\1/p' "${REPO_ROOT}/config/config.go") GO_MODULE_PATH=$(awk '/^module / { print $2; exit }' "${REPO_ROOT}/go.mod") diff --git a/boilerplate/openshift/golang-osd-operator/.coderabbit.yaml b/boilerplate/openshift/golang-osd-operator/.coderabbit.yaml new file mode 100644 index 00000000..e4fdc1ba --- /dev/null +++ b/boilerplate/openshift/golang-osd-operator/.coderabbit.yaml @@ -0,0 +1,5 @@ +inheritance: true +reviews: + path_filters: + # Boilerplate-managed: skip review of boilerplate changes + - "!boilerplate/**" diff --git a/boilerplate/openshift/golang-osd-operator/update b/boilerplate/openshift/golang-osd-operator/update index ff479267..0318348d 100755 --- a/boilerplate/openshift/golang-osd-operator/update +++ b/boilerplate/openshift/golang-osd-operator/update @@ -14,6 +14,15 @@ source $CONVENTION_ROOT/_lib/common.sh echo "Copying .codecov.yml to your repository root." cp ${HERE}/.codecov.yml $REPO_ROOT +# Seed CodeRabbit configuration without overwriting repo customizations. +CODERABBIT_CONFIG="${REPO_ROOT}/.coderabbit.yaml" +if [[ ! -f "${CODERABBIT_CONFIG}" ]]; then + echo "Copying .coderabbit.yaml to your repository root." + cp "${HERE}/.coderabbit.yaml" "${CODERABBIT_CONFIG}" +else + echo ".coderabbit.yaml already exists; leaving it unchanged." +fi + # Add OWNERS_ALIASES to $REPO_ROOT echo "Copying OWNERS_ALIASES to your repository root." cp -L ${HERE}/OWNERS_ALIASES $REPO_ROOT diff --git a/build/Dockerfile b/build/Dockerfile index e40bb7c3..ba3d808c 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -18,7 +18,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -mod=mod -a -o # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM registry.access.redhat.com/ubi9/ubi-minimal:9.8-1788166357 +FROM registry.access.redhat.com/ubi9/ubi-minimal:9.8-1789349365 ENV USER_UID=1001 \ USER_NAME=managed-node-metadata-operator diff --git a/build/Dockerfile.olm-registry b/build/Dockerfile.olm-registry index 08bf2be5..1ef66c46 100644 --- a/build/Dockerfile.olm-registry +++ b/build/Dockerfile.olm-registry @@ -4,7 +4,7 @@ COPY ${SAAS_OPERATOR_DIR} manifests RUN initializer --permissive # ubi-micro does not work for clusters with fips enabled unless we make OpenSSL available -FROM registry.access.redhat.com/ubi9/ubi-minimal:9.8-1788166357 +FROM registry.access.redhat.com/ubi9/ubi-minimal:9.8-1789349365 COPY --from=builder /bin/registry-server /bin/registry-server COPY --from=builder /bin/grpc_health_probe /bin/grpc_health_probe