Skip to content

Commit

Permalink
Merge pull request #533 from minrk/chartpress-repo
Browse files Browse the repository at this point in the history
get chartpress from standalone repo
  • Loading branch information
betatim authored Feb 23, 2018
2 parents 0009a26 + 6aa7c23 commit 2cdcb44
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 202 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ install:
- . ci/minikube.env
- ./ci/install.sh
script:
- ./build.py --commit-range ${TRAVIS_COMMIT_RANGE}
- chartpress --commit-range ${TRAVIS_COMMIT_RANGE}
- ./ci/test.sh

deploy:
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ development.
python3 -m venv .
pip install -r dev-requirements.txt
```
6. Now run `build.py` to build the requisite docker images inside minikube:
6. Now run `chartpress` to build the requisite docker images inside minikube:
```bash
./build.py
chartpress
```

This will build the docker images inside minikube & modify
Expand Down Expand Up @@ -164,9 +164,9 @@ the DockerHub registry, open an issue and ping one of the core devs.
If you have all of this, you can then:
1. Check out latest master of [z2jh](https://github.com/jupyterhub/zero-to-jupyterhub-k8s)
2. Run `./build.py --tag <VERSION> --push --publish-chart`.
2. Run `chartpress --tag <VERSION> --push --publish-chart`.
* For example, to relase `v0.5`, you would run
`./build.py --tag v0.5 --push --publish-chart`.
`chartpress --tag v0.5 --push --publish-chart`.
Note the `v` before version.
3. This will also modify the files `Chart.yaml` and `values.yaml`.
Commit these changes.
Expand Down
193 changes: 0 additions & 193 deletions build.py

This file was deleted.

2 changes: 1 addition & 1 deletion ci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -x
chmod 0400 travis
docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}"
export GIT_SSH_COMMAND="ssh -i ${PWD}/travis"
./build.py --commit-range "${TRAVIS_COMMIT_RANGE}" --push --publish-chart
chartpress --commit-range "${TRAVIS_COMMIT_RANGE}" --push --publish-chart
6 changes: 3 additions & 3 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
PyGithub==1.35
python-dateutil==2.6.1
ruamel.yaml==0.15.35
PyGithub>=1
python-dateutil>=2
https://github.com/jupyterhub/chartpress/archive/master.tar.gz

0 comments on commit 2cdcb44

Please sign in to comment.