Fix: conditionally set the python packaging repository 93/6793/4
authorKevin Sandi <ksandi@contractor.linuxfoundation.org>
Wed, 29 Sep 2021 20:55:35 +0000 (14:55 -0600)
committerKevin Sandi <ksandi@contractor.linuxfoundation.org>
Wed, 29 Sep 2021 22:59:02 +0000 (16:59 -0600)
For production Jenkins we will use https://upload.pypi.org/legacy/
and for sandbox we will use https://test.pypi.org/legacy/

Issue-ID: https://jira.linuxfoundation.org/browse/RELENG-3969
Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
Change-Id: Ia9be3d4fa6ff39a25aed93423314f096d43d0290

jenkins-config/managed-config-files/custom/pypirc/content

index 72dac93..6ddb0d0 100644 (file)
@@ -3,9 +3,7 @@
 
 [distutils] # this tells distutils what package indexes you can push to
 index-servers =
-  pypi-test pypi
-  pypi-test
-  pypi
+  $PYPIRC_URL_USR
 
 [$PYPIRC_URL_USR]
 repository: $PYPIRC_URL_PSW