Skip to content

Commit

Permalink
Upgrade go version to 1.18
Browse files Browse the repository at this point in the history
Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
  • Loading branch information
niladrih committed Apr 12, 2022
1 parent a689e17 commit 2dec741
Show file tree
Hide file tree
Showing 1,788 changed files with 276 additions and 730,859 deletions.
30 changes: 8 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,25 @@ jobs:

strategy:
matrix:
go-version: [1.12.x, 1.13.x]
os: [ubuntu-16.04]
go-version: [1.18]
os: [ubuntu-18.04]

runs-on: ${{ matrix.os }}
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
check-latest: true

- name: Checkout project
uses: actions/checkout@v2

- name: Symlink source into GOPATH for api
run: |
mkdir -p $(go env GOPATH)/src/github.com/sodafoundation/api
sudo ln -s $(pwd) $(go env GOPATH)/src/github.com/sodafoundation/api
- name: Create the Folder structure and symlink to opensds (TODO:-Fix vendor module from opensds to sodafoundation)
run: |
echo "Check current dir: \n"
pwd
echo "GOPATH: $(go env GOPATH)"
sudo mkdir -p $(go env GOPATH)/src/github.com/opensds
sudo ln -s $(go env GOPATH)/src/github.com/sodafoundation $(go env GOPATH)/src/github.com/opensds
uses: actions/checkout@v3

- name: Install Pre-requisites
run: |
sudo apt-get update
sudo apt-get install -y build-essential gcc
sudo apt-get install -y librados-dev librbd-dev
sudo apt-get install -y lvm2 tgt open-iscsi
sudo docker pull p1c2u/openapi-spec-validator
sudo apt-get install -y build-essential gcc librados-dev librbd-dev lvm2 tgt open-iscsi
docker pull p1c2u/openapi-spec-validator
- name: Build the binaries
run: |
Expand All @@ -53,7 +39,7 @@ jobs:
run: ./install/CI/coverage && ./install/CI/test

- name: After success run Codecov Coverage tool.
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2

- name: Clean up the build
run: |
Expand Down
97 changes: 49 additions & 48 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,59 +1,60 @@
module github.com/sodafoundation/api

go 1.12
go 1.18

require (
github.com/LINBIT/godrbdutils v0.0.0-20180425110027-65b98a0f103a // indirect
github.com/RoaringBitmap/roaring v0.4.21 // indirect
github.com/appleboy/easyssh-proxy v1.2.0 // indirect
github.com/astaxie/beego v1.12.0
github.com/beorn7/perks v1.0.0 // indirect
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/ceph/go-ceph v0.0.0-20170728144007-81e4191e131b // indirect
github.com/coreos/bbolt v1.3.3 // indirect
github.com/coreos/etcd v3.3.11+incompatible
github.com/coreos/go-semver v0.3.0 // indirect
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/frankban/quicktest v1.6.0 // indirect
github.com/getkin/kin-openapi v0.2.0
github.com/astaxie/beego v1.12.3
github.com/getkin/kin-openapi v0.94.0
github.com/go-ini/ini v1.41.0
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 // indirect
github.com/golang/protobuf v1.4.1
github.com/google/btree v1.0.0 // indirect
github.com/golang/protobuf v1.5.2
github.com/gophercloud/gophercloud v0.0.0-20190528082055-3ad89c4ea008
github.com/gorilla/websocket v1.4.1 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.1.0 // indirect
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.12.1 // indirect
github.com/satori/go.uuid v1.2.0
github.com/sodafoundation/controller v1.1.0
github.com/sodafoundation/dock v1.3.0
github.com/spf13/cobra v1.4.0
github.com/stretchr/testify v1.7.1
go.etcd.io/etcd/client/pkg/v3 v3.5.2
go.etcd.io/etcd/client/v3 v3.5.2
google.golang.org/grpc v1.38.0
gopkg.in/yaml.v2 v2.4.0
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/coreos/go-semver v0.3.0 // indirect
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/swag v0.19.5 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jonboulle/clockwork v0.1.0 // indirect
github.com/mitchellh/copystructure v1.0.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/netapp/trident v19.10.0+incompatible // indirect
github.com/pierrec/lz4 v2.3.0+incompatible // indirect
github.com/prometheus/client_golang v0.9.2 // indirect
github.com/prometheus/common v0.3.0 // indirect
github.com/prometheus/procfs v0.0.0-20190425082905-87a4384529e0 // indirect
github.com/satori/go.uuid v1.2.0
github.com/segmentio/kafka-go v0.2.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_golang v1.11.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.26.0 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
github.com/shiena/ansicolor v0.0.0-20151119151921-a422bbe96644 // indirect
github.com/smartystreets/goconvey v1.6.4 // indirect
github.com/soheilhy/cmux v0.1.4 // indirect
github.com/spf13/cobra v0.0.3
github.com/stretchr/testify v1.4.0
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect
github.com/ugorji/go v1.1.7 // indirect
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect
go.etcd.io/bbolt v1.3.3 // indirect
go.uber.org/zap v1.12.0 // indirect
golang.org/x/net v0.0.0-20200506145744-7e3656a0809f // indirect
golang.org/x/sys v0.0.0-20200509044756-6aff5f38e54f // indirect
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
google.golang.org/genproto v0.0.0-20200507105951-43844f6eee31 // indirect
google.golang.org/grpc v1.29.1
gopkg.in/ini.v1 v1.50.0 // indirect
gopkg.in/yaml.v2 v2.2.4
k8s.io/api v0.17.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/objx v0.1.1 // indirect
go.etcd.io/etcd/api/v3 v3.5.2 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.17.0 // indirect
golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 // indirect
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 // indirect
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 // indirect
golang.org/x/text v0.3.5 // indirect
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c // indirect
google.golang.org/protobuf v1.26.0 // indirect
gopkg.in/ini.v1 v1.51.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
Loading

0 comments on commit 2dec741

Please sign in to comment.