nodepool-functional-openshift: update nodepool launcher to Fedora 36

Update to current Fedora so we can remove the old node types.

Change-Id: Iad0c18419616a962a973f41dfcf6ea8cb396d4a5
This commit is contained in:
Ian Wienand 2022-08-22 15:21:34 +10:00
parent d292376db2
commit f4d0c8f226
2 changed files with 12 additions and 4 deletions

View File

@ -24,7 +24,7 @@
label: centos-7
# Runs nodepool
- name: launcher
label: fedora-35
label: fedora-36
required-projects:
- zuul/nodepool

View File

@ -16,10 +16,18 @@
zookeeper_use_tls: true
- role: ensure-tox
tasks:
# NOTE(ianw) 2022-09-07 :
# Shipped packages do not work and we need to use this statically
# linked binary; see
# https://issues.redhat.com/browse/OCPBUGS-559
- name: Ensure oc client is installed
package:
name: origin-clients
become: yes
shell: |
CLIENT=openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit
wget https://github.com/openshift/origin/releases/download/v3.11.0/${CLIENT}.tar.gz
tar xvf ${CLIENT}.tar.gz
sudo mv ${CLIENT}/oc /usr/local/bin
sudo mv ${CLIENT}/kubectl /usr/local/bin
oc version
- hosts: cluster
roles: