Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autobumper upgrade #262

Merged
merged 2 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions images/generic-autobumper/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
14 changes: 14 additions & 0 deletions images/generic-autobumper/autobumper_config.yaml
Original file line number Diff line number Diff line change
@@ -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