-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable git shallow-clone #508
Conversation
in deploy. This is already in test-helm, but that’s harder to find since it has lots of output. and get nicer command headings for multi-line commands
so that updates must be made explicitly
can result in misidentified commits for images
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
.travis.yml
Outdated
if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TEST" == "helm" ]]; then | ||
openssl aes-256-cbc -K $encrypted_d8355cc3d845_key -iv $encrypted_d8355cc3d845_iv -in travis.enc -out travis -d | ||
chmod 0400 travis | ||
export GIT_SSH_COMMAND="ssh -i ${PWD}/travis" | ||
docker login -u ${DOCKER_USERNAME} -p "${DOCKER_PASSWORD}" | ||
cd helm-chart | ||
chartpress --commit-range "${TRAVIS_COMMIT_RANGE}" --push --publish-chart | ||
git diff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we add a comment saying what the expected output of git diff
is when everything is fine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. Done.
(restarted travis as we had exceeded the GH API limit) |
There is no solution to the GitHub API limit issue other than not testing GitHub repos, since we can't make credentials accessible to pull requests. It should pass once merged, since master has a GitHub token. |
Merging this without waiting for travis. |
Same as jupyterhub/zero-to-jupyterhub-k8s#621
shallow-clone can result in incorrect image tagging if image directories go without updates for a bit.
Additionally:
git diff
after chartpress for easier debugging