Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Commit c0bd681

Browse files
committed
Move secret to fabric6 env, give it a better name
.
1 parent a8f626d commit c0bd681

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

cortex-python.gocd.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ pipelines:
6161
REPO_NAME: "cs_internal-local"
6262
REPO_USER: "__token__"
6363
SONAR_USER_HOME: "/tmp"
64-
secure_variables:
65-
# LastPass: Shared-devops/Pypi
66-
REPO_PASSWORD: "AES:aP1kcSvzcr6hIWs++y6b6w==:Smb80ESqALObEO3W9xaKcl0LQZMp+fIxdBvkccUmCcoUVNf/2gOxwkFoSYn53o2uUwMRPusJK7X3INZXcHc9flhcU0AaE7a3ta9PsDXgGSHd1KcKSLTlQY01/8OtuzkgiN3IjJwjhWhYQ/F6h2qKKsIgWjgXBn+lB0wsvFVbLThagUjf1BvbhC0WJ3tdvzfNxTqL600v853d33OcMnG+19gPggt6KkXBcBU7Lgl+crskaEVIBoJj/H4gt7+XTb0f"
6764
materials:
6865
cortex-python:
6966
git: git@github.com:CognitiveScale/cortex-python.git
@@ -79,6 +76,8 @@ pipelines:
7976
set -eux
8077
c12e-common.sh staging
8178
sonar-scan.sh scan
79+
# PYPI_TOKEN from GOCD environment
80+
export REPO_PASSWORD=${PYPI_TOKEN}
8281
publish-distribution.sh -i -e
8382
8483
cortex-python-master:
@@ -89,9 +88,6 @@ pipelines:
8988
REPO_NAME: "cognitivescale_local"
9089
REPO_USER: "__token__"
9190
SONAR_USER_HOME: "/tmp"
92-
secure_variables:
93-
# LastPass: Shared-devops/Pypi
94-
REPO_PASSWORD: "AES:aP1kcSvzcr6hIWs++y6b6w==:Smb80ESqALObEO3W9xaKcl0LQZMp+fIxdBvkccUmCcoUVNf/2gOxwkFoSYn53o2uUwMRPusJK7X3INZXcHc9flhcU0AaE7a3ta9PsDXgGSHd1KcKSLTlQY01/8OtuzkgiN3IjJwjhWhYQ/F6h2qKKsIgWjgXBn+lB0wsvFVbLThagUjf1BvbhC0WJ3tdvzfNxTqL600v853d33OcMnG+19gPggt6KkXBcBU7Lgl+crskaEVIBoJj/H4gt7+XTb0f"
9591
materials:
9692
cortex-python-master:
9793
git: git@github.com:CognitiveScale/cortex-python.git
@@ -112,6 +108,8 @@ pipelines:
112108
- script: |
113109
set -eux
114110
c12e-common.sh master
111+
# PYPI_TOKEN from GOCD environment
112+
export REPO_PASSWORD=${PYPI_TOKEN}
115113
publish-distribution.sh -i -e
116114
- publish:
117115
approval:

0 commit comments

Comments
 (0)