Skip to content

Commit

Permalink
chore: go 1.18 (#6223)
Browse files Browse the repository at this point in the history
* chore: go 1.18

Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
  • Loading branch information
yesnault authored Jul 4, 2022
1 parent 84f8d14 commit 8320d28
Show file tree
Hide file tree
Showing 31 changed files with 20 additions and 6,329 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ RUN apk update && apk update && \
apk --no-cache add gpg && \
apk --no-cache add git && \
apk --no-cache add tzdata && \
apk --no-cache add openssh-client && \
apk --no-cache add ca-certificates && rm -rf /var/cache/apk/*
RUN update-ca-certificates
RUN mkdir -p /app/sql /app/ui_static_files
Expand Down
2 changes: 1 addition & 1 deletion contrib/grpcplugins/action/plugin-archive/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/ovh/cds/contrib/grpcplugins/action/archive

replace github.com/ovh/cds => ../../../../

go 1.17
go 1.18

require (
github.com/golang/protobuf v1.5.2
Expand Down
595 changes: 0 additions & 595 deletions contrib/grpcplugins/action/plugin-archive/go.sum

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ovh/cds/contrib/grpcplugins/action/artifactoryreleasebundlecreate

go 1.17
go 1.18

replace github.com/ovh/cds => ../../../../

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ovh/cds/contrib/grpcplugins/action/artifactoryreleasebundlecreate

go 1.17
go 1.18

replace github.com/ovh/cds => ../../../../

Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contrib/grpcplugins/action/plugin-download/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/ovh/cds/contrib/grpcplugins/action/download

replace github.com/ovh/cds => ../../../../

go 1.17
go 1.18

require (
github.com/golang/protobuf v1.5.2
Expand Down
595 changes: 0 additions & 595 deletions contrib/grpcplugins/action/plugin-download/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contrib/grpcplugins/action/plugin-group-tmpl/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/ovh/cds/contrib/grpcplugins/action/group-tmpl

replace github.com/ovh/cds => ../../../../

go 1.17
go 1.18

require (
github.com/golang/protobuf v1.5.2
Expand Down
595 changes: 0 additions & 595 deletions contrib/grpcplugins/action/plugin-group-tmpl/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contrib/grpcplugins/action/plugin-kafka-publish/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ replace github.com/ovh/cds => ../../../../

replace github.com/go-gorp/gorp => github.com/yesnault/gorp v2.0.1-0.20200325154225-2dc6d8c2da37+incompatible

go 1.17
go 1.18

require (
github.com/Shopify/sarama v1.30.0
Expand Down
269 changes: 0 additions & 269 deletions contrib/grpcplugins/action/plugin-kafka-publish/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contrib/grpcplugins/action/plugin-marathon/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/ovh/cds/contrib/grpcplugins/action/marathon

replace github.com/ovh/cds => ../../../../

go 1.17
go 1.18

require (
github.com/gambol99/go-marathon v0.7.1
Expand Down
308 changes: 0 additions & 308 deletions contrib/grpcplugins/action/plugin-marathon/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contrib/grpcplugins/action/plugin-npm-audit-parser/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/ovh/cds/contrib/grpcplugins/action/npm-audit-parser

replace github.com/ovh/cds => ../../../../

go 1.17
go 1.18

require (
github.com/golang/protobuf v1.5.2
Expand Down
595 changes: 0 additions & 595 deletions contrib/grpcplugins/action/plugin-npm-audit-parser/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contrib/grpcplugins/action/plugin-ssh-cmd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/ovh/cds/contrib/grpcplugins/action/ssh-cmd

replace github.com/ovh/cds => ../../../../

go 1.17
go 1.18

require (
github.com/golang/protobuf v1.5.2
Expand Down
595 changes: 0 additions & 595 deletions contrib/grpcplugins/action/plugin-ssh-cmd/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contrib/grpcplugins/action/plugin-tmpl/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/ovh/cds/contrib/grpcplugins/action/tmpl

replace github.com/ovh/cds => ../../../../

go 1.17
go 1.18

require (
github.com/golang/protobuf v1.5.2
Expand Down
595 changes: 0 additions & 595 deletions contrib/grpcplugins/action/plugin-tmpl/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contrib/grpcplugins/action/plugin-venom/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/ovh/cds/contrib/grpcplugins/action/venom

replace github.com/ovh/cds => ../../../../

go 1.17
go 1.18

require (
github.com/golang/protobuf v1.5.2
Expand Down
553 changes: 0 additions & 553 deletions contrib/grpcplugins/action/plugin-venom/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/content/development/contribute/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,4 @@ If you want to launch vcs & hooks µServices, you have to:

Of course, you have to do the same thing with other µServices `repositories`, `elasticsearch`, `hatchery.swarm`, etc...

A remark / question / suggestion, feel free to join us on https://github.com/ovh/cds/discussions
A remark / question / suggestion, feel free to join us on https://github.com/ovh/cds/discussions
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ovh/cds

go 1.17
go 1.18

require (
code.gitea.io/sdk/gitea v0.15.1
Expand Down Expand Up @@ -46,7 +46,7 @@ require (
github.com/keybase/go-keychain v0.0.0-20190828020956-aa639f275ae1
github.com/keybase/go.dbus v0.0.0-20190710215703-a33a09c8a604
github.com/lib/pq v1.9.0
github.com/maruel/panicparse/v2 v2.2.0
github.com/maruel/panicparse/v2 v2.2.2
github.com/mattn/go-sqlite3 v1.9.0
github.com/mattn/go-zglob v0.0.1
github.com/mcuadros/go-defaults v0.0.0-20161116231230-e1c978be3307
Expand Down
9 changes: 2 additions & 7 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx2
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/census-instrumentation/opencensus-proto v0.3.0 h1:t/LhUZLVitR1Ow2YOnduCsavhwFUklBMoGVYUCqmCqk=
github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE=
Expand Down Expand Up @@ -584,15 +583,14 @@ github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPK
github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e h1:hB2xlXdHp/pmPZq0y3QnmWAArdw9PqbmotexnWx/FU8=
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/maruel/panicparse/v2 v2.2.0 h1:4/Pd1VuUKlxD7+Dwx9sm49vgAr/tTMexKSh6uPnZQkw=
github.com/maruel/panicparse/v2 v2.2.0/go.mod h1:pMxsKyCewnV3xPaFvvT9NfwvDTcIx2Xqg0qL5Gq0SjM=
github.com/maruel/panicparse/v2 v2.2.2 h1:4Gu/Z5oLpJCE/0/NwxrUkyn7alpqOQdJAUuchB2OoJU=
github.com/maruel/panicparse/v2 v2.2.2/go.mod h1:WizmeHJfpyKYYKGInKv8ax8jh7DJnQE5yFDuzFfHzIU=
github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A=
github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40=
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
Expand Down Expand Up @@ -928,7 +926,6 @@ golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWP
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20210920023735-84f357641f63/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa h1:idItI2DDfCokpg0N51B2VtiLdJ4vAuXC9fnCb2gACo4=
golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
Expand Down Expand Up @@ -1128,7 +1125,6 @@ golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211015200801-69063c4bb744/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220408201424-a24fb2fb8a0f h1:8w7RhxzTVgUzw/AH/9mUV5q0vMgy40SQRursCcfmkCw=
Expand Down Expand Up @@ -1398,7 +1394,6 @@ gopkg.in/h2non/gock.v1 v1.0.14/go.mod h1:sX4zAkdYX1TRGJ2JY156cFspQn4yRWn6p9EMdOD
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/ini.v1 v1.66.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/ini.v1 v1.66.4 h1:SsAcf+mM7mRZo2nJNGt8mZCjG8ZRaNGMURJw7BsIST4=
gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/ldap.v2 v2.5.1 h1:wiu0okdNfjlBzg6UWvd1Hn8Y+Ux17/u/4nlk4CQr6tU=
Expand Down
2 changes: 1 addition & 1 deletion sdk/interpolate/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ovh/cds/sdk/interpolate

go 1.17
go 1.18

require (
github.com/aokoli/goutils v1.1.0
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/04SCWorkflowRunSimplePlugin/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ovh/cds/tests/fixtures/04SCWorkflowRunSimplePlugin

go 1.17
go 1.18

require (
github.com/golang/protobuf v1.5.2
Expand Down
Loading

0 comments on commit 8320d28

Please sign in to comment.