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

Add 1.18 kubernetes-csi CI jobs #17185

Merged
merged 1 commit into from
Apr 14, 2020
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -242,86 +242,6 @@ presubmits:
memory: "9000Mi"
# during the tests more like 3-20m is used
cpu: 2000m
- name: pull-kubernetes-csi-external-attacher-alpha-1-17-on-kubernetes-1-17
always_run: false
optional: true
decorate: true
skip_report: false
skip_branches: ["^(release-0.2.0|release-0.3.0|release-0.4|release-1.0|v0.1.0)$"]
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-external-attacher
testgrid-tab-name: alpha-1-17-on-kubernetes-1-17
description: Kubernetes-CSI pull job in repo external-attacher for alpha tests, using deployment 1.17 on Kubernetes 1.17
spec:
containers:
# We need this image because it has Docker in Docker and go.
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200409-4d4b2ec-master
command:
- runner.sh
args:
- ./.prow.sh
env:
# We pick some version for which there are pre-built images for kind.
# Update only when the newer version is known to not cause issues,
# otherwise presubmit jobs may start to fail for reasons that are
# unrelated to the PR. Testing against the latest Kubernetes is covered
# by periodic jobs (see https://k8s-testgrid.appspot.com/sig-storage-csi-ci#Summary).
- name: CSI_PROW_KUBERNETES_VERSION
value: "1.17.0"
- name: CSI_PROW_KUBERNETES_DEPLOYMENT
value: "1.17"
- name: CSI_PROW_TESTS
value: "serial-alpha parallel-alpha"
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
requests:
cpu: 2000m
- name: pull-kubernetes-csi-external-attacher-alpha-1-17-on-kubernetes-master
# Explicitly needs to be started with /test.
# This cannot be enabled by default because there's always the risk
# that something changes in master which breaks the pre-merge check.
always_run: false
optional: true
decorate: true
skip_report: false
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-bazel-remote-cache-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-external-attacher
testgrid-tab-name: alpha-1-17-on-kubernetes-master
description: Kubernetes-CSI pull job in repo external-attacher for alpha tests, using deployment 1.17 on Kubernetes master
spec:
containers:
# We need this image because it has Docker in Docker and go.
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200409-4d4b2ec-master
command:
- runner.sh
args:
- ./.prow.sh
env:
- name: CSI_PROW_KUBERNETES_VERSION
value: "latest"
- name: CSI_PROW_TESTS
value: "serial-alpha parallel-alpha"
# docker-in-docker needs privileged mode
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
- name: pull-kubernetes-csi-external-attacher-unit
always_run: true
decorate: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,86 +242,6 @@ presubmits:
memory: "9000Mi"
# during the tests more like 3-20m is used
cpu: 2000m
- name: pull-kubernetes-csi-external-provisioner-alpha-1-17-on-kubernetes-1-17
always_run: false
optional: true
decorate: true
skip_report: false
skip_branches: ["^(release-0.2.0|release-0.3.0|release-0.4|release-1.0|v0.1.0)$"]
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-external-provisioner
testgrid-tab-name: alpha-1-17-on-kubernetes-1-17
description: Kubernetes-CSI pull job in repo external-provisioner for alpha tests, using deployment 1.17 on Kubernetes 1.17
spec:
containers:
# We need this image because it has Docker in Docker and go.
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200409-4d4b2ec-master
command:
- runner.sh
args:
- ./.prow.sh
env:
# We pick some version for which there are pre-built images for kind.
# Update only when the newer version is known to not cause issues,
# otherwise presubmit jobs may start to fail for reasons that are
# unrelated to the PR. Testing against the latest Kubernetes is covered
# by periodic jobs (see https://k8s-testgrid.appspot.com/sig-storage-csi-ci#Summary).
- name: CSI_PROW_KUBERNETES_VERSION
value: "1.17.0"
- name: CSI_PROW_KUBERNETES_DEPLOYMENT
value: "1.17"
- name: CSI_PROW_TESTS
value: "serial-alpha parallel-alpha"
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
requests:
cpu: 2000m
- name: pull-kubernetes-csi-external-provisioner-alpha-1-17-on-kubernetes-master
# Explicitly needs to be started with /test.
# This cannot be enabled by default because there's always the risk
# that something changes in master which breaks the pre-merge check.
always_run: false
optional: true
decorate: true
skip_report: false
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-bazel-remote-cache-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-external-provisioner
testgrid-tab-name: alpha-1-17-on-kubernetes-master
description: Kubernetes-CSI pull job in repo external-provisioner for alpha tests, using deployment 1.17 on Kubernetes master
spec:
containers:
# We need this image because it has Docker in Docker and go.
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200409-4d4b2ec-master
command:
- runner.sh
args:
- ./.prow.sh
env:
- name: CSI_PROW_KUBERNETES_VERSION
value: "latest"
- name: CSI_PROW_TESTS
value: "serial-alpha parallel-alpha"
# docker-in-docker needs privileged mode
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
- name: pull-kubernetes-csi-external-provisioner-unit
always_run: true
decorate: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,86 +242,6 @@ presubmits:
memory: "9000Mi"
# during the tests more like 3-20m is used
cpu: 2000m
- name: pull-kubernetes-csi-external-resizer-alpha-1-17-on-kubernetes-1-17
always_run: false
optional: true
decorate: true
skip_report: false
skip_branches: []
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-external-resizer
testgrid-tab-name: alpha-1-17-on-kubernetes-1-17
description: Kubernetes-CSI pull job in repo external-resizer for alpha tests, using deployment 1.17 on Kubernetes 1.17
spec:
containers:
# We need this image because it has Docker in Docker and go.
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200409-4d4b2ec-master
command:
- runner.sh
args:
- ./.prow.sh
env:
# We pick some version for which there are pre-built images for kind.
# Update only when the newer version is known to not cause issues,
# otherwise presubmit jobs may start to fail for reasons that are
# unrelated to the PR. Testing against the latest Kubernetes is covered
# by periodic jobs (see https://k8s-testgrid.appspot.com/sig-storage-csi-ci#Summary).
- name: CSI_PROW_KUBERNETES_VERSION
value: "1.17.0"
- name: CSI_PROW_KUBERNETES_DEPLOYMENT
value: "1.17"
- name: CSI_PROW_TESTS
value: "serial-alpha parallel-alpha"
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
requests:
cpu: 2000m
- name: pull-kubernetes-csi-external-resizer-alpha-1-17-on-kubernetes-master
# Explicitly needs to be started with /test.
# This cannot be enabled by default because there's always the risk
# that something changes in master which breaks the pre-merge check.
always_run: false
optional: true
decorate: true
skip_report: false
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-bazel-remote-cache-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-external-resizer
testgrid-tab-name: alpha-1-17-on-kubernetes-master
description: Kubernetes-CSI pull job in repo external-resizer for alpha tests, using deployment 1.17 on Kubernetes master
spec:
containers:
# We need this image because it has Docker in Docker and go.
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200409-4d4b2ec-master
command:
- runner.sh
args:
- ./.prow.sh
env:
- name: CSI_PROW_KUBERNETES_VERSION
value: "latest"
- name: CSI_PROW_TESTS
value: "serial-alpha parallel-alpha"
# docker-in-docker needs privileged mode
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
- name: pull-kubernetes-csi-external-resizer-unit
always_run: true
decorate: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,86 +242,6 @@ presubmits:
memory: "9000Mi"
# during the tests more like 3-20m is used
cpu: 2000m
- name: pull-kubernetes-csi-external-snapshotter-alpha-1-17-on-kubernetes-1-17
always_run: false
optional: true
decorate: true
skip_report: false
skip_branches: ["^(k8s_1.12.0-beta.1|release-0.4|release-1.0)$"]
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-external-snapshotter
testgrid-tab-name: alpha-1-17-on-kubernetes-1-17
description: Kubernetes-CSI pull job in repo external-snapshotter for alpha tests, using deployment 1.17 on Kubernetes 1.17
spec:
containers:
# We need this image because it has Docker in Docker and go.
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200409-4d4b2ec-master
command:
- runner.sh
args:
- ./.prow.sh
env:
# We pick some version for which there are pre-built images for kind.
# Update only when the newer version is known to not cause issues,
# otherwise presubmit jobs may start to fail for reasons that are
# unrelated to the PR. Testing against the latest Kubernetes is covered
# by periodic jobs (see https://k8s-testgrid.appspot.com/sig-storage-csi-ci#Summary).
- name: CSI_PROW_KUBERNETES_VERSION
value: "1.17.0"
- name: CSI_PROW_KUBERNETES_DEPLOYMENT
value: "1.17"
- name: CSI_PROW_TESTS
value: "serial-alpha parallel-alpha"
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
requests:
cpu: 2000m
- name: pull-kubernetes-csi-external-snapshotter-alpha-1-17-on-kubernetes-master
# Explicitly needs to be started with /test.
# This cannot be enabled by default because there's always the risk
# that something changes in master which breaks the pre-merge check.
always_run: false
optional: true
decorate: true
skip_report: false
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-bazel-remote-cache-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-external-snapshotter
testgrid-tab-name: alpha-1-17-on-kubernetes-master
description: Kubernetes-CSI pull job in repo external-snapshotter for alpha tests, using deployment 1.17 on Kubernetes master
spec:
containers:
# We need this image because it has Docker in Docker and go.
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200409-4d4b2ec-master
command:
- runner.sh
args:
- ./.prow.sh
env:
- name: CSI_PROW_KUBERNETES_VERSION
value: "latest"
- name: CSI_PROW_TESTS
value: "serial-alpha parallel-alpha"
# docker-in-docker needs privileged mode
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
- name: pull-kubernetes-csi-external-snapshotter-unit
always_run: true
decorate: true
Expand Down
12 changes: 6 additions & 6 deletions config/jobs/kubernetes-csi/gen-jobs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
base="$(dirname $0)"

# The latest stable Kubernetes version for testing alpha repos
latest_stable_k8s_version="1.17.0"
latest_stable_k8s_minor_version="1.17"
latest_stable_k8s_version="1.18.0"
latest_stable_k8s_minor_version="1.18"

# We need this image because it has Docker in Docker and go.
dind_image="gcr.io/k8s-testimages/kubekins-e2e:v20191221-fe232fc-master"
dind_image="gcr.io/k8s-testimages/kubekins-e2e:v20200409-4d4b2ec-master"

# All kubernetes-csi repos which are part of the hostpath driver example.
# For these repos we generate the full test matrix. For each entry here
Expand Down Expand Up @@ -486,8 +486,8 @@ periodics:
EOF

for tests in non-alpha alpha; do
for deployment in 1.15 1.16 1.17; do
for kubernetes in 1.15 1.16 1.17 master; do
for deployment in 1.16 1.17 1.18; do
for kubernetes in 1.16 1.17 1.18 master; do
if [ "$tests" = "alpha" ]; then
# No version skew testing of alpha features, deployment has to match Kubernetes.
if ! echo "$kubernetes" | grep -q "^$deployment"; then
Expand Down Expand Up @@ -550,7 +550,7 @@ done
# The canary builds use the latest sidecars from master and run them on
# specific Kubernetes versions, using the default deployment for that Kubernetes
# release.
for kubernetes in 1.15.3 1.16.2 1.17.0 master; do
for kubernetes in 1.16.2 1.17.0 1.18.0 master; do
actual="${kubernetes/master/latest}"

for tests in non-alpha alpha; do
Expand Down
Loading