Get rid of scripts folder and enhance Makefile

This commit is contained in:
Seif Lotfy
2016-10-15 16:23:49 +02:00
committed by Travis Reeder
parent 7963d5a12f
commit cdf4ba1f96
14 changed files with 21 additions and 53 deletions

View File

@@ -1,21 +0,0 @@
The tests in these directory will test all the API endpoints and options.
One time:
```sh
bundle install
```
Start `iron/worker-api` and `iron/worker-runner`
Then:
```sh
HOST=localhost:8080 bundle exec ruby test.rb
```
To run single test, add `-n testname`
To test private images use env variables `TEST_AUTH` and `TEST_PRIVATE_IMAGE`
`TEST_AUTH` is encoded to base64 `user:pass` string.