Skip to content

Commit

Permalink
Update release channel to cover non-stable releases
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Hocutt <jhocutt@redhat.com>
  • Loading branch information
jaredhocutt committed Sep 15, 2023
1 parent 3b7430d commit 41d2bf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ocp4_disconnected/imageset.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self, openshift_version_xyz: str, config_dir: Path, storage_dir: Pa
self.config_path = self.config_dir.joinpath(f'imageset-config.yaml')

self.openshift_version_xy = '.'.join(self.openshift_version_xyz.split('.')[0:2])
self.openshift_release_channel = f'stable-{self.openshift_version_xy}'
self.openshift_release_channel = f'fast-{self.openshift_version_xy}'
self.imageset_config = self._imageset_config()

def _imageset_config(self) -> dict:
Expand Down Expand Up @@ -60,7 +60,7 @@ def append_openshift_release(self) -> None:
return

self.imageset_config['mirror']['platform']['channels'].append({
'name': f'stable-{self.openshift_version_xy}',
'name': self.openshift_release_channel,
'type': 'ocp',
'minVersion': self.openshift_version_xyz,
'maxVersion': self.openshift_version_xyz,
Expand Down

0 comments on commit 41d2bf6

Please sign in to comment.