Skip to content

Commit

Permalink
add conformance test for gcp provider - pull-cluster-api-provider-gcp…
Browse files Browse the repository at this point in the history
…-make-conformance

Change-Id: I41bb65ba82574ff08dd84f97c15d89fe4697b45d
  • Loading branch information
dims committed Sep 23, 2019
1 parent d724a57 commit c61145e
Showing 1 changed file with 42 additions and 0 deletions.
Expand Up @@ -63,3 +63,45 @@ presubmits:
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-gcp
testgrid-tab-name: pr-make
# conformance test against kubernetes master branch with `kind` + cluster-api-provider-gcp
- name: pull-cluster-api-provider-gcp-make-conformance
labels:
preset-service-account: "true"
preset-bazel-scratch-dir: "true"
preset-bazel-remote-cache-enabled: "true"
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
always_run: false
optional: true
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20190919-5458503-master
args:
- "--job=$(JOB_NAME)"
- "--root=/go/src"
- "--repo=k8s.io/kubernetes=master"
- "--repo=sigs.k8s.io/cluster-api=master"
- "--repo=sigs.k8s.io/image-builder=master"
- "--repo=sigs.k8s.io/cluster-api-provider-gcp=$(PULL_REFS)"
- "--repo=sigs.k8s.io/kind=master"
- "--service-account=/etc/service-account/service-account.json"
- "--upload=gs://kubernetes-jenkins/pr-logs"
- "--scenario=execute"
- "--"
- "bash"
- "--"
- "-c"
- "cd ./../../sigs.k8s.io/cluster-api-provider-gcp && scripts/ci-e2e.sh"
# 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-cluster-api-provider-gcp
testgrid-tab-name: pr-e2e

0 comments on commit c61145e

Please sign in to comment.