Skip to content

Commit

Permalink
chore(KFLUXVNGD-30): Use Openshift CI multi-arch API
Browse files Browse the repository at this point in the history
When getting latest version use the openshift CI multi-arch
API instead of amd64 specific API.

Jira-Url: https://issues.redhat.com/browse/KFLUXVNGD-30
Signed-off-by: Homaja Marisetty <[email protected]>
  • Loading branch information
hmariset authored and arewm committed Oct 29, 2024
1 parent 36a8ba1 commit 7f5c409
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ spec:
description: The leading part of the OpenShift version. E.g. `4.` or `4.15.`
- name: releaseStream
type: string
default: 4-stable
description: The name of the OpenShift release stream. E.g. `4-stable`
default: 4-stable-multi
description: The name of the OpenShift release stream. E.g. `4-stable-multi`
- name: host
type: string
default: multi.ocp.releases.ci.openshift.org
description: The name of the API host. E.g. `multi.ocp.releases.ci.openshift.org`
results:
- name: version
description: The latest matching version.
env:
- name: URL
value: https://amd64.ocp.releases.ci.openshift.org/api/v1/releasestream/$(params.releaseStream)/latest?prefix=$(params.prefix)
value: https://$(params.host)/api/v1/releasestream/$(params.releaseStream)/latest?prefix=$(params.prefix)
script: |
#!/bin/bash
set -eo pipefail
Expand Down

0 comments on commit 7f5c409

Please sign in to comment.