out with the old (address) in with the new (address)
This commit is contained in:
parent
8a4a9bdb8c
commit
a1350c6d55
13 changed files with 26 additions and 26 deletions
|
@ -93,7 +93,7 @@ $ sudo service aurora-scheduler restart
|
|||
### Using a custom client
|
||||
Pystachio does yet support launching tasks using custom executors. Therefore, a custom
|
||||
client must be used in order to launch tasks using a custom executor. In this case,
|
||||
we will be using [gorealis](https://github.com/rdelval/gorealis) to launch a task with
|
||||
we will be using [gorealis](https://github.com/paypal/gorealis) to launch a task with
|
||||
the compose executor on Aurora.
|
||||
|
||||
## Configuring the system to run a custom client and docker-compose executor
|
||||
|
@ -179,7 +179,7 @@ $ sudo pip install docker-compose
|
|||
Finally, we must get `gorealis` using the `go get` command:
|
||||
|
||||
```
|
||||
go get github.com/rdelval/gorealis
|
||||
go get github.com/paypal/gorealis
|
||||
```
|
||||
|
||||
# Creating Aurora Jobs
|
||||
|
@ -248,7 +248,7 @@ job = realis.NewJob().
|
|||
|
||||
Using a vagrant setup as an example, we can run the following command to create a compose job:
|
||||
```
|
||||
go run $GOPATH/src/github.com/rdelval/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=create
|
||||
go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=create
|
||||
```
|
||||
|
||||
If everything went according to plan, a new job will be shown in the Aurora UI.
|
||||
|
@ -290,7 +290,7 @@ job = realis.NewJob().
|
|||
|
||||
Using a vagrant setup as an example, we can run the following command to create a Thermos job:
|
||||
```
|
||||
$ cd $GOPATH/src/github.com/rdelval/gorealis
|
||||
$ cd $GOPATH/src/github.com/paypal/gorealis
|
||||
$ go run examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=create -executor=thermos
|
||||
```
|
||||
|
||||
|
@ -310,6 +310,6 @@ $ aurora job killall devcluster/vagrant/prod/docker-compose
|
|||
## Using gorealis
|
||||
|
||||
```
|
||||
$ go run $GOPATH/src/github.com/rdelval/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=kill
|
||||
$ go run $GOPATH/src/github.com/rdelval/gorealis/examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=kill
|
||||
$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=kill
|
||||
$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=kill
|
||||
```
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# How to leverage the library (based on the [sample client](../examples/client.go))
|
||||
|
||||
For a more complete look at the API, please visit https://godoc.org/github.com/rdelval/gorealis
|
||||
For a more complete look at the API, please visit https://godoc.org/github.com/paypal/gorealis
|
||||
|
||||
* Create a default configuration file (alternatively, manually create your own Config):
|
||||
```
|
||||
|
|
|
@ -29,21 +29,21 @@ executor examples, the vagrant box must be configured properly to use the docker
|
|||
|
||||
#### Creating a Thermos job
|
||||
```
|
||||
$ cd $GOPATH/src/github.com/rdelval/gorealis/examples
|
||||
$ cd $GOPATH/src/github.com/paypal/gorealis/examples
|
||||
$ go run client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=create
|
||||
```
|
||||
#### Kill a Thermos job
|
||||
```
|
||||
$ go run $GOPATH/src/github.com/rdelval/gorealis.git/examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=kill
|
||||
$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=kill
|
||||
```
|
||||
|
||||
### Docker Compose executor (custom executor)
|
||||
|
||||
#### Creating Docker Compose executor job
|
||||
```
|
||||
$ go run $GOPATH/src/github.com/rdelval/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=create
|
||||
$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=create
|
||||
```
|
||||
#### Kill a Docker Compose executor job
|
||||
```
|
||||
$ go run $GOPATH/src/github.com/rdelval/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=kill
|
||||
$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=kill
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue