diff --git a/go.mod b/go.mod index c18b11d7..8b3fb806 100644 --- a/go.mod +++ b/go.mod @@ -3,27 +3,20 @@ module github.com/go-vela/worker go 1.13 require ( + github.com/cespare/xxhash/v2 v2.1.1 // indirect github.com/coreos/go-semver v0.3.0 github.com/gin-gonic/gin v1.5.0 - github.com/go-vela/pkg-executor v0.0.0-20200409152007-dd0ea738d48e - github.com/go-vela/pkg-queue v0.0.0-20200324143217-040845faaf50 - github.com/go-vela/pkg-runtime v0.0.0-20200409170123-8220bae0dff7 - github.com/go-vela/sdk-go v0.3.1-0.20200316181126-22974be2a711 - github.com/go-vela/types v0.3.1-0.20200408124446-5750ec2cac11 + github.com/go-vela/pkg-executor v0.4.0-rc1 + github.com/go-vela/pkg-queue v0.4.0-rc1 + github.com/go-vela/pkg-runtime v0.4.0-rc1 + github.com/go-vela/sdk-go v0.4.0-rc1 + github.com/go-vela/types v0.4.0-rc1 github.com/joho/godotenv v1.3.0 github.com/prometheus/client_golang v1.2.1 + github.com/prometheus/client_model v0.0.0-20191202183732-d1d2010b5bee // indirect + github.com/prometheus/procfs v0.0.8 // indirect github.com/sirupsen/logrus v1.5.0 github.com/urfave/cli/v2 v2.2.0 golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637 ) - -replace github.com/go-vela/pkg-executor => github.com/GregoryDosh/pkg-executor v0.0.0-20200410001857-bf649792150f - -replace github.com/go-vela/pkg-queue => github.com/GregoryDosh/pkg-queue v0.0.0-20200409234805-1d6182a8eba4 - -replace github.com/go-vela/pkg-runtime => github.com/GregoryDosh/pkg-runtime v0.0.0-20200410000527-9a1b10bc1f14 - -replace github.com/go-vela/worker => github.com/GregoryDosh/worker v0.3.2-0.20200410002335-f24601f8a167 - -replace github.com/go-vela/compiler => github.com/GregoryDosh/compiler v0.3.1 diff --git a/go.sum b/go.sum index 084da9b7..b1d02361 100644 --- a/go.sum +++ b/go.sum @@ -15,14 +15,6 @@ github.com/Bose/minisentinel v0.0.0-20200130220412-917c5a9223bb/go.mod h1:WsAABb github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/FZambia/sentinel v1.0.0 h1:KJ0ryjKTZk5WMp0dXvSdNqp3lFaW1fNFuEYfrkLOYIc= github.com/FZambia/sentinel v1.0.0/go.mod h1:ytL1Am/RLlAoAXG6Kj5LNuw/TRRQrv2rt2FT26vP5gI= -github.com/GregoryDosh/compiler v0.3.1/go.mod h1:tYW8rQCmt3BlVYQi1Uatc0ir3HnYuUknjA4+uiP6uU0= -github.com/GregoryDosh/pkg-executor v0.0.0-20200410001857-bf649792150f h1:SAbktxmRaUL3677a/o4zqKfn4OvlnqBB0tQIx3KIBS0= -github.com/GregoryDosh/pkg-executor v0.0.0-20200410001857-bf649792150f/go.mod h1:7Pec5AgoZVTbujcgLmrOwrZYB1vDVlLErP/9/TEQxuM= -github.com/GregoryDosh/pkg-queue v0.0.0-20200409234805-1d6182a8eba4 h1:Itj/waC2/4VB2cjjL07OzQP2pZWkaAGwYdZgPbj45sE= -github.com/GregoryDosh/pkg-queue v0.0.0-20200409234805-1d6182a8eba4/go.mod h1:34uMbWFP1mYRnG11FisxzcfunYoCF4w6rO+6U3XOQF4= -github.com/GregoryDosh/pkg-runtime v0.0.0-20200410000527-9a1b10bc1f14 h1:RBzVfeBFRmn5D62qBWnkQ01WQjS2jyUHb/BlNCAC+dg= -github.com/GregoryDosh/pkg-runtime v0.0.0-20200410000527-9a1b10bc1f14/go.mod h1:28KHemLyasKErUlGL9BuQfRB4rBeqGp3pmyErpTuiug= -github.com/GregoryDosh/worker v0.3.2-0.20200410002335-f24601f8a167/go.mod h1:7iU43JsoNx4IuGVBHmcb2wx2FcBOoj3uG/8bN59BrzQ= github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= @@ -50,6 +42,8 @@ github.com/buildkite/yaml v0.0.0-20181016232759-0caa5f0796e3/go.mod h1:5hCug3EZa github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash/v2 v2.1.0 h1:yTUvW7Vhb89inJ+8irsUqiWjh8iT6sQPZiQzI6ReGkA= github.com/cespare/xxhash/v2 v2.1.0/go.mod h1:dgIUBU3pDso/gPgZ1osOZ0iQf77oPR28Tjxl5dIMyVM= +github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -112,21 +106,19 @@ github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+ github.com/go-redis/redis v6.15.7+incompatible h1:3skhDh95XQMpnqeqNftPkQD9jL9e5e36z/1SUm6dy1U= github.com/go-redis/redis v6.15.7+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-vela/mock v0.3.0 h1:R+0NWK+JgW4dy85TUi6qt1CgbDvGMeGCG/Vcqxt4754= -github.com/go-vela/mock v0.3.0/go.mod h1:pVJNaFvhqN174VZctH09HAdwvsWexA1Y9jT4xgyBRLM= -github.com/go-vela/mock v0.3.1-0.20200330162331-99c39325ff38 h1:IImUUJF4t0f/RVAh4K1uzzQtwaJLO01prIZjd8z3r54= -github.com/go-vela/mock v0.3.1-0.20200330162331-99c39325ff38/go.mod h1:NEOd1uO5PQDxXnlaFWdxtmNmlTZq2l276BPHhmthTJk= -github.com/go-vela/sdk-go v0.3.0 h1:7QOISiwlKIwQ+gBo35d7v9kVMJ5AHRITgFlmKOaATco= -github.com/go-vela/sdk-go v0.3.0/go.mod h1:HweT1gVTnbEKX95IJmqoe22i0k326whrzY4ytjB06JY= -github.com/go-vela/sdk-go v0.3.1-0.20200316181126-22974be2a711 h1:UluZMmYC/AHpmhOqB2n9YPCj2vAYi2aeYNwOdKAA+o4= -github.com/go-vela/sdk-go v0.3.1-0.20200316181126-22974be2a711/go.mod h1:HweT1gVTnbEKX95IJmqoe22i0k326whrzY4ytjB06JY= -github.com/go-vela/types v0.3.0 h1:wteEelsBvfWeXpnMbWK1NcQ2dZHmLOlPvBaZX7YabAE= -github.com/go-vela/types v0.3.0/go.mod h1:LNDrn7/nV38H0HmRfYv6YfPNb881R5NRE1YKXeVqpF4= -github.com/go-vela/types v0.3.1-0.20200228213236-820f8df3a782 h1:5+2BLMClLg+o6mky5G0xRTfw/15zOyyZhJKWp726vu4= -github.com/go-vela/types v0.3.1-0.20200228213236-820f8df3a782/go.mod h1:LNDrn7/nV38H0HmRfYv6YfPNb881R5NRE1YKXeVqpF4= -github.com/go-vela/types v0.3.1-0.20200406195903-8be24be6c8f1/go.mod h1:vph+YTAkIw0fJr7gmlIjXRIuc4QXUnQvdDvH2/Oh7ts= -github.com/go-vela/types v0.3.1-0.20200408124446-5750ec2cac11 h1:2JfP3pDOiXpqSyCM3n5ttHviSSYsA7zyVvGTYHP9fEA= -github.com/go-vela/types v0.3.1-0.20200408124446-5750ec2cac11/go.mod h1:vph+YTAkIw0fJr7gmlIjXRIuc4QXUnQvdDvH2/Oh7ts= +github.com/go-vela/compiler v0.4.0-rc1/go.mod h1:mEBy+f9nPTVJSDOsRxzWmXs7DZjXYCCvJQVggXnYD5E= +github.com/go-vela/mock v0.4.0-rc1 h1:azyMn3gb20EF7WeufFWyRrE8FOcUvE9gFc/TiydZlDU= +github.com/go-vela/mock v0.4.0-rc1/go.mod h1:aYxarMYdXI3uya3rNoRriX5x+2gTVxSz33U93RVR+tY= +github.com/go-vela/pkg-executor v0.4.0-rc1 h1:4cMt6PLGpNJMylhUjPzi1V30umx+K40hHR7np4GvS+w= +github.com/go-vela/pkg-executor v0.4.0-rc1/go.mod h1:EFcHcELnBaVFO/J78OTdcW0XCsUPAfm3gwrvLk0AQ/o= +github.com/go-vela/pkg-queue v0.4.0-rc1 h1:xbCZWG9Pa+hWB6vM7+C3/d2i77njYdYHSpFaQTsoyOQ= +github.com/go-vela/pkg-queue v0.4.0-rc1/go.mod h1:W2TE+wq29ZSFZUqTg2UjkyjDdPK5t+V9lXnBQLi4BfM= +github.com/go-vela/pkg-runtime v0.4.0-rc1 h1:P3kvFHyab3e7y+W/5/WqRdOWz7n+941Egz4t+S5GB24= +github.com/go-vela/pkg-runtime v0.4.0-rc1/go.mod h1:GCsTE95qbx6E1VXzyYpPR0RI/VFkH5B++PCgKRl7N04= +github.com/go-vela/sdk-go v0.4.0-rc1 h1:7zhuazKfC4m1VuUuNXpcb8pZZOvIhUcYTND77z6ILhM= +github.com/go-vela/sdk-go v0.4.0-rc1/go.mod h1:B6dtMfwQxVktPE/j2ThtblFMDpH+fKPaVNmzLlor2/o= +github.com/go-vela/types v0.4.0-rc1 h1:pXHj1pcCCWiBiReAPpACK2V0qltQaBlqf9IPro24FlQ= +github.com/go-vela/types v0.4.0-rc1/go.mod h1:vph+YTAkIw0fJr7gmlIjXRIuc4QXUnQvdDvH2/Oh7ts= 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= @@ -235,6 +227,7 @@ 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.10.3/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= @@ -264,6 +257,8 @@ github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1: github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20191202183732-d1d2010b5bee h1:iBZPTYkGLvdu6+A5TsMUJQkQX9Ad4aCEnSQtdxPuTCQ= +github.com/prometheus/client_model v0.0.0-20191202183732-d1d2010b5bee/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.7.0 h1:L+1lyG48J1zAQXA3RBX/nG/B3gjlHq0zTt2tlbJLyCY= github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= @@ -271,6 +266,8 @@ github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.5 h1:3+auTFlqw+ZaQYJARz6ArODtkaIwtvBTx3N2NehQlL8= github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= +github.com/prometheus/procfs v0.0.8 h1:+fpWZdT24pJBiqJdAwYBjPSk+5YmQzYNPYzQsdzLkt8= +github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=