Skip to content

Commit 8e499bf

Browse files
committed
openshift: default to 4.20
1 parent 65435db commit 8e499bf

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

kvirt/cluster/openshift/apps/advanced-cluster-management/assisted-service.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ until oc get crd/clusterimagesets.hive.openshift.io >/dev/null 2>&1 ; do sleep 1
1111

1212
if [ "$(which openshift-install)" == "" ] ; then
1313
VERSION={{ version|default('stable') }}
14-
TAG={{ tag|default('4.19') }}
14+
TAG={{ tag|default('4.20') }}
1515
kcli download openshift-install -P version=$VERSION -P tag=$TAG
1616
export PATH=.:$PATH
1717
fi

kvirt/cluster/openshift/apps/multicluster-engine/assisted-service.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ until oc get crd/clusterimagesets.hive.openshift.io >/dev/null 2>&1 ; do sleep 1
1111

1212
if [ "$(which openshift-install)" == "" ] ; then
1313
VERSION={{ version|default('stable') }}
14-
TAG={{ tag|default('4.19') }}
14+
TAG={{ tag|default('4.20') }}
1515
kcli download openshift-install -P version=$VERSION -P tag=$TAG
1616
export PATH=.:$PATH
1717
fi

kvirt/cluster/openshift/disconnected/scripts/03_mirror.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ podman login -u "$RHN_USER" -p "$RHN_PASSWORD" registry.redhat.io
6161

6262
which oc-mirror >/dev/null 2>&1
6363
if [ "$?" != "0" ] ; then
64-
OPENSHIFT_TAG=4.19
64+
OPENSHIFT_TAG=4.20
6565
curl -Ls https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-$OPENSHIFT_TAG/oc-mirror.tar.gz | tar xvz -C /usr/bin
6666
chmod +x /usr/bin/oc-mirror
6767
fi

kvirt/cluster/openshift/kcli_default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ info: |
1717
bootstrap in place (which removes the need for a bootstrap vm). This approach is suitable for baremetal single node
1818
baremetal_hosts can be specified as an array of bmc urls to deploy baremetal workers (or in the case of SNO described before)
1919
version: stable
20-
tag: '4.19'
20+
tag: '4.20'
2121
pull_secret: openshift_pull.json
2222
image:
2323
network: default

kvirt/defaults.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
TUNNELPORT = 22
3333
VMUSER = None
3434
VMPORT = None
35-
OPENSHIFT_TAG = '4.19'
35+
OPENSHIFT_TAG = '4.20'
3636
ALMA = 'https://repo.ifca.es/almalinux'
3737
BSD = 'https://object-storage.public.mtl1.vexxhost.net/swift/v1/1dbafeefbd4f4c80864414a441e72dd2'
3838
BSD += '/bsd-cloud-image.org/images/dragonflybsd'
@@ -85,6 +85,7 @@
8585
'rhcos417': f'{RHCOS}/4.17',
8686
'rhcos418': f'{RHCOS}/4.18',
8787
'rhcos419': f'{RHCOS}/4.19',
88+
'rhcos420': f'{RHCOS}/4.20',
8889
'rhcoslatest': f'{RHCOS}/{OPENSHIFT_TAG}',
8990
'rhel7': 'https://access.redhat.com/downloads/content/69/ver=/rhel---7',
9091
'rhel8': 'https://access.redhat.com/downloads/content/479/ver=/rhel---8',

kvirt/examples.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
$ kcli create dns -n network2 -d karmalabs.corp -i 192.168.122.253 api.jhendrix
2020
2121
# Do the same with an extra wildcard alias
22-
$ kcli create dns -d karmalabs.corp -i 104.197.157.226 -a '*' api.jhendrix
22+
$ kcli create dns -d karmalabs.corp -i 104n.197.157.226 -a '*' api.jhendrix
2323
"""
2424

2525
hostcreate = """# Add a KVM host
@@ -358,24 +358,24 @@
358358
$ kcli create registry kubeadm
359359
"""
360360

361-
openshiftregistrycreate = """# Generate an openshift registry vm for 4.19
362-
$ kcli create registry openshift -P version=stable -P tag='4.19'
361+
openshiftregistrycreate = """# Generate an openshift registry vm for 4.20
362+
$ kcli create registry openshift -P version=stable -P tag='4.20'
363363
364364
# Do the same over an ipv4 network
365-
$ kcli create registry openshift -P version=nightly -P tag='4.19' -P disconnected_ipv6_network=false
365+
$ kcli create registry openshift -P version=nightly -P tag='4.20' -P disconnected_ipv6_network=false
366366
367-
# Use specific version and add extra operators (from 4.18)
368-
$ kcli create registry openshift -P version=nightly -P tag='4.19' -P disconnected_operators=[sriov-network-operator]
367+
# Use specific version and add extra operators (from 4.20)
368+
$ kcli create registry openshift -P version=nightly -P tag='4.21' -P disconnected_operators=[sriov-network-operator]
369369
370370
# Deploy registry without content
371371
$ kcli create registry openshift -P disconnected_sync=false
372372
"""
373373

374-
openshiftregistryupdate = """# Update openshift registry for 4.19
375-
$ kcli update openshift-registry -P version=stable -P tag='4.19' -P disconnected_url=192.168.122.200.sslip.io:5000 myreg
374+
openshiftregistryupdate = """# Update openshift registry for 4.20
375+
$ kcli update openshift-registry -P version=stable -P tag='4.20' -P disconnected_url=192.168.122.200.sslip.io:5000 myreg
376376
377377
# Update openshift registry taking parameter from existing cluster install named myopenshift
378-
$ kcli update openshift-registry -P tag='4.19.0' myopenshift
378+
$ kcli update openshift-registry -P tag='4.20.0' myopenshift
379379
"""
380380

381381

@@ -621,27 +621,27 @@
621621
$ kcli update baremetal-host -u admin -p admin 10.10.10.10 -P secureboot=true
622622
"""
623623

624-
ocdownload = """# Download 4.19 stable
625-
$ kcli download oc -P version=stable -P tag=4.19
624+
ocdownload = """# Download latest stable
625+
$ kcli download oc -P version=stable
626626
627627
# Download specific tag
628628
$ kcli download oc -P version=tag -P tag=4.16.4
629629
630630
# Download nightly
631-
$ kcli download oc -P version=nightly -P tag=4.19
631+
$ kcli download oc -P version=nightly
632632
633633
# Download older version from CI
634634
$ kcli download oc -P version=ci -P tag=4.14
635635
"""
636636

637-
ocmirrordownload = """# Download 4.19 stable
638-
$ kcli download oc-mirror -P version=stable -P tag=4.19
637+
ocmirrordownload = """# Download latest stable
638+
$ kcli download oc-mirror -P version=stable
639639
640640
# Download specific tag
641641
$ kcli download oc-mirror -P version=tag -P tag=4.16.4
642642
643643
# Download nightly
644-
$ kcli download oc-mirror -P version=nightly -P tag=4.20
644+
$ kcli download oc-mirror -P version=nightly
645645
646646
"""
647647

openshift-ci-paramfiles/kubevirt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sslip: true
55
ctlplanes: 3
66
workers: 2
77
version: nightly
8-
tag: '4.20'
8+
tag: '4.21'
99
sslip: true
1010
api_ip: 10.6.118.222
1111
network: br-ex

openshift-ci-paramfiles/okd.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ network_type: OVNKubernetes
66
ctlplanes: 3
77
workers: 0
88
version: ci
9-
tag: "4.19"
109
network: okd-network
1110
sslip: true
1211
numcpus: 32

0 commit comments

Comments
 (0)