forked from jupyterhub/zero-to-jupyterhub-k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jupyterhub#1175 from consideRatio/restructure-for-dx
Restructure for DX (Developer Experience)
- Loading branch information
Showing
10 changed files
with
42 additions
and
22 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 was deleted.
Oops, something went wrong.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
# Decrypt a private SSH key having its public key registered on GitHub. It will | ||
# be used to establish an identity with rights to push to the repo hosting our | ||
# Helm charts: https://github.com/jupyterhub/helm-chart | ||
openssl aes-256-cbc -K $encrypted_c6b45058ffe8_key -iv $encrypted_c6b45058ffe8_iv -in ci/id_rsa.enc -out ci/id_rsa -d | ||
chmod 0400 ci/id_rsa | ||
|
||
docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" | ||
|
||
# Activate logging of bash commands now that the sensitive stuff is done | ||
set -x | ||
|
||
# As chartpress uses git to push to our Helm chart repository, we configure | ||
# git ahead of time to use the identity we decrypted earlier. | ||
export GIT_SSH_COMMAND="ssh -i ${PWD}/ci/id_rsa" | ||
|
||
chartpress --commit-range "${TRAVIS_COMMIT_RANGE}" --push --publish-chart | ||
|
||
# Let us log the changes chartpress did, it should include replacements for | ||
# fields in values.yaml, such as what tag for various images we are using. | ||
git diff |
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