From 5553fa5749123cea208c6478b530a3d76067d3c4 Mon Sep 17 00:00:00 2001 From: Romain Beuque <556072+rbeuque74@users.noreply.github.com> Date: Sat, 15 Oct 2022 16:18:41 +0200 Subject: [PATCH] chore(): bumping to Go 1.19 Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com> --- Dockerfile | 2 +- go.mod | 97 +++++++++++++++++++++++++++++++++++++++--------------- go.sum | 1 - 3 files changed, 72 insertions(+), 28 deletions(-) diff --git a/Dockerfile b/Dockerfile index 17dda4a8..e3baa453 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN BASEHREF=___UTASK_DASHBOARD_BASEHREF___ PREFIX_API_BASE_URL=___UTASK_DASHBOA WORKDIR /home/node/ui/editor RUN BASEHREF=___UTASK_EDITOR_BASEHREF___ SENTRY_DSN=___UTASK_DASHBOARD_SENTRY_DSN___ make build-prod -FROM golang:1.18 +FROM golang:1.19 COPY . /go/src/github.com/ovh/utask WORKDIR /go/src/github.com/ovh/utask diff --git a/go.mod b/go.mod index 8aec2a15..cc8ab5dd 100644 --- a/go.mod +++ b/go.mod @@ -1,70 +1,115 @@ module github.com/ovh/utask -go 1.16 +go 1.19 require ( github.com/Masterminds/sprig/v3 v3.1.0 github.com/Masterminds/squirrel v1.4.0 - github.com/SSSaaS/sssa-golang v0.0.0-20170502204618-d37d7782d752 // indirect github.com/cenkalti/backoff v2.2.1+incompatible github.com/fabienm/go-logrus-formatters v1.0.0 - github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51 // indirect - github.com/facebookgo/freeport v0.0.0-20150612182905-d4adf43b75b9 // indirect - github.com/facebookgo/httpcontrol v0.0.0-20150708234001-ccde4420e1fe // indirect - github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect - github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870 // indirect github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32 github.com/gin-gonic/gin v1.7.2 github.com/go-gorp/gorp v2.2.0+incompatible github.com/go-ping/ping v0.0.0-20210506233800-ff8be3320020 - github.com/go-sql-driver/mysql v1.4.1 // indirect github.com/gofrs/uuid v3.3.0+incompatible - github.com/golang/protobuf v1.4.0 // indirect - github.com/imdario/mergo v0.3.9 // indirect - github.com/jcmturner/gokrb5/v8 v8.3.0 // indirect - github.com/jinzhu/now v1.0.1 // indirect github.com/jpillora/backoff v1.0.0 github.com/juju/errors v0.0.0-20200330140219-3fe23663418f github.com/lib/pq v1.6.0 github.com/loopfz/gadgeto v0.10.1 - github.com/magiconair/properties v1.8.1 // indirect github.com/markusthoemmes/goautoneg v0.0.0-20190713162725-c6008fefa5b1 github.com/maxatome/go-testdeep v1.8.0 - github.com/miscreant/miscreant.go v0.0.0-20200214223636-26d376326b75 // indirect - github.com/mitchellh/reflectwalk v1.0.1 // indirect github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.8 github.com/ovh/configstore v0.3.2 github.com/ovh/go-ovh v0.0.0-20181109152953-ba5adb4cf014 github.com/ovh/symmecrypt v0.4.3 github.com/ovh/tat v5.2.5+incompatible - github.com/pelletier/go-toml v1.4.0 // indirect - github.com/poy/onpar v1.0.0 // indirect github.com/prometheus/client_golang v1.1.0 - github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 // indirect - github.com/prometheus/common v0.7.0 // indirect - github.com/prometheus/procfs v0.0.5 // indirect github.com/robertkrimen/otto v0.0.0-20191219234010-c382bd3c16ff github.com/santhosh-tekuri/jsonschema v1.2.4 github.com/sirupsen/logrus v1.6.0 - github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337 // indirect - github.com/spf13/afero v1.2.2 // indirect github.com/spf13/cobra v0.0.6 - github.com/spf13/jwalterweatherman v1.1.0 // indirect - github.com/spf13/pflag v1.0.5 // indirect github.com/spf13/viper v1.4.0 github.com/stretchr/testify v1.5.1 github.com/tidwall/gjson v1.9.3 github.com/wI2L/fizz v0.17.0 github.com/ybriffa/go-http-digest-auth-client v0.6.3 - github.com/ziutek/mymysql v1.5.4 // indirect golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 golang.org/x/net v0.0.0-20201224014010-6772e930b67b golang.org/x/sync v0.0.0-20210220032951-036812b2e83c + gopkg.in/mail.v2 v2.3.1 +) + +require ( + github.com/Masterminds/goutils v1.1.0 // indirect + github.com/Masterminds/semver/v3 v3.1.0 // indirect + github.com/SSSaaS/sssa-golang v0.0.0-20170502204618-d37d7782d752 // indirect + github.com/alexbrainman/sspi v0.0.0-20180613141037-e580b900e9f5 // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51 // indirect + github.com/facebookgo/freeport v0.0.0-20150612182905-d4adf43b75b9 // indirect + github.com/facebookgo/httpcontrol v0.0.0-20150708234001-ccde4420e1fe // indirect + github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect + github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870 // indirect + github.com/fsnotify/fsnotify v1.4.7 // indirect + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/go-playground/locales v0.13.0 // indirect + github.com/go-playground/universal-translator v0.17.0 // indirect + github.com/go-playground/validator/v10 v10.4.1 // indirect + github.com/go-sql-driver/mysql v1.4.1 // indirect + github.com/golang/protobuf v1.4.0 // indirect + github.com/google/uuid v1.1.1 // indirect + github.com/hashicorp/go-cleanhttp v0.5.0 // indirect + github.com/hashicorp/go-retryablehttp v0.5.1 // indirect + github.com/hashicorp/go-uuid v1.0.2 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/huandu/xstrings v1.3.1 // indirect + github.com/imdario/mergo v0.3.9 // indirect + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/jcmturner/aescts/v2 v2.0.0 // indirect + github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect + github.com/jcmturner/gofork v1.0.0 // indirect + github.com/jcmturner/goidentity/v6 v6.0.1 // indirect + github.com/jcmturner/gokrb5/v8 v8.3.0 // indirect + github.com/jcmturner/rpc/v2 v2.0.2 // indirect + github.com/jinzhu/now v1.0.1 // indirect + github.com/json-iterator/go v1.1.9 // indirect + github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect + github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect + github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect + github.com/leodido/go-urn v1.2.0 // indirect + github.com/magiconair/properties v1.8.1 // indirect + github.com/mattn/go-isatty v0.0.12 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect + github.com/miscreant/miscreant.go v0.0.0-20200214223636-26d376326b75 // indirect + github.com/mitchellh/copystructure v1.0.0 // indirect + github.com/mitchellh/mapstructure v1.1.2 // indirect + github.com/mitchellh/reflectwalk v1.0.1 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.1 // indirect + github.com/pelletier/go-toml v1.4.0 // indirect + github.com/pkg/errors v0.8.1 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/poy/onpar v1.0.0 // indirect + github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 // indirect + github.com/prometheus/common v0.7.0 // indirect + github.com/prometheus/procfs v0.0.5 // indirect + github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337 // indirect + github.com/spf13/afero v1.2.2 // indirect + github.com/spf13/cast v1.3.1 // indirect + github.com/spf13/jwalterweatherman v1.1.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/tidwall/match v1.1.1 // indirect + github.com/tidwall/pretty v1.2.0 // indirect + github.com/ugorji/go/codec v1.1.7 // indirect + github.com/ziutek/mymysql v1.5.4 // indirect golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect + golang.org/x/text v0.3.3 // indirect + google.golang.org/protobuf v1.21.0 // indirect gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect + gopkg.in/go-playground/validator.v9 v9.31.0 // indirect gopkg.in/ini.v1 v1.46.0 // indirect - gopkg.in/mail.v2 v2.3.1 gopkg.in/sourcemap.v1 v1.0.5 // indirect gopkg.in/yaml.v2 v2.3.0 // indirect ) diff --git a/go.sum b/go.sum index b8ad7934..53d4a857 100644 --- a/go.sum +++ b/go.sum @@ -331,7 +331,6 @@ github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhso github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/ugorji/go v1.1.2/go.mod h1:hnLbHMwcvSihnDhEfx2/BzKp2xb0Y+ErdfYcrs9tkJQ= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= -github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v0.0.0-20190128213124-ee1426cffec0/go.mod h1:iT03XoTwV7xq/+UGwKO3UbC1nNNlopQiY61beSdrtOA= github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs=