Skip to content

Commit 5a4174c

Browse files
author
Matthew Fisher
committed
Merge pull request #71 from bacongobbler/upload-v2-client
feat(travis): upload docs and client to S3
2 parents 3a859c9 + 62b0b25 commit 5a4174c

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

.travis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,18 @@ install:
3434
- GLIDE_HOME=/home/travis/.glide make -C client bootstrap
3535
script:
3636
- make test
37-
- make -C client/ test
38-
- make -C docs/ test
37+
- make -C client/ build test
38+
- make -C docs/ build test
3939
deploy:
4040
provider: script
41+
# ensure client/doc builds aren't removed
42+
# see https://docs.travis-ci.com/user/deployment/#Uploading-Files
43+
skip_cleanup: true
4144
script: _scripts/deploy.sh
4245
on:
4346
branch: master
47+
addons:
48+
artifacts:
49+
paths:
50+
- client/deis
51+
- docs/_build

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ $ kubectl get pods --namespace=deis
3737
Once this is done, you can SSH into the minion running the controller and run the following:
3838

3939
```
40-
$ curl -sSL http://deis.io/deis-cli/install.sh | sh
40+
$ curl -sSL https://s3-us-west-1.amazonaws.com/bacongobbler/bacongobbler/workflow/19/19.1/client/deis
41+
$ chmod 755 deis
4142
$ sudo mv deis /bin
4243
$ kubectl get service --namespace=deis deis-workflow
4344
$ deis register 10.247.59.157 # or the appropriate CLUSTER_IP
@@ -50,6 +51,12 @@ $ deis pull deis/example-go -a madras-radiator
5051
Creating build... ..o
5152
```
5253

54+
If you want to retrieve the latest client build, check
55+
[the latest builds on Travis CI](https://travis-ci.org/deis/workflow/builds), notice the last build
56+
number that went green and use the following URL to retrieve the client build:
57+
58+
<https://s3-us-west-1.amazonaws.com/get-deis/deis/workflow/$BUILD_NUM/$BUILD_NUM.1/client/deis>
59+
5360
If you want to hack on a new feature, build the deis/workflow image and push it to a Docker
5461
registry. The `$DEIS_REGISTRY` environment variable must point to a registry accessible to your
5562
Kubernetes cluster. You may need to configure the Docker engines on your Kubernetes nodes to allow

0 commit comments

Comments
 (0)