diff options
Diffstat (limited to 'jenkins-config/managed-config-files/custom/pypirc')
4 files changed, 50 insertions, 0 deletions
diff --git a/jenkins-config/managed-config-files/custom/pypirc/config-params.yaml b/jenkins-config/managed-config-files/custom/pypirc/config-params.yaml new file mode 100644 index 000000000..3cc089443 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/pypirc/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "pypirc" +comment: "PyPI config" diff --git a/jenkins-config/managed-config-files/custom/pypirc/content b/jenkins-config/managed-config-files/custom/pypirc/content new file mode 100644 index 000000000..6a0fcdcfd --- /dev/null +++ b/jenkins-config/managed-config-files/custom/pypirc/content @@ -0,0 +1,31 @@ +[distutils] +index-servers = + staging + release + pypi-test + pypi + +[staging] +repository: https://nexus3.onap.org/repository/PyPi.staging/ +username: $PYPI_STAGING_RELEASE_USR +password: $PYPI_STAGING_RELEASE_PSW + +[release] +repository: https://nexus3.onap.org/repository/PyPi.release/ +username: $PYPI_STAGING_RELEASE_USR +password: $PYPI_STAGING_RELEASE_PSW + +[wheel-alpine] +repository: https://nexus3.onap.org/repository/PyPi.wheel-alpine/ +username: $PYPI_STAGING_RELEASE_USR +password: $PYPI_STAGING_RELEASE_PSW + +[pypi-test] +repository: https://test.pypi.org/legacy/ +username: __token__ +password: $PYPI_TEST_TOKEN + +[pypi] +repository: https://pypi.org/ +username: __token__ +password: $PYPI_TOKEN diff --git a/jenkins-config/managed-config-files/custom/pypirc/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/pypirc/customizedCredentialMappings.sandbox.yaml new file mode 100644 index 000000000..ec22d0e0b --- /dev/null +++ b/jenkins-config/managed-config-files/custom/pypirc/customizedCredentialMappings.sandbox.yaml @@ -0,0 +1,8 @@ +--- +customizedCredentialMappings: + - credentialsId: "pypi-staging-release" + tokenKey: "PYPI_STAGING_RELEASE" + - credentialsId: "dummy" + tokenKey: "PYPI_TOKEN" + - credentialsId: "pypi-test-token" + tokenKey: "PYPI_TEST_TOKEN" diff --git a/jenkins-config/managed-config-files/custom/pypirc/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/pypirc/customizedCredentialMappings.yaml new file mode 100644 index 000000000..894c65bde --- /dev/null +++ b/jenkins-config/managed-config-files/custom/pypirc/customizedCredentialMappings.yaml @@ -0,0 +1,8 @@ +--- +customizedCredentialMappings: + - credentialsId: "pypi-staging-release" + tokenKey: "PYPI_STAGING_RELEASE" + - credentialsId: "pypi-token" + tokenKey: "PYPI_TOKEN" + - credentialsId: "pypi-test-token" + tokenKey: "PYPI_TEST_TOKEN" |