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 kinder X on Y tests #12467

Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# periodic jobs

periodics:
- name: ci-kubernetes-e2e-kubeadm-kinder-master-on-stable
interval: 1h
decorate: true
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decoration_config:
timeout: 2400000000000 #40m
extra_refs:
- org: kubernetes
repo: kubernetes
base_ref: release-1.14
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this means we are building both e2e and kubeadm-e2e from release-1.14, given we are testing the kubeadm binary from master, shouldn't we be testing this binary against kubeadm-e2e from master?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kubeadm master should be able to bootstrap a Kubernetes cluster v1.14
Then we are going to use E2E test suite v1.14 and E2E kubeadm test suite v1.14 to check that the Kubernetes cluster (v1.14 too) works properly

In other words, test should be of the same version of cluster I am testing, not of version the bootstrap tool

path_alias: k8s.io/kubernetes
- org: kubernetes
repo: kubeadm
base_ref: master
path_alias: k8s.io/kubeadm
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20190329-811f7954b-master
command:
- runner.sh
- "../kubeadm/kinder/ci/kinder-run.sh"
args:
- "skew-master-on-stable"
securityContext:
privileged: true
resources:
requests:
memory: "9000Mi"
cpu: 2000m
- name: ci-kubernetes-e2e-kubeadm-kinder-1-14-on-1-13
interval: 1h
decorate: true
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decoration_config:
timeout: 2400000000000 #40m
extra_refs:
- org: kubernetes
repo: kubernetes
base_ref: release-1.13
path_alias: k8s.io/kubernetes
- org: kubernetes
repo: kubeadm
base_ref: master
path_alias: k8s.io/kubeadm
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20190329-811f7954b-master
command:
- runner.sh
- "../kubeadm/kinder/ci/kinder-run.sh"
args:
- "skew-1.14-on-1.13"
securityContext:
privileged: true
resources:
requests:
memory: "9000Mi"
cpu: 2000m
- name: ci-kubernetes-e2e-kubeadm-kinder-1-13-on-1-12
interval: 1h
decorate: true
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decoration_config:
timeout: 2400000000000 #40m
extra_refs:
- org: kubernetes
repo: kubernetes
base_ref: release-1.12
path_alias: k8s.io/kubernetes
- org: kubernetes
repo: kubeadm
base_ref: master
path_alias: k8s.io/kubeadm
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20190329-811f7954b-master
command:
- runner.sh
- "../kubeadm/kinder/ci/kinder-run.sh"
args:
- "skew-1.13-on-1.12"
securityContext:
privileged: true
resources:
requests:
memory: "9000Mi"
cpu: 2000m
- name: ci-kubernetes-e2e-kubeadm-kinder-1-12-on-1-11
interval: 1h
decorate: true
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decoration_config:
timeout: 2400000000000 #40m
extra_refs:
- org: kubernetes
repo: kubernetes
base_ref: release-1.11
path_alias: k8s.io/kubernetes
- org: kubernetes
repo: kubeadm
base_ref: master
path_alias: k8s.io/kubeadm
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20190329-811f7954b-master
command:
- runner.sh
- "../kubeadm/kinder/ci/kinder-run.sh"
args:
- "skew-1.12-on-1.11"
securityContext:
privileged: true
resources:
requests:
memory: "9000Mi"
cpu: 2000m
16 changes: 16 additions & 0 deletions testgrid/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2156,6 +2156,14 @@ test_groups:
gcs_prefix: kubernetes-jenkins/logs/ci-kubernetes-e2e-kubeadm-kinder-upgrade-1-12-1-13
- name: ci-kubernetes-e2e-kubeadm-kinder-upgrade-1-11-1-12
gcs_prefix: kubernetes-jenkins/logs/ci-kubernetes-e2e-kubeadm-kinder-upgrade-1-11-1-12
- name: ci-kubernetes-e2e-kubeadm-kinder-master-on-stable
gcs_prefix: kubernetes-jenkins/logs/ci-kubernetes-e2e-kubeadm-kinder-master-on-stable
- name: ci-kubernetes-e2e-kubeadm-kinder-1-14-on-1-13
gcs_prefix: kubernetes-jenkins/logs/ci-kubernetes-e2e-kubeadm-kinder-1-14-on-1-13
- name: ci-kubernetes-e2e-kubeadm-kinder-1-13-on-1-12
gcs_prefix: kubernetes-jenkins/logs/ci-kubernetes-e2e-kubeadm-kinder-1-13-on-1-12
- name: ci-kubernetes-e2e-kubeadm-kinder-1-12-on-1-11
gcs_prefix: kubernetes-jenkins/logs/ci-kubernetes-e2e-kubeadm-kinder-1-12-on-1-11
# kubeadm x-on-y tests
- name: ci-kubernetes-e2e-kubeadm-gce-1-11-on-1-12
gcs_prefix: kubernetes-jenkins/logs/ci-kubernetes-e2e-kubeadm-gce-1-11-on-1-12
Expand Down Expand Up @@ -6358,6 +6366,14 @@ dashboards:
test_group_name: ci-kubernetes-e2e-kubeadm-kinder-upgrade-1-12-1-13
- name: kubeadm-kinder-upgrade-1.11-1.12
test_group_name: ci-kubernetes-e2e-kubeadm-kinder-upgrade-1-11-1-12
- name: kubeadm-kinder-master-on-stable
test_group_name: ci-kubernetes-e2e-kubeadm-kinder-master-on-stable
- name: kubeadm-kinder-1-14-on-1-13
test_group_name: ci-kubernetes-e2e-kubeadm-kinder-1-14-on-1-13
- name: kubeadm-kinder-1-13-on-1-12
test_group_name: ci-kubernetes-e2e-kubeadm-kinder-1-13-on-1-12
- name: kubeadm-kinder-1-12-on-1-11
test_group_name: ci-kubernetes-e2e-kubeadm-kinder-1-12-on-1-11
# kubeadm x-on-y tests
- name: kubeadm-gce-1.11-on-1.12
test_group_name: ci-kubernetes-e2e-kubeadm-gce-1-11-on-1-12
Expand Down