Skip to content
Merged
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
57 changes: 0 additions & 57 deletions config/jobs/image-pushing/k8s-staging-cluster-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,60 +258,3 @@ periodics:
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
testgrid-tab-name: cluster-api-provider-openstack-push-images-nightly
testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io

##
## This Job is a temporary solution that builds the machine images using image-builder repository
## and packer. this is not the image for CAPG manager.
## This should be replaced in the future with the work from https://github.com/kubernetes-sigs/image-builder/pull/445
##
- name: cluster-api-provider-gcp-build-image-nightly
cluster: k8s-infra-prow-build-trusted
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
preset-service-account: "true"
decorate: true
decoration_config:
timeout: 3h
# TODO(dims): switch to cron after we get this job working.
interval: 2h
extra_refs:
- org: kubernetes-sigs
repo: cluster-api-provider-gcp
base_ref: master
path_alias: "sigs.k8s.io/cluster-api-provider-gcp"
- org: kubernetes-sigs
repo: image-builder
base_ref: master
path_alias: "sigs.k8s.io/image-builder"
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210426-51fd28e-master
env:
# TODO(dims): reuse this project for now to test this job.
# need to create a separate project.
- name: "GCP_PROJECT"
value: "k8s-staging-cloud-provider-gcp"
- name: "SKIP_CLEANUP"
value: "true"
command:
- "runner.sh"
- "scripts/ci-e2e.sh"
- "--verbose"
- "--build-image-only"
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
# these are both a bit below peak usage during build
# this is mostly for building kubernetes
memory: "9000Mi"
# during the tests more like 3-20m is used
cpu: 2000m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
testgrid-tab-name: capg-build-image-nightly
testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io
testgrid-num-failures-to-alert: "2"