Skip to content

Commit

Permalink
Merge pull request #23169 from johngmyers/kops-debian11
Browse files Browse the repository at this point in the history
Add kops e2e for Debian 11
  • Loading branch information
k8s-ci-robot authored Aug 7, 2021
2 parents 6608b62 + ba5b1b3 commit baa3bd4
Show file tree
Hide file tree
Showing 5 changed files with 134 additions and 67 deletions.
2 changes: 1 addition & 1 deletion config/jobs/kubernetes/kops/build_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ def generate_misc():
# kops-periodics-distros.yaml #
###############################
def generate_distros():
distros = ['debian9', 'debian10', 'ubuntu1804', 'ubuntu2004', 'ubuntu2104',
distros = ['debian9', 'debian10', 'debian11', 'ubuntu1804', 'ubuntu2004', 'ubuntu2104',
'centos7', 'centos8', 'amazonlinux2', 'rhel7', 'rhel8', 'flatcar']
results = []
for distro in distros:
Expand Down
2 changes: 2 additions & 0 deletions config/jobs/kubernetes/kops/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def latest_aws_image(owner, name):
'centos8': latest_aws_image('125523088429', 'CentOS 8.*x86_64'),
'deb9': latest_aws_image('379101102735', 'debian-stretch-hvm-x86_64-gp2-*'),
'deb10': latest_aws_image('136693071363', 'debian-10-amd64-*'),
'deb11': latest_aws_image('903794441882', 'debian-11-amd64-*'),
'flatcar': latest_aws_image('075585003325', 'Flatcar-stable-*-hvm'),
'rhel7': latest_aws_image('309956199498', 'RHEL-7.*_HVM_*-x86_64-0-Hourly2-GP2'),
'rhel8': latest_aws_image('309956199498', 'RHEL-8.*_HVM-*-x86_64-0-Hourly2-GP2'),
Expand All @@ -156,6 +157,7 @@ def latest_aws_image(owner, name):
'centos8': 'centos',
'deb9': 'admin',
'deb10': 'admin',
'deb11': 'admin',
'flatcar': 'core',
'rhel7': 'ec2-user',
'rhel8': 'ec2-user',
Expand Down
67 changes: 65 additions & 2 deletions config/jobs/kubernetes/kops/kops-periodics-distros.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Test jobs generated by build_jobs.py (do not manually edit)
# 11 jobs, total of 231 runs per week
# 12 jobs, total of 252 runs per week
periodics:

# {"cloud": "aws", "container_runtime": "containerd", "distro": "deb9", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": null, "networking": "calico"}
Expand Down Expand Up @@ -128,6 +128,69 @@ periodics:
testgrid-days-of-results: '90'
testgrid-tab-name: kops-aws-distro-imagedebian10

# {"cloud": "aws", "container_runtime": "containerd", "distro": "deb11", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": null, "networking": "calico"}
- name: e2e-kops-aws-distro-imagedebian11
cron: '48 0-23/8 * * *'
labels:
preset-service-account: "true"
preset-aws-ssh: "true"
preset-aws-credential: "true"
decorate: true
decoration_config:
timeout: 90m
extra_refs:
- org: kubernetes
repo: kops
base_ref: master
workdir: true
path_alias: k8s.io/kops
spec:
containers:
- command:
- runner.sh
args:
- bash
- -c
- |
make test-e2e-install
kubetest2 kops \
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='903794441882/debian-11-amd64-daily-20210806-726' --channel=alpha --networking=calico --container-runtime=containerd" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci-updown-green.txt \
--kubernetes-version=https://storage.googleapis.com/kubernetes-release/release/stable.txt \
--test=kops \
-- \
--ginkgo-args="--debug" \
--test-args="-test.timeout=60m -num-nodes=0" \
--test-package-marker=stable.txt \
--parallel=25
env:
- name: KUBE_SSH_KEY_PATH
value: /etc/aws-ssh/aws-ssh-private
- name: KUBE_SSH_USER
value: admin
image: gcr.io/k8s-testimages/kubekins-e2e:v20210721-2b77449-master
imagePullPolicy: Always
resources:
limits:
memory: 3Gi
requests:
cpu: "2"
memory: 3Gi
annotations:
test.kops.k8s.io/cloud: aws
test.kops.k8s.io/container_runtime: containerd
test.kops.k8s.io/distro: deb11
test.kops.k8s.io/k8s_version: stable
test.kops.k8s.io/kops_channel: alpha
test.kops.k8s.io/kops_version: ''
test.kops.k8s.io/networking: calico
testgrid-dashboards: google-aws, kops-distro-deb11, kops-distros, kops-k8s-stable, kops-kubetest2, kops-latest, sig-cluster-lifecycle-kops
testgrid-days-of-results: '90'
testgrid-tab-name: kops-aws-distro-imagedebian11

# {"cloud": "aws", "container_runtime": "containerd", "distro": "u1804", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": null, "networking": "calico"}
- name: e2e-kops-aws-distro-imageubuntu1804
cron: '11 0-23/8 * * *'
Expand Down Expand Up @@ -661,7 +724,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='075585003325/Flatcar-stable-2905.2.0-hvm' --channel=alpha --networking=calico --container-runtime=containerd" \
--create-args="--image='075585003325/Flatcar-stable-2905.2.1-hvm' --channel=alpha --networking=calico --container-runtime=containerd" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci-updown-green.txt \
--kubernetes-version=https://storage.googleapis.com/kubernetes-release/release/stable.txt \
--validation-wait=20m \
Expand Down
Loading

0 comments on commit baa3bd4

Please sign in to comment.