Commit f686b50c authored by Alessio Caiazza's avatar Alessio Caiazza

Move dependencies to dep

parent 1c1b6146
Pipeline #16232249 passed with stages
in 29 minutes and 18 seconds
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
name = "github.com/mattn/go-zglob"
packages = [".", "fastwalk"]
revision = "4b74c24375b3b1ee226867156e01996f4e19a8d6"
[[projects]]
name = "cloud.google.com/go"
packages = ["compute/metadata","internal"]
revision = "05253f6a829103296c351b643f6815aedd81a3fb"
[[projects]]
name = "github.com/Azure/go-ansiterm"
packages = [".","winterm"]
revision = "fa152c58bc15761d0200cb75fe958b89a9d4888e"
[[projects]]
name = "github.com/BurntSushi/toml"
packages = ["."]
revision = "a368813c5e648fee92e5f6c30e3944ff9d5e8895"
[[projects]]
name = "github.com/Microsoft/go-winio"
packages = ["."]
revision = "ce2922f643c8fd76b46cadc7f404a06282678b34"
[[projects]]
name = "github.com/Sirupsen/logrus"
packages = ["."]
revision = "4b6ea7319e214d98c938f12692336f7ca9348d6b"
[[projects]]
branch = "master"
name = "github.com/ayufan/golang-kardianos-service"
packages = ["."]
revision = "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3"
[[projects]]
branch = "master"
name = "github.com/beorn7/perks"
packages = ["quantile"]
revision = "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9"
[[projects]]
name = "github.com/blang/semver"
packages = ["."]
revision = "60ec3488bfea7cca02b021d106d9911120d25fe9"
version = "v3.3.0"
[[projects]]
branch = "master"
name = "github.com/cloudfoundry-incubator/candiedyaml"
packages = ["."]
revision = "a41693b7b7afb422c7ecb1028458ab27da047bbb"
[[projects]]
name = "github.com/coreos/go-oidc"
packages = ["http","jose","key","oauth2","oidc"]
revision = "1efe0e1303a62da553fcb6beb8bd2aa9250c0ca8"
[[projects]]
name = "github.com/coreos/pkg"
packages = ["health","httputil","timeutil"]
revision = "3ac0863d7acf3bc44daf49afef8919af12f704ef"
version = "v3"
[[projects]]
name = "github.com/davecgh/go-spew"
packages = ["spew"]
revision = "346938d642f2ec3594ed81d874461961cd0faa76"
version = "v1.1.0"
[[projects]]
name = "github.com/docker/distribution"
packages = [".","context","digest","reference","registry/api/errcode","registry/api/v2","registry/client","registry/client/auth","registry/client/auth/challenge","registry/client/transport","registry/storage/cache","registry/storage/cache/memory","uuid"]
revision = "325b0804fef3a66309d962357aac3c2ce3f4d329"
[[projects]]
name = "github.com/docker/docker"
packages = ["api/types","api/types/blkiodev","api/types/container","api/types/events","api/types/filters","api/types/mount","api/types/network","api/types/reference","api/types/registry","api/types/strslice","api/types/swarm","api/types/time","api/types/versions","api/types/volume","cliconfig/configfile","cliconfig/credentials","client","daemon/graphdriver","image","image/v1","layer","oci","opts","pkg/archive","pkg/chrootarchive","pkg/fileutils","pkg/homedir","pkg/httputils","pkg/idtools","pkg/ioutils","pkg/jsonlog","pkg/jsonmessage","pkg/longpath","pkg/mount","pkg/plugingetter","pkg/plugins","pkg/plugins/transport","pkg/pools","pkg/promise","pkg/random","pkg/reexec","pkg/stdcopy","pkg/stringid","pkg/system","pkg/tarsum","pkg/term","pkg/term/windows","pkg/tlsconfig","plugin/v2","reference","registry"]
revision = "49bf474f9ed7ce7143a59d1964ff7b7fd9b52178"
[[projects]]
name = "github.com/docker/docker-credential-helpers"
packages = ["client","credentials"]
revision = "b7c53e02cd1a9a01500a58f22d83c6e964bc59db"
[[projects]]
name = "github.com/docker/engine-api"
packages = ["types","types/blkiodev","types/container","types/filters","types/mount","types/network","types/registry","types/strslice","types/swarm","types/versions"]
revision = "4290f40c056686fcaa5c9caf02eac1dde9315adf"
[[projects]]
name = "github.com/docker/go-connections"
packages = ["nat","sockets","tlsconfig"]
revision = "3ede32e2033de7505e6500d6c868c2b9ed9f169d"
version = "v0.3.0"
[[projects]]
name = "github.com/docker/go-units"
packages = ["."]
revision = "eb879ae3e2b84e2a142af415b679ddeda47ec71c"
[[projects]]
name = "github.com/docker/machine"
packages = ["commands/mcndirs","libmachine/log","libmachine/mcnutils","version"]
revision = "7b7a141da84480342357c51838be142bf183b095"
[[projects]]
name = "github.com/docker/spdystream"
packages = [".","spdy"]
revision = "449fdfce4d962303d702fec724ef0ad181c92528"
[[projects]]
name = "github.com/emicklei/go-restful"
packages = [".","log","swagger"]
revision = "89ef8af493ab468a45a42bb0d89a06fccdd2fb22"
[[projects]]
name = "github.com/getsentry/raven-go"
packages = ["."]
revision = "dffeb57df75d6a911f00232155194e43d79d38d7"
[[projects]]
name = "github.com/ghodss/yaml"
packages = ["."]
revision = "aa0c862057666179de291b67d9f093d12b5a8473"
[[projects]]
name = "github.com/go-ini/ini"
packages = ["."]
revision = "20b96f641a5ea98f2f8619ff4f3e061cff4833bd"
[[projects]]
name = "github.com/gogo/protobuf"
packages = ["proto"]
revision = "f20a1444730c7d9949b880a0309e737d007def25"
[[projects]]
branch = "master"
name = "github.com/golang/glog"
packages = ["."]
revision = "23def4e6c14b4da8ac2ed8007337bc5eb5007998"
[[projects]]
name = "github.com/golang/mock"
packages = ["gomock"]
revision = "06883d979f10cc178f2716846215c8cf90f9e363"
[[projects]]
name = "github.com/golang/protobuf"
packages = ["proto"]
revision = "f592bd283e9ef86337a432eb50e592278c3d534d"
[[projects]]
name = "github.com/google/cadvisor"
packages = ["info/v1"]
revision = "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd"
[[projects]]
name = "github.com/google/gofuzz"
packages = ["."]
revision = "fd52762d25a41827db7ef64c43756fd4b9f7e382"
[[projects]]
name = "github.com/gorhill/cronexpr"
packages = ["."]
revision = "f0984319b44273e83de132089ae42b1810f4933b"
[[projects]]
name = "github.com/gorilla/context"
packages = ["."]
revision = "08b5f424b9271eedf6f9f0ce86cb9396ed337a42"
[[projects]]
name = "github.com/gorilla/mux"
packages = ["."]
revision = "599cba5e7b6137d46ddf58fb1765f5d928e69604"
[[projects]]
name = "github.com/hashicorp/go-version"
packages = ["."]
revision = "03c5bf6be031b6dd45afec16b1cf94fc8938bc77"
[[projects]]
name = "github.com/imdario/mergo"
packages = ["."]
revision = "50d4dbd4eb0e84778abe37cefef140271d96fade"
[[projects]]
name = "github.com/jonboulle/clockwork"
packages = ["."]
revision = "e3653ace2d63753697e0e5b07b9393971c0bba9d"
[[projects]]
name = "github.com/jpillora/backoff"
packages = ["."]
revision = "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d"
[[projects]]
name = "github.com/juju/ratelimit"
packages = ["."]
revision = "77ed1c8a01217656d2080ad51981f6e99adaa177"
[[projects]]
name = "github.com/kardianos/osext"
packages = ["."]
revision = "c2c54e542fb797ad986b31721e1baedf214ca413"
[[projects]]
name = "github.com/matttproud/golang_protobuf_extensions"
packages = ["pbutil"]
revision = "3247c84500bff8d9fb6d579d800f20b3e091582c"
version = "v1.0.0"
[[projects]]
name = "github.com/minio/go-homedir"
packages = ["."]
revision = "21304a94172ae3a09dee2cd86a12fb6f842138c7"
[[projects]]
name = "github.com/minio/minio-go"
packages = [".","pkg/credentials","pkg/encrypt","pkg/policy","pkg/s3signer","pkg/s3utils","pkg/set"]
revision = "dadd8d26f79abf80dea812132099217e06f56936"
source = "https://github.com/nolith/minio-go"
version = "3.0.3-nolith"
[[projects]]
name = "github.com/opencontainers/runc"
packages = ["libcontainer/cgroups","libcontainer/cgroups/fs","libcontainer/configs","libcontainer/devices","libcontainer/system","libcontainer/user","libcontainer/utils"]
revision = "94dc520a5732126985fec249f80c91b9e0601815"
[[projects]]
name = "github.com/opencontainers/runtime-spec"
packages = ["specs-go"]
revision = "313f40bdfcc04c6b0f7b8a8c3e91a7b7a3a0ef4e"
[[projects]]
name = "github.com/pborman/uuid"
packages = ["."]
revision = "c55201b036063326c5b1b89ccfe45a184973d073"
[[projects]]
name = "github.com/pkg/errors"
packages = ["."]
revision = "645ef00459ed84a119197bfb8d8205042c6df63d"
version = "v0.8.0"
[[projects]]
name = "github.com/pmezard/go-difflib"
packages = ["difflib"]
revision = "792786c7400a136282c1664665ae0a8db921c6c2"
version = "v1.0.0"
[[projects]]
name = "github.com/prometheus/client_golang"
packages = ["prometheus","prometheus/promhttp"]
revision = "334af0119a8f8fb6af5bb950d535c482cac7f836"
[[projects]]
branch = "master"
name = "github.com/prometheus/client_model"
packages = ["go"]
revision = "99fa1f4be8e564e8a6b613da7fa6f46c9edafc6c"
[[projects]]
name = "github.com/prometheus/common"
packages = ["expfmt","internal/bitbucket.org/ww/goautoneg","model"]
revision = "ebdfc6da46522d58825777cf1f90490a5b1ef1d8"
[[projects]]
name = "github.com/prometheus/procfs"
packages = ["."]
revision = "abf152e5f3e97f2fafac028d2cc06c1feb87ffa5"
[[projects]]
name = "github.com/spf13/pflag"
packages = ["."]
revision = "4f9190456aed1c2113ca51ea9b89219747458dc1"
[[projects]]
name = "github.com/stretchr/objx"
packages = ["."]
revision = "cbeaeb16a013161a98496fad62933b1d21786672"
[[projects]]
name = "github.com/stretchr/testify"
packages = ["assert","mock","require"]
revision = "b1f989447a57594c728884458a39abf3a73447f7"
[[projects]]
name = "github.com/tevino/abool"
packages = ["."]
revision = "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12"
[[projects]]
name = "github.com/ugorji/go"
packages = ["codec"]
revision = "4a1cb5252a6951f715a85d0e4be334c2a2dbf2a2"
[[projects]]
name = "github.com/urfave/cli"
packages = ["."]
revision = "cfb38830724cc34fedffe9a2a29fb54fa9169cd1"
[[projects]]
name = "github.com/vbatts/tar-split"
packages = ["archive/tar","tar/asm","tar/storage"]
revision = "bd4c5d64c3e9297f410025a3b1bd0c58f659e721"
[[projects]]
branch = "master"
name = "gitlab.com/ayufan/golang-cli-helpers"
packages = ["."]
revision = "a7cf72d604cdf0af6031dd5d54a4e513abeff0d4"
[[projects]]
name = "golang.org/x/crypto"
packages = ["curve25519","ssh"]
revision = "1f22c0103821b9390939b6776727195525381532"
[[projects]]
name = "golang.org/x/net"
packages = ["context","context/ctxhttp","http2","http2/hpack","idna","lex/httplex","proxy","websocket"]
revision = "f2499483f923065a842d38eb4c7f1927e6fc6e6d"
[[projects]]
name = "golang.org/x/oauth2"
packages = [".","google","internal","jws","jwt"]
revision = "3b966c7f301c0c71c53d94dc632a62df0a682cd7"
[[projects]]
name = "golang.org/x/sys"
packages = ["unix","windows","windows/registry","windows/svc","windows/svc/eventlog","windows/svc/mgr"]
revision = "042a8f53ce82bbe081222da955159491e32146a0"
[[projects]]
name = "google.golang.org/appengine"
packages = [".","internal","internal/app_identity","internal/base","internal/datastore","internal/log","internal/modules","internal/remote_api","internal/urlfetch","urlfetch"]
revision = "e951d3868b377b14f4e60efa3a301532ee3c1ebf"
[[projects]]
name = "gopkg.in/inf.v0"
packages = ["."]
revision = "3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4"
version = "v0.9.0"
[[projects]]
name = "gopkg.in/yaml.v2"
packages = ["."]
revision = "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e"
[[projects]]
name = "k8s.io/kubernetes"
packages = ["federation/apis/federation","federation/apis/federation/install","federation/apis/federation/v1beta1","pkg/api","pkg/api/endpoints","pkg/api/errors","pkg/api/install","pkg/api/meta","pkg/api/meta/metatypes","pkg/api/pod","pkg/api/resource","pkg/api/service","pkg/api/testapi","pkg/api/unversioned","pkg/api/unversioned/validation","pkg/api/util","pkg/api/v1","pkg/api/validation","pkg/apimachinery","pkg/apimachinery/registered","pkg/apis/apps","pkg/apis/apps/install","pkg/apis/apps/v1alpha1","pkg/apis/authentication.k8s.io","pkg/apis/authentication.k8s.io/install","pkg/apis/authentication.k8s.io/v1beta1","pkg/apis/authorization","pkg/apis/authorization/install","pkg/apis/authorization/v1beta1","pkg/apis/autoscaling","pkg/apis/autoscaling/install","pkg/apis/autoscaling/v1","pkg/apis/batch","pkg/apis/batch/install","pkg/apis/batch/v1","pkg/apis/batch/v2alpha1","pkg/apis/componentconfig","pkg/apis/componentconfig/install","pkg/apis/componentconfig/v1alpha1","pkg/apis/extensions","pkg/apis/extensions/install","pkg/apis/extensions/v1beta1","pkg/apis/policy","pkg/apis/policy/install","pkg/apis/policy/v1alpha1","pkg/apis/rbac","pkg/apis/rbac/install","pkg/apis/rbac/v1alpha1","pkg/auth/user","pkg/capabilities","pkg/client/metrics","pkg/client/restclient","pkg/client/transport","pkg/client/typed/discovery","pkg/client/unversioned","pkg/client/unversioned/auth","pkg/client/unversioned/clientcmd","pkg/client/unversioned/clientcmd/api","pkg/client/unversioned/clientcmd/api/latest","pkg/client/unversioned/clientcmd/api/v1","pkg/client/unversioned/fake","pkg/client/unversioned/remotecommand","pkg/conversion","pkg/conversion/queryparams","pkg/credentialprovider","pkg/fields","pkg/httplog","pkg/kubelet/qos","pkg/kubelet/qos/util","pkg/kubelet/server/remotecommand","pkg/labels","pkg/master/ports","pkg/runtime","pkg/runtime/serializer","pkg/runtime/serializer/json","pkg/runtime/serializer/protobuf","pkg/runtime/serializer/recognizer","pkg/runtime/serializer/streaming","pkg/runtime/serializer/versioning","pkg/types","pkg/util","pkg/util/crypto","pkg/util/errors","pkg/util/flowcontrol","pkg/util/framer","pkg/util/hash","pkg/util/homedir","pkg/util/httpstream","pkg/util/httpstream/spdy","pkg/util/integer","pkg/util/intstr","pkg/util/json","pkg/util/net","pkg/util/net/sets","pkg/util/parsers","pkg/util/rand","pkg/util/runtime","pkg/util/sets","pkg/util/validation","pkg/util/validation/field","pkg/util/wait","pkg/util/wsstream","pkg/util/yaml","pkg/version","pkg/watch","pkg/watch/versioned","plugin/pkg/client/auth","plugin/pkg/client/auth/gcp","plugin/pkg/client/auth/oidc","third_party/forked/reflect","third_party/golang/netutil"]
revision = "b0deb2eb8f4037421077f77cb163dbb4c0a2a9f5"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "6322d60712ef81660df00a477d9c18bdfadadfec92bf1890f8e84abce4af294b"
solver-name = "gps-cdcl"
solver-version = 1
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
ignored = ["test", "appengine"]
# mimic govendor behaviour - not yet shipped in 0.3.2
# [prune]
# non-go = true
# unused-packages = true
# go-tests = true
[[constraint]]
name = "github.com/BurntSushi/toml"
# version = "v0.2.0"
revision = "a368813c5e648fee92e5f6c30e3944ff9d5e8895"
[[constraint]]
name = "github.com/Sirupsen/logrus"
revision = "4b6ea7319e214d98c938f12692336f7ca9348d6b"
[[constraint]]
branch = "master"
name = "github.com/ayufan/golang-kardianos-service"
[[constraint]]
name = "github.com/docker/distribution"
revision = "325b0804fef3a66309d962357aac3c2ce3f4d329"
[[constraint]]
name = "github.com/docker/docker"
# version = "1.13.0"
revision = "49bf474f9ed7ce7143a59d1964ff7b7fd9b52178"
[[constraint]]
name = "github.com/docker/go-connections"
version = "0.3.0"
[[constraint]]
name = "github.com/docker/machine"
# version = "0.13.0"
revision = "7b7a141da84480342357c51838be142bf183b095"
[[constraint]]
name = "github.com/getsentry/raven-go"
revision = "dffeb57df75d6a911f00232155194e43d79d38d7"
[[constraint]]
name = "github.com/golang/mock"
revision = "06883d979f10cc178f2716846215c8cf90f9e363"
[[constraint]]
name = "github.com/gorhill/cronexpr"
revision = "f0984319b44273e83de132089ae42b1810f4933b"
[[constraint]]
name = "github.com/hashicorp/go-version"
revision = "03c5bf6be031b6dd45afec16b1cf94fc8938bc77"
[[constraint]]
name = "github.com/jpillora/backoff"
revision = "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d"
[[constraint]]
name = "github.com/kardianos/osext"
revision = "c2c54e542fb797ad986b31721e1baedf214ca413"
# minio introduces a main package with build +ignore
# that depends on downcased "github.com/sirupsen/logrus"
# this constraint points to a fork that removes such file
[[constraint]]
name = "github.com/minio/minio-go"
# version = "3.0.3"
# revision = "4e0f567303d4cc90ceb055a451959fb9fc391fb9"
version = "3.0.3-nolith"
source = "https://github.com/nolith/minio-go"
[[constraint]]
name = "github.com/prometheus/client_golang"
# version = "0.8.0"
revision = "334af0119a8f8fb6af5bb950d535c482cac7f836"
[[constraint]]
name = "github.com/stretchr/testify"
revision = "b1f989447a57594c728884458a39abf3a73447f7"
[[constraint]]
# branch = "master"
name = "github.com/tevino/abool"
revision = "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12"
[[constraint]]
name = "github.com/urfave/cli"
revision = "cfb38830724cc34fedffe9a2a29fb54fa9169cd1"
[[constraint]]
branch = "master"
name = "gitlab.com/ayufan/golang-cli-helpers"
[[constraint]]
name = "golang.org/x/crypto"
revision = "1f22c0103821b9390939b6776727195525381532"
[[constraint]]
name = "golang.org/x/net"
revision = "f2499483f923065a842d38eb4c7f1927e6fc6e6d"
[[constraint]]
# branch = "v2"
name = "gopkg.in/yaml.v2"
revision = "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e"
[[constraint]]
name = "k8s.io/kubernetes"
# version = "1.3.5"
revision = "b0deb2eb8f4037421077f77cb163dbb4c0a2a9f5"
[[constraint]]
name = "github.com/mattn/go-zglob"
branch = "master"
##
## Refrain innovations ;)
##
[[override]]
name = "cloud.google.com/go"
revision = "05253f6a829103296c351b643f6815aedd81a3fb"
[[override]]
name = "github.com/Azure/go-ansiterm"
revision = "fa152c58bc15761d0200cb75fe958b89a9d4888e"
[[override]]
name = "github.com/Microsoft/go-winio"
revision = "ce2922f643c8fd76b46cadc7f404a06282678b34"
[[override]]
name = "github.com/blang/semver"
version = "v3.3.0"
[[override]]
name = "github.com/coreos/go-oidc"
revision = "1efe0e1303a62da553fcb6beb8bd2aa9250c0ca8"
[[override]]
name = "github.com/docker/docker-credential-helpers"
revision = "b7c53e02cd1a9a01500a58f22d83c6e964bc59db"
[[override]]
name = "github.com/docker/engine-api"
revision = "4290f40c056686fcaa5c9caf02eac1dde9315adf"
[[override]]
name = "github.com/docker/go-units"
revision = "eb879ae3e2b84e2a142af415b679ddeda47ec71c"
[[override]]
name = "github.com/docker/spdystream"
revision = "449fdfce4d962303d702fec724ef0ad181c92528"
[[override]]
name = "github.com/emicklei/go-restful"
revision = "89ef8af493ab468a45a42bb0d89a06fccdd2fb22"
[[override]]
name = "github.com/ghodss/yaml"
revision = "aa0c862057666179de291b67d9f093d12b5a8473"
[[override]]
name = "github.com/go-ini/ini"
revision = "20b96f641a5ea98f2f8619ff4f3e061cff4833bd"
[[override]]
name = "github.com/gogo/protobuf"
revision = "f20a1444730c7d9949b880a0309e737d007def25"
[[override]]
name = "github.com/golang/protobuf"
revision = "f592bd283e9ef86337a432eb50e592278c3d534d"
[[override]]
name = "github.com/google/cadvisor"
revision = "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd"
[[override]]
name = "github.com/google/gofuzz"
revision = "fd52762d25a41827db7ef64c43756fd4b9f7e382"
[[override]]
name = "github.com/gorilla/context"
revision = "08b5f424b9271eedf6f9f0ce86cb9396ed337a42"
[[override]]
name = "github.com/gorilla/mux"
revision = "599cba5e7b6137d46ddf58fb1765f5d928e69604"
[[override]]
name = "github.com/imdario/mergo"
revision = "50d4dbd4eb0e84778abe37cefef140271d96fade"
[[override]]
name = "github.com/jonboulle/clockwork"
revision = "e3653ace2d63753697e0e5b07b9393971c0bba9d"
[[override]]
name = "github.com/juju/ratelimit"
revision = "77ed1c8a01217656d2080ad51981f6e99adaa177"
[[override]]
name = "github.com/minio/go-homedir"
revision = "21304a94172ae3a09dee2cd86a12fb6f842138c7"
[[override]]
name = "github.com/opencontainers/runc"
revision = "94dc520a5732126985fec249f80c91b9e0601815"
[[override]]
name = "github.com/opencontainers/runtime-spec"
revision = "313f40bdfcc04c6b0f7b8a8c3e91a7b7a3a0ef4e"
[[override]]
name = "github.com/pborman/uuid"
revision = "c55201b036063326c5b1b89ccfe45a184973d073"
[[override]]
name = "github.com/prometheus/common"
revision = "ebdfc6da46522d58825777cf1f90490a5b1ef1d8"
[[override]]
name = "github.com/prometheus/procfs"
revision = "abf152e5f3e97f2fafac028d2cc06c1feb87ffa5"
[[override]]
name = "github.com/spf13/pflag"
revision = "4f9190456aed1c2113ca51ea9b89219747458dc1"
[[override]]
name = "github.com/stretchr/objx"
revision = "cbeaeb16a013161a98496fad62933b1d21786672"
[[override]]
name = "github.com/ugorji/go"
revision = "4a1cb5252a6951f715a85d0e4be334c2a2dbf2a2"
[[override]]
name = "github.com/vbatts/tar-split"
revision = "bd4c5d64c3e9297f410025a3b1bd0c58f659e721"
[[override]]
name = "golang.org/x/oauth2"
revision = "3b966c7f301c0c71c53d94dc632a62df0a682cd7"
[[override]]
name = "golang.org/x/sys"
revision = "042a8f53ce82bbe081222da955159491e32146a0"
[[override]]
name = "google.golang.org/appengine"
revision = "e951d3868b377b14f4e60efa3a301532ee3c1ebf"
......@@ -55,11 +55,10 @@ export CGO_ENABLED ?= 0
# Development Tools
GOVENDOR = $(GOPATH_BIN)/govendor
GOX = $(GOPATH_BIN)/gox
GOBINDATA = $(GOPATH_BIN)/go-bindata
MOCKERY = $(GOPATH_BIN)/mockery
DEVELOPMENT_TOOLS = $(GOVENDOR) $(GOX) $(GOBINDATA) $(MOCKERY)
DEVELOPMENT_TOOLS = $(GOX) $(GOBINDATA) $(MOCKERY)
MOCKERY_FLAGS = -note="This comment works around https://github.com/vektra/mockery/issues/155"
......@@ -398,10 +397,6 @@ development_setup:
if prlctl --version ; then $(MAKE) -C tests/ubuntu parallels ; fi
if vboxmanage --version ; then $(MAKE) -C tests/ubuntu virtualbox ; fi
update_govendor_dependencies: $(GOVENDOR)
# updating vendor/ dependencies
@./scripts/update-govendor-dependencies
# local GOPATH
$(GOPATH_SETUP): $(PKG_BUILD_DIR)
mkdir -p $(GOPATH_BIN)
......@@ -412,9 +407,6 @@ $(PKG_BUILD_DIR):
ln -s ../../../.. $@
# development tools
$(GOVENDOR): $(GOPATH_SETUP)
go get github.com/kardianos/govendor
$(GOX): $(GOPATH_SETUP)
go get github.com/mitchellh/gox
......
......@@ -150,55 +150,14 @@ You can start hacking GitLab-Runner code. If you are interested you can use Inte
## Managing build dependencies
GitLab Runner uses [Govendor](https://github.com/kardianos/govendor) to manage
GitLab Runner uses [dep](https://github.com/golang/dep) to manage
its dependencies - they get checked into the repository under the `vendor/` directory,
with a manifest stored in `vendor/vendor.json`.
with a manifest stored in `Godep.toml` and in `Godep.lock` lockfile.
If your contribution adds, removes or updates any dependencies to the runner,
please ensure the vendored copies updated in lock-step.
please ensure the vendored copies is updated with the appropriate `dep ensure` command.
**For added/removed dependencies:**
1. Run `go get [package]` (if you haven't done this already) to download required package into your `$GOPATH`.
Repeat this for any added package.
1. Commit all added changes and stash/remove all uncommited changes to have a clean working directory.
1. Execute
```bash
$ make update_govendor_dependencies
```
This task will:
* remove all unused packages with,
* add all missing or external packages (packages that are not stored in vendor but can be found in `$GOPATH`),
* show git status and ask if changes in `vendor/` or done properly,
* show diff of `vendor/vendor.json` and ask if it is done properly,
* add and commit changes in `vendor/` directory.
**For dependencies that need update:**
1. Run `go get -u [package]` (if you haven't done this already) to upload selected package present in your `$GOPATH`
or download it if it's not present.
If you want to use specific version then go to the package directory in your `$GOPATH` and checkout it to this
version, e.g.:
```bash
$ cd $GOPATH/src/github.com/docker/docker/client
$ git checkout v1.13.0
```
Repeat this for any added package.
1. Execute
```bash
$ make update_govendor_dependencies
```
This task will behave just like described above.
Don't add dependency from upstream master branch when version tags are available.
## Troubleshooting
......
#!/bin/bash
set -e
confirm_changes() {
echo -e "\nDoes this look OK [yes/no]? "
read -e input
input=$(echo "${input}" | tr '[:upper:]' '[:lower:]')
if [ "${input}" != "yes" ]; then
exit 1
fi
}
gitWorkdirStatus=$(git status --porcelain | grep -v -e "vendor/" -e scripts/update-govendor-dependencies || echo '')
if [[ -n "${gitWorkdirStatus}" ]]; then
echo "Your git working directory contains uncommited changes and/or untracked files"
echo "Please cleanup your working directory (commit, stash or remove changes) before updating govendor dependencies"
fi
echo "Removing unused packages"
govendor remove +unused
echo "Adding missing and external packages"
for package in $(govendor list --no-status +outside | grep -v "^appengine"); do
echo "Updating ${package}..."
govendor add ${package}
done
echo -e "\nChanges in vendor/"
git status --short
confirm_changes