From 3a633d8560b19f985ba0a03d4d4191dfa74a413e Mon Sep 17 00:00:00 2001 From: Rado Chmiel Date: Fri, 26 Apr 2024 21:57:42 +0200 Subject: [PATCH 1/2] Autobumper upgrade --- images/generic-autobumper/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/images/generic-autobumper/Dockerfile b/images/generic-autobumper/Dockerfile index 1d701716..c4ae1802 100644 --- a/images/generic-autobumper/Dockerfile +++ b/images/generic-autobumper/Dockerfile @@ -1,10 +1,10 @@ -FROM golang:1.18 as builder -RUN git clone --depth 1 https://github.com/kubernetes/test-infra.git /opt/test-infra +FROM golang:1.22 as builder +RUN git clone --depth 1 https://github.com/kubernetes-sigs/prow.git /opt/prow -WORKDIR /opt/test-infra -RUN CGO_ENABLED=0 go build -o /tmp/ ./prow/cmd/generic-autobumper/... +WORKDIR /opt/prow +RUN CGO_ENABLED=0 go build -o /tmp/ ./cmd/generic-autobumper/... -FROM gcr.io/distroless/static-debian11@sha256:6706c73aae2afaa8201d63cc3dda48753c09bcd6c300762251065c0f7e602b25 +FROM gcr.io/distroless/static-debian12@sha256:262ae336f8e9291f8edc9a71a61d5d568466edc1ea4818752d4af3d230a7f9ef COPY --from=builder /tmp/generic-autobumper / CMD ["/generic-autobumper"] From b3e1206e4f25e107eb0153b4db895edd7603041c Mon Sep 17 00:00:00 2001 From: Rado Chmiel Date: Tue, 30 Apr 2024 12:20:35 +0200 Subject: [PATCH 2/2] Adding external config for autobumper --- images/generic-autobumper/autobumper_config.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 images/generic-autobumper/autobumper_config.yaml diff --git a/images/generic-autobumper/autobumper_config.yaml b/images/generic-autobumper/autobumper_config.yaml new file mode 100644 index 00000000..09d560d8 --- /dev/null +++ b/images/generic-autobumper/autobumper_config.yaml @@ -0,0 +1,14 @@ +gitHubToken: "/etc/github/token" +skipPullRequest: false +gitHubOrg: "nephio-project" +gitHubRepo: "test-infra" +remoteName: "test-infra" +includedConfigPaths: + - "prow/config" + - "prow/cluster" +targetVersion: "latest" +prefixes: +- name: "k8s-prow images" + prefix: "gcr.io/k8s-prow/" + repo: "https://github.com/nephio-project/test-infra" + summarise: false