Skip to content

Commit

Permalink
prow/cluster-api-provider-openstack: enable periodic and postsubmit c…
Browse files Browse the repository at this point in the history
…onformance tests
  • Loading branch information
sbueringer committed Mar 19, 2021
1 parent 397faeb commit dea7f5f
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
periodics:
- name: periodic-cluster-api-provider-openstack-e2e-test-master
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"
decorate: true
decoration_config:
timeout: 5h
interval: 12h
extra_refs:
- org: kubernetes-sigs
repo: cluster-api-provider-openstack
base_ref: master
path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
- org: kubernetes-sigs
repo: image-builder
base_ref: master
path_alias: "sigs.k8s.io/image-builder"
max_concurrency: 1
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-master
env:
- name: "BOSKOS_HOST"
value: "boskos.test-pods.svc.cluster.local"
command:
- "runner.sh"
- "./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-openstack
testgrid-tab-name: periodic-e2e-test-master
- name: periodic-cluster-api-provider-openstack-conformance-test-master-with-k8s-ci-artifacts
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"
decorate: true
decoration_config:
timeout: 5h
interval: 12h
extra_refs:
- org: kubernetes-sigs
repo: cluster-api-provider-openstack
base_ref: master
path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
- org: kubernetes-sigs
repo: image-builder
base_ref: master
path_alias: "sigs.k8s.io/image-builder"
- org: kubernetes
repo: kubernetes
base_ref: master
path_alias: k8s.io/kubernetes
max_concurrency: 1
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-master
env:
- name: "BOSKOS_HOST"
value: "boskos.test-pods.svc.cluster.local"
- name: E2E_ARGS
value: "-kubetest.use-ci-artifacts"
command:
- "runner.sh"
- "./scripts/ci-conformance.sh"
- "--use-ci-artifacts"
# 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-openstack
testgrid-tab-name: periodic-conformance-test-master
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
postsubmits:
kubernetes-sigs/cluster-api-provider-openstack:
- name: ci-cluster-api-provider-openstack-e2e-test
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"
path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
decorate: true
decoration_config:
timeout: 5h
extra_refs:
- org: kubernetes-sigs
repo: image-builder
base_ref: master
path_alias: "sigs.k8s.io/image-builder"
max_concurrency: 1
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-master
env:
- name: "BOSKOS_HOST"
value: "boskos.test-pods.svc.cluster.local"
command:
- "runner.sh"
- "./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-openstack
testgrid-tab-name: ci-e2e-test
- name: ci-cluster-api-provider-openstack-conformance-test
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"
path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
decorate: true
decoration_config:
timeout: 5h
extra_refs:
- org: kubernetes-sigs
repo: image-builder
base_ref: master
path_alias: "sigs.k8s.io/image-builder"
- org: kubernetes
repo: kubernetes
base_ref: master
path_alias: k8s.io/kubernetes
max_concurrency: 1
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-master
env:
- name: "BOSKOS_HOST"
value: "boskos.test-pods.svc.cluster.local"
command:
- "runner.sh"
- "./scripts/ci-conformance.sh"
- "--use-ci-artifacts"
# 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-openstack
testgrid-tab-name: ci-conformance-test
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ presubmits:
optional: true
decorate: true
decoration_config:
timeout: 3h
timeout: 5h
extra_refs:
- org: kubernetes-sigs
repo: image-builder
Expand Down Expand Up @@ -80,8 +80,7 @@ presubmits:
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
testgrid-tab-name: pr-e2e-test
# conformance test against kubernetes master branch with `kind` + cluster-api-provider-openstack
- name: pull-cluster-api-provider-openstack-make-conformance
- name: pull-cluster-api-provider-openstack-conformance-test
labels:
preset-service-account: "true"
preset-bazel-scratch-dir: "true"
Expand All @@ -93,7 +92,7 @@ presubmits:
optional: true
decorate: true
decoration_config:
timeout: 3h
timeout: 5h
extra_refs:
- org: kubernetes-sigs
repo: image-builder
Expand Down Expand Up @@ -125,4 +124,4 @@ presubmits:
cpu: 2000m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
testgrid-tab-name: pr-conformance
testgrid-tab-name: pr-conformance-test

0 comments on commit dea7f5f

Please sign in to comment.