Skip to content

Instantly share code, notes, and snippets.

@michelleN
Last active December 23, 2015 21:47
Show Gist options
  • Save michelleN/d8c5e45c0beb27e7e1fe to your computer and use it in GitHub Desktop.
Save michelleN/d8c5e45c0beb27e7e1fe to your computer and use it in GitHub Desktop.
deis workflow testing and test setup and comments
Following directions at https://github.com/deis/workflow/blob/acd46da6e7785ea23050e8dd01eaee30c63dd1bc/docs/src/installing-deis/installing-the-deis-platform.md
1. Get a Kubernetes cluster (Note: kubernetes vagrant guide is not perfect.)
2. Use helm to install deis using the deis/charts
3. Grab the latest deis client BUTTT remove or replace the old one if you haven't already.
4. Set DEIS_WORKFLOW_SERVICE_HOST env variable to the router endpoint.... ex. deis.example.com (example.com comes from the deis-router manifest in the deis/charts.
If you're using vagrant, need to add a line to your /etc/hosts file that looks like this: [ip] example.com deis.example.com. The ip comes from the deis-router pod description, specifically the Node IP line.
5. run `make test-integration`
If you get weird failures like: `./apps_test.go:38: undefined: SatisfyAll` then go a go get -u on gomega. This will fetch and update gomega... so run `go get -u github.com/onsi/gomega`
.. run `make test-integration` again and you should have running tests ... although not all of them will pass... weirdddddd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment