Moved Realis to be an interface for future testing classes. Removed AddURI API as AddURIs is able to do the same thing
This commit is contained in:
parent
5fc5aa8fc5
commit
c610974208
5 changed files with 32 additions and 26 deletions
|
@ -243,7 +243,7 @@ job = realis.NewJob().
|
|||
InstanceCount(1).
|
||||
AddPorts(1).
|
||||
AddLabel("fileName", "sample-app/docker-compose.yml").
|
||||
AddURI("https://github.com/mesos/docker-compose-executor/releases/download/0.1.0/sample-app.tar.gz", true, true)
|
||||
AddURIs(true, true, "https://github.com/mesos/docker-compose-executor/releases/download/0.1.0/sample-app.tar.gz")
|
||||
```
|
||||
|
||||
Using a vagrant setup as an example, we can run the following command to create a compose job:
|
||||
|
|
|
@ -28,7 +28,7 @@ job = realis.NewJob().
|
|||
InstanceCount(1).
|
||||
AddPorts(1).
|
||||
AddLabel("fileName", "sample-app/docker-compose.yml").
|
||||
AddURI("https://github.com/mesos/docker-compose-executor/releases/download/0.1.0/sample-app.tar.gz", true, true)
|
||||
AddURIs(true, true, "https://github.com/mesos/docker-compose-executor/releases/download/0.1.0/sample-app.tar.gz")
|
||||
```
|
||||
|
||||
* Use client to send a job to Aurora:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue