Skip to content

Commit

Permalink
[zuul] Add job to test deploying a specific version of OCP
Browse files Browse the repository at this point in the history
Add crc_ocp_bundle value to select OCP version

Depends-On: https://review.rdoproject.org/r/c/config/+/48800
  • Loading branch information
elfiesmelfie committed Sep 26, 2023
1 parent 1f6aa2c commit 6af445b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .zuul.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
---
- job:
name: stf-crc-ocp410
parent: base-simple-crc
run:
- ci/check_ocp_version.yml
vars:
crc_ocp_bundle: 'https://mirror.openshift.com/pub/openshift-v4/clients/crc/bundles/openshift/4.10.9/crc_libvirt_4.10.9_amd64.crcbundle'

- job:
name: stf-crc-ocp412
parent: base-simple-crc
run:
- ci/check_ocp_version.yml
vars:
crc_ocp_bundle: 'https://mirror.openshift.com/pub/openshift-v4/clients/crc/bundles/openshift/4.12.13/crc_libvirt_4.12.13_amd64.crcbundle'

- project:
name: infrawatch/service-telemetry-operator
github-check:
jobs:
- noop
- stf-crc-ocp410
- stf-crc-ocp412
10 changes: 10 additions & 0 deletions ci/check_ocp_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
- hosts: controller
tasks:
- ansible.builtin.shell:
cmd: |
oc version
register: oc_version

- ansible.builtin.debug:
var: oc_version.stdout

0 comments on commit 6af445b

Please sign in to comment.