diff options
author | Eric Ball <eball@linuxfoundation.org> | 2021-12-14 17:07:08 -0800 |
---|---|---|
committer | Eric Ball <eball@linuxfoundation.org> | 2021-12-15 14:39:35 -0800 |
commit | 2a0d0e553fe5b6df3cf7ad389467ac5fbef62297 (patch) | |
tree | 55bff12c6d98a74cee966ae28f3029dfeadcb6f7 /jenkins-config/managed-config-files/custom/pypirc | |
parent | 79fa61adf601c04891a2ca5f0f3da4d65e51e5c7 (diff) |
Feat: Add JCasC managed config files
Change-Id: Ibe1e731577cac990d078e03b4be21fdfc0c5b82c
Issue-ID: CIMAN-33
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
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" |