Skip to content
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

Merged
merged 5 commits into from
Apr 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,5 @@ helm-chart/binderhub/charts
# Instructions we download
k8s.txt
helm.txt
travis
helm-chart/travis-binder.yaml
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: python
python:
- 3.6
git:
depth: false
services:
- docker
sudo: required
Expand All @@ -21,20 +23,26 @@ script:
- export BINDER_TEST_NAMESPACE=binder-test-$TEST
- ./ci/test-$TEST
after_failure:
- for pod in $(kubectl get pod --namespace=$BINDER_TEST_NAMESPACE | awk '{print $1}'); do
- |
# get pod logs
for pod in $(kubectl get pod --namespace=$BINDER_TEST_NAMESPACE | awk '{print $1}'); do
echo $pod
kubectl logs --namespace=$BINDER_TEST_NAMESPACE $pod
done
after_success:
- codecov
- |
# publish helm chart
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 will show us the result of the chartpress render.
# This should only include the tags for chartpress images.
git diff
cd ..
fi

Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pytest-cov
pytest-tornado
requests
ruamel.yaml>=0.15
https://github.com/jupyterhub/chartpress/archive/master.tar.gz
https://github.com/jupyterhub/chartpress/archive/271c75e.tar.gz