Skip to content

Commit

Permalink
okd: download ci installer from updated location
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Jun 26, 2024
1 parent 6a6e361 commit a0e6404
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kvirt/cluster/openshift/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,7 @@ def get_upstream_installer(tag, version='stable', debug=False):
if version == 'dev-preview':
url = "https://amd64.origin.releases.ci.openshift.org/api/v1/releasestream/4-scos-next/latest"
elif version in ['ci', 'nightly']:
url = f"https://amd64.origin.releases.ci.openshift.org/api/v1/releasestream/{tag}.0-0.okd/latest"
elif version == 'scos':
url = "https://amd64.origin.releases.ci.openshift.org/api/v1/releasestream/4-scos-stable/latest"
url = f"https://amd64.origin.releases.ci.openshift.org/api/v1/releasestream/{tag}.0-0.okd-scos/latest"
else:
url = "https://amd64.origin.releases.ci.openshift.org/api/v1/releasestream/4-stable/latest"
tag = json.loads(urlopen(url).read())['pullSpec']
Expand Down

0 comments on commit a0e6404

Please sign in to comment.