kcli 99.0.202511270652__py3-none-any.whl → 99.0.202511270728__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kcli
3
- Version: 99.0.202511270652
3
+ Version: 99.0.202511270728
4
4
  Summary: Provisioner/Manager for Libvirt/Vsphere/Aws/Gcp/Hcloud/Kubevirt/Ovirt/Openstack/IBM Cloud and containers
5
5
  Home-page: http://github.com/karmab/kcli
6
6
  Author: Karim Boumedhel
@@ -1,4 +1,4 @@
1
- kcli-99.0.202511270652.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
1
+ kcli-99.0.202511270728.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
2
2
  kvirt/__init__.py,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
3
3
  kvirt/baseconfig.py,sha256=QG_AHI1_HAgHwIdZSm1BXkpn9pW35kTMUkFOb7UE_wY,83513
4
4
  kvirt/bottle.py,sha256=K24aCQYSylDpkxmLYGygSpAJ4MlMqMk85AMpbCWA43c,175729
@@ -176,7 +176,7 @@ kvirt/cluster/openshift/99-ovn.yaml,sha256=cdEJWIVdFsaYLWtp5_v3TSI0sFTzYZvo2Euaj
176
176
  kvirt/cluster/openshift/99-prega-catalog.yaml,sha256=kRRCkq7joALdpeZlOL4zXvtZod6XRnk_mBgE7rTWxLA,313
177
177
  kvirt/cluster/openshift/99-sno.yaml,sha256=JFxdhvChu1o29fOzDyfuU-jtcfcLXd7G7YAt8y9HGU8,488
178
178
  kvirt/cluster/openshift/Corefile,sha256=lSF1OmirH2vyxO9qNItWzYLp-sLYF4z5liAX6LjTRkw,792
179
- kvirt/cluster/openshift/__init__.py,sha256=dYgPCFHleNfRAxohfdptFn_VBFb8uw-CUG25Mu7dF1c,96599
179
+ kvirt/cluster/openshift/__init__.py,sha256=qmpylEfnA_aGL4Xnck5chYtduU-eL8kJtJiwWLq_icA,96602
180
180
  kvirt/cluster/openshift/autoapprovercron.yml,sha256=vR2IRwjNpu4rQDy3H_EDSt3Is0o7A7CIo_zbqcEv8ww,1324
181
181
  kvirt/cluster/openshift/autorules.yml,sha256=j0WEdUDUDbQrnMGEZXFRe3vNz2JQLNaDr_EjaucgAu8,985
182
182
  kvirt/cluster/openshift/bgp-vip.sh,sha256=e70UJTxb7H_mWK1Zi7ofHV2ISqWZYfpOG0tArtn8Dvo,459
@@ -403,7 +403,7 @@ kvirt/providers/vsphere/helpers.py,sha256=eJnwVGdWArTurH5ckzScvLThNJaMWeakdxBbDT
403
403
  kvirt/providers/vsphere/tagging.py,sha256=7RqFIUETSzHAjS0F_8-j145-_8lca7aDUsCxs4DhQVQ,4893
404
404
  kvirt/providers/web/__init__.py,sha256=_9fv0_x5VomFrMZqTsMLHkIRkvujmFgTxggtRctvMD0,22053
405
405
  kvirt/version/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
406
- kvirt/version/git,sha256=HWQvPCluXhzSJ7vEbM0SSIrhr7m5-o8gKk2xXmSdIUU,19
406
+ kvirt/version/git,sha256=J2AKJk-IxIAH-2tmWgf1gL3JaJu5bnca283RtSNIgFk,19
407
407
  kvirt/web/__init__.py,sha256=QW-FVaQGYogXwgV2g4f0J9s0QqUI6qIyX1ruRaiI8Yk,46658
408
408
  kvirt/web/main.py,sha256=DIb6tW3ce7wCc83kD9HBCG4ALJuLItp9uaP6tzdsm_Y,261
409
409
  kvirt/web/static/css/bootstrap-notify.css,sha256=ibUTW-jDj-F8d1T1KZ4DOujRmVTFfvMKL9y14QgEaPQ,408
@@ -645,8 +645,8 @@ kvirt/web/templates/vmprofiles.html,sha256=T65Cv7povhBtD2dyuWkWJE6byaA9EYtLSk5gt
645
645
  kvirt/web/templates/vmprofilestable.html,sha256=-8viNOqSvN_yzimENxq7Q0187zbflOn8p8zpgx0Vyek,1420
646
646
  kvirt/web/templates/vms.html,sha256=k2ptKeiLFdpzgfbk6xi__sduu0UALYXXrnrmDEmAfaQ,470
647
647
  kvirt/web/templates/vmstable.html,sha256=ikuYkIm_ocvGIBXFyJt1-tBjwQWCyqkgC08leoXgR54,4894
648
- kcli-99.0.202511270652.dist-info/METADATA,sha256=1zIabsjW3PVuQ_2qEE3GA8Sp3cYZyzYzNEIlX1CGm0Y,4645
649
- kcli-99.0.202511270652.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
650
- kcli-99.0.202511270652.dist-info/entry_points.txt,sha256=e5EB5e2acrwl3_sYA0GrjE42UMcMfiijMJqXb6TZRmQ,245
651
- kcli-99.0.202511270652.dist-info/top_level.txt,sha256=FwVTxtMIWdr8QBk5mTfd0f_GheFlRR_vn4zl6p5N57s,6
652
- kcli-99.0.202511270652.dist-info/RECORD,,
648
+ kcli-99.0.202511270728.dist-info/METADATA,sha256=1q00ZcLGL8J64GLZTmZHwEfgqSyOW2EE8L7TCw_iI-k,4645
649
+ kcli-99.0.202511270728.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
650
+ kcli-99.0.202511270728.dist-info/entry_points.txt,sha256=e5EB5e2acrwl3_sYA0GrjE42UMcMfiijMJqXb6TZRmQ,245
651
+ kcli-99.0.202511270728.dist-info/top_level.txt,sha256=FwVTxtMIWdr8QBk5mTfd0f_GheFlRR_vn4zl6p5N57s,6
652
+ kcli-99.0.202511270728.dist-info/RECORD,,
@@ -336,16 +336,18 @@ def get_downstream_installer(version='stable', macosx=False, tag=None, debug=Fal
336
336
 
337
337
 
338
338
  def get_okd_installer(tag, version='stable', debug=False):
339
- if version == 'stable' and str(tag).count('.') == 1:
340
- tag = f'quay.io/okd/scos-release:{tag}.0-okd-scos.1'
341
- elif 'quay.io' not in str(tag) and 'registry.ci.openshift.org' not in str(tag):
342
- if version == 'candidate':
343
- url = "https://amd64.origin.releases.ci.openshift.org/api/v1/releasestream/4-scos-next/latest"
344
- elif version in ['ci', 'nightly']:
345
- url = f"https://amd64.origin.releases.ci.openshift.org/api/v1/releasestream/{tag}.0-0.okd-scos/latest"
346
- else:
347
- url = "https://amd64.origin.releases.ci.openshift.org/api/v1/releasestream/4-scos-stable/latest"
339
+ if version == 'candidate':
340
+ url = "https://amd64.origin.releases.ci.openshift.org/api/v1/releasestream/4-scos-next/latest"
341
+ tag = json.loads(urlopen(url).read())['pullSpec']
342
+ elif version in ['ci', 'nightly']:
343
+ url = f"https://amd64.origin.releases.ci.openshift.org/api/v1/releasestream/{tag}.0-0.okd-scos/latest"
348
344
  tag = json.loads(urlopen(url).read())['pullSpec']
345
+ else:
346
+ url = 'https://quay.io/api/v1/repository/okd/scos-release/tag'
347
+ for t in json.loads(urlopen(url).read())["tags"]:
348
+ if tag in t["name"] and ".ec." not in t["name"]:
349
+ tag = f'quay.io/okd/scos-release:{t["name"]}'
350
+ break
349
351
  cmd = f"oc adm release extract --command=openshift-install --to . {tag}"
350
352
  cmd += "; chmod 700 openshift-install"
351
353
  pprint(f'Downloading openshift-install {tag} in current directory')
@@ -950,7 +952,7 @@ def create(config, plandir, cluster, overrides, dnsconfig=None):
950
952
  if download:
951
953
  if okd:
952
954
  run = get_okd_installer(tag, version=version)
953
- if version in ['ci', 'nightly'] or '/' in str(tag):
955
+ elif version in ['ci', 'nightly'] or '/' in str(tag):
954
956
  nightly = version == 'nightly'
955
957
  run = get_ci_installer(pull_secret, tag=tag, nightly=nightly)
956
958
  elif version in ['candidate', 'stable', 'latest']:
kvirt/version/git CHANGED
@@ -1 +1 @@
1
- e2cb617 2025/11/27
1
+ 5ca2bc9 2025/11/27