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

images: Update gcb-docker-cloud image to v20210722-085d930 #2230

Merged
merged 2 commits into from
Sep 10, 2021
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
4 changes: 3 additions & 1 deletion cmd/vulndash/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

# this must be specified in seconds. If omitted, defaults to 600s (10 mins)
timeout: 1200s

# this prevents errors if you don't use both _GIT_TAG and _PULL_BASE_REF,
# or any new substitutions added in the future.
options:
substitution_option: ALLOW_LOOSE
machineType: 'N1_HIGHCPU_8'

steps:
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f'
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20210722-085d930'
entrypoint: 'bash'
dir: ./cmd/vulndash
env:
Expand Down
25 changes: 20 additions & 5 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,11 @@ dependencies:
match: \d+.\d+(alpha|beta|rc)?\.?(\d+)?

# Golang (for previous release branches 1.19/1.20)
- name: "golang (for previous release branches)"
- name: "golang (for previous release branches 1.19/1.20)"
version: 1.15.15
refPaths:
- path: images/build/cross/variants.yaml
match: \d+.\d+(alpha|beta|rc)?\.?(\d+)?
- path: images/build/go-runner/variants.yaml
match: \d+.\d+(alpha|beta|rc)?\.?(\d+)?
- path: images/releng/ci/variants.yaml
match: \d+.\d+(alpha|beta|rc)?\.?(\d+)?

Expand All @@ -317,8 +315,6 @@ dependencies:
- name: "k8s.gcr.io/build-image/go-runner (for previous release branches 1.19/1.20)"
version: v2.3.1-go1.15.15-buster.0
refPaths:
- path: images/build/go-runner/variants.yaml
match: v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)

- name: "k8s.gcr.io/build-image/go-runner: image revision (for previous release branches)"
version: 0
Expand Down Expand Up @@ -476,3 +472,22 @@ dependencies:
refPaths:
- path: images/build/setcap/variants.yaml
match: '[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)'

# Build environments
- name: "gcr.io/k8s-testimages/gcb-docker-gcloud"
version: v20210722-085d930
refPaths:
- path: cmd/vulndash/cloudbuild.yaml
match: "name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v[0-9]{8}-[a-z0-9]{7}'"
- path: images/build/cross/cloudbuild.yaml
match: "name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v[0-9]{8}-[a-z0-9]{7}'"
- path: images/build/debian-base/cloudbuild.yaml
match: "name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v[0-9]{8}-[a-z0-9]{7}'"
- path: images/build/debian-iptables/cloudbuild.yaml
match: "name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v[0-9]{8}-[a-z0-9]{7}'"
- path: images/build/go-runner/cloudbuild.yaml
match: "name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v[0-9]{8}-[a-z0-9]{7}'"
- path: images/build/setcap/cloudbuild.yaml
match: "name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v[0-9]{8}-[a-z0-9]{7}'"
- path: images/releng/k8s-ci-builder/cloudbuild.yaml
match: "name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v[0-9]{8}-[a-z0-9]{7}'"
2 changes: 1 addition & 1 deletion images/build/cross/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ options:
substitution_option: ALLOW_LOOSE

steps:
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f'
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20210722-085d930'
entrypoint: 'bash'
dir: ./images/build/cross
env:
Expand Down
4 changes: 3 additions & 1 deletion images/build/debian-base/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# See https://cloud.google.com/cloud-build/docs/build-config
timeout: 1200s

options:
substitution_option: ALLOW_LOOSE
machineType: 'N1_HIGHCPU_8'

steps:
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f'
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20210722-085d930'
entrypoint: bash
dir: ./images/build/debian-base
env:
Expand Down
4 changes: 3 additions & 1 deletion images/build/debian-iptables/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# See https://cloud.google.com/cloud-build/docs/build-config
timeout: 1200s

options:
substitution_option: ALLOW_LOOSE
machineType: 'N1_HIGHCPU_8'

steps:
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f'
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20210722-085d930'
entrypoint: bash
dir: ./images/build/debian-iptables
env:
Expand Down
4 changes: 3 additions & 1 deletion images/build/go-runner/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# this must be specified in seconds. If omitted, defaults to 600s (10 mins)
timeout: 1200s

# this prevents errors if you don't use both _GIT_TAG and _PULL_BASE_REF,
# or any new substitutions added in the future.
options:
Expand All @@ -16,7 +17,8 @@ steps:
- '-key'
- 'distroless-cosign.pub' # From https://github.com/GoogleContainerTools/distroless/blob/main/cosign.pub
- 'gcr.io/distroless/$_DISTROLESS_IMAGE'
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f'

- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20210722-085d930'
entrypoint: 'bash'
dir: ./images/build/go-runner
env:
Expand Down
8 changes: 0 additions & 8 deletions images/build/go-runner/variants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,3 @@ variants:
REVISION: '0'
GO_VERSION: '1.16.8'
DISTROLESS_IMAGE: 'static-debian10'
go1.15-buster:
CONFIG: 'go1.15-buster'
IMAGE_VERSION: 'v2.3.1-go1.15.15-buster.0'
GO_MAJOR_VERSION: '1.15'
OS_CODENAME: 'buster'
REVISION: '0'
GO_VERSION: '1.15.15'
DISTROLESS_IMAGE: 'static-debian10'
5 changes: 4 additions & 1 deletion images/build/setcap/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# See https://cloud.google.com/cloud-build/docs/build-config
timeout: 1200s

options:
substitution_option: ALLOW_LOOSE
machineType: 'N1_HIGHCPU_8'

steps:
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f'
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20210722-085d930'
entrypoint: bash
dir: ./images/build/setcap
env:
Expand All @@ -22,6 +24,7 @@ steps:
- |
gcloud auth configure-docker && \
make all-push

substitutions:
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
# can be used as a substitution
Expand Down
2 changes: 1 addition & 1 deletion images/releng/k8s-ci-builder/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ options:

steps:
# TODO: Update image version
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f'
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20210722-085d930'
entrypoint: 'bash'
dir: ./images/releng/k8s-ci-builder
env:
Expand Down