From 62b0852f2f558fc6d439bd3b993547a26333f4a5 Mon Sep 17 00:00:00 2001 From: Jordan Brockopp Date: Tue, 22 Sep 2020 14:32:57 -0500 Subject: [PATCH] release: updates for v0.6.0-rc1 (#115) * release: updates for v0.6.0-rc1 * test: fix header version tests --- go.mod | 10 ++++----- go.sum | 35 +++++++++++++------------------- router/middleware/header_test.go | 8 ++++---- version/version.go | 4 ++-- 4 files changed, 25 insertions(+), 32 deletions(-) diff --git a/go.mod b/go.mod index 39d0e569..6d120f38 100644 --- a/go.mod +++ b/go.mod @@ -5,11 +5,11 @@ go 1.13 require ( github.com/coreos/go-semver v0.3.0 github.com/gin-gonic/gin v1.6.3 - github.com/go-vela/pkg-executor v0.5.3-0.20200922165509-f21d78b7ba03 - github.com/go-vela/pkg-queue v0.5.2 - github.com/go-vela/pkg-runtime v0.5.3-0.20200922163421-d7a35f9cc533 - github.com/go-vela/sdk-go v0.5.3-0.20200917170216-ccf8288be03a - github.com/go-vela/types v0.5.3-0.20200915182859-26f35b0bc7f1 + github.com/go-vela/pkg-executor v0.6.0-rc1 + github.com/go-vela/pkg-queue v0.6.0-rc1 + github.com/go-vela/pkg-runtime v0.6.0-rc1 + github.com/go-vela/sdk-go v0.6.0-rc1 + github.com/go-vela/types v0.6.0-rc1 github.com/joho/godotenv v1.3.0 github.com/prometheus/client_golang v1.7.1 github.com/sirupsen/logrus v1.6.0 diff --git a/go.sum b/go.sum index 57a62ff7..344d9f5a 100644 --- a/go.sum +++ b/go.sum @@ -119,26 +119,20 @@ github.com/go-playground/validator/v10 v10.3.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GO github.com/go-redis/redis v6.15.8+incompatible h1:BKZuG6mCnRj5AOaWJXoCgf6rqTYnYJLe4en2hxT7r9o= github.com/go-redis/redis v6.15.8+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-vela/compiler v0.5.2-0.20200918133711-83a4bb35e614 h1:lE8y8/eD3Gx31Ch77ejouHzHTqVGM2Z4bqgA5uxT980= -github.com/go-vela/compiler v0.5.2-0.20200918133711-83a4bb35e614/go.mod h1:jTbvwSWSCUGmPkJlKoLjypBfxHb+uyW6UjfaqTEdr8U= -github.com/go-vela/mock v0.5.2 h1:216z1HeAfCyAcmJZp8dcYI7Mh4foK/QWmnE67cscj6g= -github.com/go-vela/mock v0.5.2/go.mod h1:Hu0ZMXt73NKg/rqEvAwkExnHSYBEUSouf1+u761XjL4= -github.com/go-vela/mock v0.5.3-0.20200917144558-68fea9631030 h1:3bor9TG5dSktOGcRYMId5bssn+FZHAMXmrYPM0vCJXw= -github.com/go-vela/mock v0.5.3-0.20200917144558-68fea9631030/go.mod h1:5C60piS4T523++JUsVZg5x3p8XIQQZigcjPcpzI6uxA= -github.com/go-vela/pkg-executor v0.5.3-0.20200922165509-f21d78b7ba03 h1:ad4ZWL4F5tspKr9SDesUtp/1JUxtHuOcPsqkYj2MwIQ= -github.com/go-vela/pkg-executor v0.5.3-0.20200922165509-f21d78b7ba03/go.mod h1:sL5kLlGQSUORdS5dYM/013yfQR9pwVc6GlBun2a8UBI= -github.com/go-vela/pkg-queue v0.5.2 h1:mwrd7oEJfjsknXCO35AR0VnjyEXOqaXt9R0xnhPLwI4= -github.com/go-vela/pkg-queue v0.5.2/go.mod h1:/8B1BLeu2zyxZVvqSEU2zHYzRjppxji4+ZUaRrruoYM= -github.com/go-vela/pkg-runtime v0.5.3-0.20200922163421-d7a35f9cc533 h1:zMfCU/86mqUEqR4bloawIQHyCPCwJY5AbSxqv6snouM= -github.com/go-vela/pkg-runtime v0.5.3-0.20200922163421-d7a35f9cc533/go.mod h1:W+TFcRGyB5CvzHXNZ8Ed70Rc8n1lEOEGxlKONZBR6u0= -github.com/go-vela/sdk-go v0.5.2 h1:c3Rtxvv/CfjDW1YzUue4dEdz+YnSacIMC3xT7df7o7I= -github.com/go-vela/sdk-go v0.5.2/go.mod h1:3xxwXLTGiZomtuwLrz2UqBzlOWc3gpUUndm6wwwQR/g= -github.com/go-vela/sdk-go v0.5.3-0.20200917170216-ccf8288be03a h1:QsG+YbiCwOAsko/AOW6cJuHNBtANCHav8fV/yFG72/U= -github.com/go-vela/sdk-go v0.5.3-0.20200917170216-ccf8288be03a/go.mod h1:WB8PNhn9BqZGlEOrINkIvyckxSkr238KhMXmCqtgZac= -github.com/go-vela/types v0.5.2 h1:bsHUDUw5OdW+7kyu/kN1si/cN/rw6ai3rEQtJD9XcQs= -github.com/go-vela/types v0.5.2/go.mod h1:G1Qp0JFtXV+QRNTEWXht+WdllOhjAGapg9vBZKdj6N0= -github.com/go-vela/types v0.5.3-0.20200915182859-26f35b0bc7f1 h1:rPqRAWikGpmYak86FjbecT5oecn647HljJbBs76mJ6w= -github.com/go-vela/types v0.5.3-0.20200915182859-26f35b0bc7f1/go.mod h1:G1Qp0JFtXV+QRNTEWXht+WdllOhjAGapg9vBZKdj6N0= +github.com/go-vela/compiler v0.6.0-rc1 h1:MgjofP4VO+8YFloK1GQBq5PoKCLQDegWBEB6zeEnyrU= +github.com/go-vela/compiler v0.6.0-rc1/go.mod h1:q+06ngm8r84Z03TUHmMkhHY7CZHlax8uPjSZf5l/Bl8= +github.com/go-vela/mock v0.6.0-rc1 h1:hB2NEEpaF65plE97AJXn4NY2OW7xnd5cvuSAAuzJ/ts= +github.com/go-vela/mock v0.6.0-rc1/go.mod h1:6k2CK115mHb8gaGSJXvL6lcfanuz77FL9T5D9Afc1sU= +github.com/go-vela/pkg-executor v0.6.0-rc1 h1:+2fkna9hydugMHufDjN/FsY+bNxUzKUv992f0wk4mjM= +github.com/go-vela/pkg-executor v0.6.0-rc1/go.mod h1:vW2zHQnzcq03Ul9hZ1SmLbzcqNOC9H/u9YgPzULnlt0= +github.com/go-vela/pkg-queue v0.6.0-rc1 h1:4+uqWQAt0MGoKp3Hos61XholqD4wj6Ui338RGiglcU0= +github.com/go-vela/pkg-queue v0.6.0-rc1/go.mod h1:+HEN2Sorq9E2pIT85Lq8wOjQyKEpxm25948KmfwegBc= +github.com/go-vela/pkg-runtime v0.6.0-rc1 h1:ebmRYsJzAMYkN2WfBTnRWmJfQ60sfDwkk5hjYiHbfTU= +github.com/go-vela/pkg-runtime v0.6.0-rc1/go.mod h1:xnRoucOQVR929DUr8OHeXPoqIgefFOPuM8jed4UVRI4= +github.com/go-vela/sdk-go v0.6.0-rc1 h1:eReCh4EcD7Gx8bteOemupQredcv/IGq6JdUp0TfHDNs= +github.com/go-vela/sdk-go v0.6.0-rc1/go.mod h1:aA3hHdSp6X81QuhlUmTNHi1DGf/KxBR3URfbWxDHIGM= +github.com/go-vela/types v0.6.0-rc1 h1:/ZSdzpaVvDr7nbltSdzpU7OyWooDDbiHVhDyjLMQtf4= +github.com/go-vela/types v0.6.0-rc1/go.mod h1:G1Qp0JFtXV+QRNTEWXht+WdllOhjAGapg9vBZKdj6N0= github.com/gogo/protobuf v1.1.1 h1:72R+M5VuhED/KujmZVcIquuo8mBgX4oVda//DQb3PXo= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= @@ -273,7 +267,6 @@ github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+ github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.0 h1:Iw5WCbBcaAAd0fpRb1c9r5YCylv4XDoCSigm1zLevwU= github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= diff --git a/router/middleware/header_test.go b/router/middleware/header_test.go index d1cbae31..ed8493ac 100644 --- a/router/middleware/header_test.go +++ b/router/middleware/header_test.go @@ -256,7 +256,7 @@ func TestMiddleware_Secure_TLS(t *testing.T) { func TestMiddleware_RequestVersion(t *testing.T) { // setup types - wantVersion := "0.5.1" + wantVersion := "0.6.0" // setup context gin.SetMode(gin.DebugMode) @@ -287,7 +287,7 @@ func TestMiddleware_RequestVersion(t *testing.T) { func TestMiddleware_RequestVersion_Prod(t *testing.T) { // setup types - wantVersion := "0.5.1" + wantVersion := "0.6.0" // setup context gin.SetMode(gin.TestMode) @@ -318,7 +318,7 @@ func TestMiddleware_RequestVersion_Prod(t *testing.T) { func TestMiddleware_ResponseVersion(t *testing.T) { // setup types - wantVersion := "0.5.1" + wantVersion := "0.6.0" // setup context gin.SetMode(gin.DebugMode) @@ -349,7 +349,7 @@ func TestMiddleware_ResponseVersion(t *testing.T) { func TestMiddleware_ResponseVersion_Prod(t *testing.T) { // setup types - wantVersion := "0.5.1" + wantVersion := "0.6.0" // setup context gin.SetMode(gin.TestMode) diff --git a/version/version.go b/version/version.go index d997baf2..e4228153 100644 --- a/version/version.go +++ b/version/version.go @@ -10,9 +10,9 @@ var ( // VersionMajor is for an API incompatible changes. VersionMajor int64 // VersionMinor is for functionality in a backwards-compatible manner. - VersionMinor int64 = 5 + VersionMinor int64 = 6 // VersionPatch is for backwards-compatible bug fixes. - VersionPatch int64 = 1 + VersionPatch int64 // VersionDev indicates build metadata. Releases will be empty string. VersionDev string )