This commit is contained in:
Brad Rydzewski 2018-10-18 22:33:56 -07:00
parent a1d270a253
commit eb96456909
3 changed files with 6 additions and 3 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.6 ] tag: [ 0.8, 0.8.7 ]
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.6 ] tag: [ 0.8, 0.8.7 ]
when: when:
event: tag event: tag

View file

@ -188,6 +188,9 @@ func LogStreamSSE(c *gin.Context) {
go func() { go func() {
// TODO remove global variable // TODO remove global variable
Config.Services.Logs.Tail(ctx, fmt.Sprint(proc.ID), func(entries ...*logging.Entry) { Config.Services.Logs.Tail(ctx, fmt.Sprint(proc.ID), func(entries ...*logging.Entry) {
defer func() {
recover() // fix #2480
}()
for _, entry := range entries { for _, entry := range entries {
select { select {
case <-ctx.Done(): case <-ctx.Done():

View file

@ -22,7 +22,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 = 6 VersionPatch int64 = 7
// 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.