Changing paths to refer to gorealis v2 in order for dependencies to be correct.

This commit is contained in:
Renan DelValle 2018-12-27 10:09:22 -08:00
parent acbe9ad9e5
commit 51597ecb32
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
18 changed files with 57 additions and 26 deletions

View file

@ -22,8 +22,8 @@ import (
"strings"
"time"
realis "github.com/paypal/gorealis"
"github.com/paypal/gorealis/gen-go/apache/aurora"
realis "github.com/paypal/gorealis/v2"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
)
var cmd, executor, url, clustersConfig, clusterName, updateId, username, password, zkUrl, hostList, role string

View file

@ -23,8 +23,8 @@ import (
"os"
"time"
realis "github.com/paypal/gorealis"
"github.com/paypal/gorealis/gen-go/apache/aurora"
realis "github.com/paypal/gorealis/v2"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/pkg/errors"
)

View file

@ -0,0 +1,28 @@
{
"task": {
"processes": [
{
"daemon": false,
"name": "hello",
"ephemeral": false,
"max_failures": 1,
"min_duration": 5,
"cmdline": "\n while true; do\n echo hello world from gorealis\n sleep 10\n done\n ",
"final": false
}
],
"resources": {
"gpu": 0,
"disk": 134217728,
"ram": 134217728,
"cpu": 1.1
},
"constraints": [
{
"order": [
"hello"
]
}
]
}
}