-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supply private certificate via secret volume to tasks. Closes #621.
- Loading branch information
1 parent
baae2b8
commit f7a3974
Showing
77 changed files
with
421 additions
and
753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,17 +65,17 @@ if [ "${WORKING_DIR}" != "." ]; then | |
ARTIFACT_PREFIX="${WORKING_DIR/\//-}-" | ||
fi | ||
|
||
echo "Configuring npm to use Nexus ..." | ||
# Remove the protocol segment from NEXUS_URL | ||
NEXUS_HOST=$(echo "${NEXUS_URL}" | sed -E 's/^\s*.*:\/\///g') | ||
if [ -n "${NEXUS_HOST}" ] && [ -n "${NEXUS_USERNAME}" ] && [ -n "${NEXUS_PASSWORD}" ]; then | ||
echo "Configuring npm to use Nexus (${NEXUS_URL}) ..." | ||
if [ -n "${NEXUS_URL}" ] && [ -n "${NEXUS_USERNAME}" ] && [ -n "${NEXUS_PASSWORD}" ]; then | ||
NEXUS_AUTH="$(urlencode "${NEXUS_USERNAME}"):$(urlencode "${NEXUS_PASSWORD}")" | ||
npm config set registry="$NEXUS_URL"/repository/npmjs/ | ||
npm config set always-auth=true | ||
npm config set _auth="$(echo -n "$NEXUS_AUTH" | base64)" | ||
npm config set [email protected] | ||
npm config set ca=null | ||
npm config set strict-ssl=false | ||
if [ -f /etc/ssl/certs/private-cert.pem ]; then | ||
echo "Configuring private cert ..." | ||
npm config set cafile=/etc/ssl/certs/private-cert.pem | ||
fi | ||
fi; | ||
|
||
echo "package-*.json checks ..." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
deploy/ods-pipeline/charts/images/docker/Dockerfile.finish
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
deploy/ods-pipeline/charts/images/docker/Dockerfile.go-toolset
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
deploy/ods-pipeline/charts/images/docker/Dockerfile.gradle-toolset
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
deploy/ods-pipeline/charts/images/docker/Dockerfile.node16-npm-toolset
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
deploy/ods-pipeline/charts/images/docker/Dockerfile.package-image
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
deploy/ods-pipeline/charts/images/docker/Dockerfile.pipeline-manager
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
deploy/ods-pipeline/charts/images/docker/Dockerfile.python-toolset
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.