bump version number

This commit is contained in:
Brad Rydzewski 2018-01-10 13:31:07 -08:00
parent fc22c5b39a
commit 3454e95f31
4 changed files with 47 additions and 30 deletions

View file

@ -118,7 +118,7 @@ pipeline:
image: plugins/docker image: plugins/docker
repo: drone/drone repo: drone/drone
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: [ 0.8, 0.8.3 ] tag: [ 0.8, 0.8.4 ]
when: when:
event: tag event: tag
@ -127,7 +127,7 @@ pipeline:
repo: drone/agent repo: drone/agent
dockerfile: Dockerfile.agent dockerfile: Dockerfile.agent
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: [ 0.8, 0.8.3 ] tag: [ 0.8, 0.8.4 ]
when: when:
event: tag event: tag

View file

@ -4,6 +4,7 @@ import (
"context" "context"
"encoding/json" "encoding/json"
"time" "time"
"log"
"github.com/cncd/pipeline/pipeline/backend" "github.com/cncd/pipeline/pipeline/backend"
"github.com/cncd/pipeline/pipeline/rpc/proto" "github.com/cncd/pipeline/pipeline/rpc/proto"
@ -46,6 +47,8 @@ func (c *client) Next(ctx context.Context, f Filter) (*Pipeline, error) {
res, err = c.client.Next(ctx, req) res, err = c.client.Next(ctx, req)
if err == nil { if err == nil {
break break
} else {
log.Printf("grpc error: done(): code: %v: %s", grpc.Code(err), err)
} }
switch grpc.Code(err) { switch grpc.Code(err) {
case case
@ -84,6 +87,8 @@ func (c *client) Wait(ctx context.Context, id string) (err error) {
_, err = c.client.Wait(ctx, req) _, err = c.client.Wait(ctx, req)
if err == nil { if err == nil {
break break
} else {
log.Printf("grpc error: wait(): code: %v: %s", grpc.Code(err), err)
} }
switch grpc.Code(err) { switch grpc.Code(err) {
case case
@ -116,6 +121,8 @@ func (c *client) Init(ctx context.Context, id string, state State) (err error) {
_, err = c.client.Init(ctx, req) _, err = c.client.Init(ctx, req)
if err == nil { if err == nil {
break break
} else {
log.Printf("grpc error: init(): code: %v: %s", grpc.Code(err), err)
} }
switch grpc.Code(err) { switch grpc.Code(err) {
case case
@ -148,6 +155,8 @@ func (c *client) Done(ctx context.Context, id string, state State) (err error) {
_, err = c.client.Done(ctx, req) _, err = c.client.Done(ctx, req)
if err == nil { if err == nil {
break break
} else {
log.Printf("grpc error: done(): code: %v: %s", grpc.Code(err), err)
} }
switch grpc.Code(err) { switch grpc.Code(err) {
case case
@ -173,6 +182,8 @@ func (c *client) Extend(ctx context.Context, id string) (err error) {
_, err = c.client.Extend(ctx, req) _, err = c.client.Extend(ctx, req)
if err == nil { if err == nil {
break break
} else {
log.Printf("grpc error: extend(): code: %v: %s", grpc.Code(err), err)
} }
switch grpc.Code(err) { switch grpc.Code(err) {
case case
@ -205,6 +216,8 @@ func (c *client) Update(ctx context.Context, id string, state State) (err error)
_, err = c.client.Update(ctx, req) _, err = c.client.Update(ctx, req)
if err == nil { if err == nil {
break break
} else {
log.Printf("grpc error: update(): code: %v: %s", grpc.Code(err), err)
} }
switch grpc.Code(err) { switch grpc.Code(err) {
case case
@ -238,6 +251,8 @@ func (c *client) Upload(ctx context.Context, id string, file *File) (err error)
_, err = c.client.Upload(ctx, req) _, err = c.client.Upload(ctx, req)
if err == nil { if err == nil {
break break
} else {
log.Printf("grpc error: upload(): code: %v: %s", grpc.Code(err), err)
} }
switch grpc.Code(err) { switch grpc.Code(err) {
case case
@ -268,6 +283,8 @@ func (c *client) Log(ctx context.Context, id string, line *Line) (err error) {
_, err = c.client.Log(ctx, req) _, err = c.client.Log(ctx, req)
if err == nil { if err == nil {
break break
} else {
log.Printf("grpc error: log(): code: %v: %s", grpc.Code(err), err)
} }
switch grpc.Code(err) { switch grpc.Code(err) {
case case

54
vendor/vendor.json vendored
View file

@ -195,80 +195,80 @@
{ {
"checksumSHA1": "W3AuK8ocqHwlUajGmQLFvnRhTZE=", "checksumSHA1": "W3AuK8ocqHwlUajGmQLFvnRhTZE=",
"path": "github.com/cncd/pipeline/pipeline", "path": "github.com/cncd/pipeline/pipeline",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "iRKdpheRPBTP0DKTQH7zmE2PI34=", "checksumSHA1": "iRKdpheRPBTP0DKTQH7zmE2PI34=",
"path": "github.com/cncd/pipeline/pipeline/backend", "path": "github.com/cncd/pipeline/pipeline/backend",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "EHJGG1USUliP8nzNWV/axO5KLzw=", "checksumSHA1": "EHJGG1USUliP8nzNWV/axO5KLzw=",
"path": "github.com/cncd/pipeline/pipeline/backend/docker", "path": "github.com/cncd/pipeline/pipeline/backend/docker",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "HWV2BBLXS4gY5eLJeNIg7Z6nAOA=", "checksumSHA1": "HWV2BBLXS4gY5eLJeNIg7Z6nAOA=",
"path": "github.com/cncd/pipeline/pipeline/frontend", "path": "github.com/cncd/pipeline/pipeline/frontend",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "ncGH2MfHDtM7/dNzj2i+lnXFnf4=", "checksumSHA1": "ncGH2MfHDtM7/dNzj2i+lnXFnf4=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "cdjOSSSS5Gzx7gRLNvObQvNJWYg=", "checksumSHA1": "cdjOSSSS5Gzx7gRLNvObQvNJWYg=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/compiler", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/compiler",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "Sj2VYU+asWToYriIqcinav5MJZo=", "checksumSHA1": "Sj2VYU+asWToYriIqcinav5MJZo=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/linter", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/linter",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"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": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "L7Q5qJmPITNmvFEEaj5MPwCWFRk=", "checksumSHA1": "L7Q5qJmPITNmvFEEaj5MPwCWFRk=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/types", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/types",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "2/3f3oNmxXy5kcrRLCFa24Oc9O4=", "checksumSHA1": "2/3f3oNmxXy5kcrRLCFa24Oc9O4=",
"path": "github.com/cncd/pipeline/pipeline/interrupt", "path": "github.com/cncd/pipeline/pipeline/interrupt",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "uOjTfke7Qxosrivgz/nVTHeIP5g=", "checksumSHA1": "uOjTfke7Qxosrivgz/nVTHeIP5g=",
"path": "github.com/cncd/pipeline/pipeline/multipart", "path": "github.com/cncd/pipeline/pipeline/multipart",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "5oiGroE8hLXcj9hcZ+GGoBEm3o0=", "checksumSHA1": "mfWlnRAr5B4+RL13W3s0BQVBofM=",
"path": "github.com/cncd/pipeline/pipeline/rpc", "path": "github.com/cncd/pipeline/pipeline/rpc",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "N+3wNQ8hc/6yrh3FxbaxkEVwrkY=", "checksumSHA1": "N+3wNQ8hc/6yrh3FxbaxkEVwrkY=",
"path": "github.com/cncd/pipeline/pipeline/rpc/proto", "path": "github.com/cncd/pipeline/pipeline/rpc/proto",
"revision": "f8c48fc9fb9fd113c6e7dd941d63bb9f86a623cb", "revision": "3a09486affc9215ba52f55b1f6e10182458d1aba",
"revisionTime": "2017-12-01T21:30:15Z" "revisionTime": "2018-01-10T21:28:38Z"
}, },
{ {
"checksumSHA1": "7Qj1DK0ceAXkYztW0l3+L6sn+V8=", "checksumSHA1": "7Qj1DK0ceAXkYztW0l3+L6sn+V8=",

View file

@ -8,7 +8,7 @@ var (
// VersionMinor is for functionality in a backwards-compatible manner. // VersionMinor is for functionality in a backwards-compatible manner.
VersionMinor int64 = 8 VersionMinor int64 = 8
// VersionPatch is for backwards-compatible bug fixes. // VersionPatch is for backwards-compatible bug fixes.
VersionPatch int64 = 3 VersionPatch int64 = 4
// VersionPre indicates prerelease. // VersionPre indicates prerelease.
VersionPre string VersionPre string
// VersionDev indicates development branch. Releases will be empty string. // VersionDev indicates development branch. Releases will be empty string.