update cncd vendor

This commit is contained in:
Brad Rydzewski 2017-05-14 19:28:17 +02:00
parent bf04c791c0
commit 78fa97d53c
2 changed files with 33 additions and 25 deletions

View file

@ -120,10 +120,18 @@ func (c *Compiler) Compile(conf *yaml.Config) *backend.Config {
stage.Alias = "services" stage.Alias = "services"
for _, container := range conf.Services.Containers { for _, container := range conf.Services.Containers {
if !container.Constraints.Match(c.metadata) {
continue
}
c.aliases = append(c.aliases, container.Name) c.aliases = append(c.aliases, container.Name)
} }
for i, container := range conf.Services.Containers { for i, container := range conf.Services.Containers {
if !container.Constraints.Match(c.metadata) {
continue
}
name := fmt.Sprintf("%s_services_%d", c.prefix, i) name := fmt.Sprintf("%s_services_%d", c.prefix, i)
step := c.createProcess(name, container) step := c.createProcess(name, container)
stage.Steps = append(stage.Steps, step) stage.Steps = append(stage.Steps, step)

50
vendor/vendor.json vendored
View file

@ -33,74 +33,74 @@
{ {
"checksumSHA1": "W3AuK8ocqHwlUajGmQLFvnRhTZE=", "checksumSHA1": "W3AuK8ocqHwlUajGmQLFvnRhTZE=",
"path": "github.com/cncd/pipeline/pipeline", "path": "github.com/cncd/pipeline/pipeline",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "Qu2FreqaMr8Yx2bW9O0cxAGgjr0=", "checksumSHA1": "Qu2FreqaMr8Yx2bW9O0cxAGgjr0=",
"path": "github.com/cncd/pipeline/pipeline/backend", "path": "github.com/cncd/pipeline/pipeline/backend",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "0CGXRaYwZhJxGIrGhn8WGpkFqPo=", "checksumSHA1": "0CGXRaYwZhJxGIrGhn8WGpkFqPo=",
"path": "github.com/cncd/pipeline/pipeline/backend/docker", "path": "github.com/cncd/pipeline/pipeline/backend/docker",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "8Hj/OZnYZyz5N2hqENCTTaGtkNQ=", "checksumSHA1": "8Hj/OZnYZyz5N2hqENCTTaGtkNQ=",
"path": "github.com/cncd/pipeline/pipeline/frontend", "path": "github.com/cncd/pipeline/pipeline/frontend",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "9opqXFEPe4aCzLgE7WWmcT0luyI=", "checksumSHA1": "9opqXFEPe4aCzLgE7WWmcT0luyI=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "y6ZbQErpiByUj4rJAP0GVyIVSI0=", "checksumSHA1": "KbcY6d5x1qa77ug9pMnzbqU+GTo=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/compiler", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/compiler",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "Q0GkNUFamVYIA1Fd8r0A5M6Gx54=", "checksumSHA1": "Q0GkNUFamVYIA1Fd8r0A5M6Gx54=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/linter", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/linter",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "kx2sPUIMozPC/g6E4w48h3FfH3k=", "checksumSHA1": "kx2sPUIMozPC/g6E4w48h3FfH3k=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/matrix", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/matrix",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "L7Q5qJmPITNmvFEEaj5MPwCWFRk=", "checksumSHA1": "L7Q5qJmPITNmvFEEaj5MPwCWFRk=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/types", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/types",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "2/3f3oNmxXy5kcrRLCFa24Oc9O4=", "checksumSHA1": "2/3f3oNmxXy5kcrRLCFa24Oc9O4=",
"path": "github.com/cncd/pipeline/pipeline/interrupt", "path": "github.com/cncd/pipeline/pipeline/interrupt",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "uOjTfke7Qxosrivgz/nVTHeIP5g=", "checksumSHA1": "uOjTfke7Qxosrivgz/nVTHeIP5g=",
"path": "github.com/cncd/pipeline/pipeline/multipart", "path": "github.com/cncd/pipeline/pipeline/multipart",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "vWImaniGEUutEvLvNCzTpSRSArg=", "checksumSHA1": "vWImaniGEUutEvLvNCzTpSRSArg=",
"path": "github.com/cncd/pipeline/pipeline/rpc", "path": "github.com/cncd/pipeline/pipeline/rpc",
"revision": "7635f50f924ab593538fcff12ed3d33fe4e7777f", "revision": "b0776dfae18d347cbccc8c76874bbbedb7494fdb",
"revisionTime": "2017-05-12T10:18:20Z" "revisionTime": "2017-05-14T17:21:45Z"
}, },
{ {
"checksumSHA1": "7Qj1DK0ceAXkYztW0l3+L6sn+V8=", "checksumSHA1": "7Qj1DK0ceAXkYztW0l3+L6sn+V8=",