From cbcc490f8c7e32769f251570aaf69f73f57a231b Mon Sep 17 00:00:00 2001 From: Kevin Sandi Date: Wed, 29 Sep 2021 14:55:35 -0600 Subject: [PATCH] Fix: conditionally set the python packaging repository 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 Change-Id: Ia9be3d4fa6ff39a25aed93423314f096d43d0290 --- jenkins-config/managed-config-files/custom/pypirc/content | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jenkins-config/managed-config-files/custom/pypirc/content b/jenkins-config/managed-config-files/custom/pypirc/content index 72dac939..6ddb0d00 100644 --- a/jenkins-config/managed-config-files/custom/pypirc/content +++ b/jenkins-config/managed-config-files/custom/pypirc/content @@ -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 -- 2.16.6