Skip to content

Instantly share code, notes, and snippets.

View advancedwebdeveloper's full-sized avatar

Yan Titarenko advancedwebdeveloper

View GitHub Profile
diff --git a/Dockerfile b/Dockerfile
index f3dd5c7..f7f580e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,7 +15,7 @@
# limitations under the License.
#
-FROM golang:1.15
+FROM golang:1.16.2
diff --git a/build/makelib/golang.mk b/build/makelib/golang.mk
index 28c05b7ed..088081b3d 100644
--- a/build/makelib/golang.mk
+++ b/build/makelib/golang.mk
@@ -48,7 +48,7 @@ GO_TEST_FLAGS ?=
# ====================================================================================
# Setup go environment
-GO_SUPPORTED_VERSIONS ?= 1.15
+GO_SUPPORTED_VERSIONS ?= 1.16
diff --git a/_examples/cluster-broadcast/shared/protos.pb.go b/_examples/cluster-broadcast/shared/protos.pb.go
index 0db81cc..2dcbd8c 100644
--- a/_examples/cluster-broadcast/shared/protos.pb.go
+++ b/_examples/cluster-broadcast/shared/protos.pb.go
@@ -3,16 +3,17 @@ package shared
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
oceanfish81@ams1-c2:~/rook$ make -j32 go.test.integration
=== go test integration-tests
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go test -v -i -tags '' -pkgdir /home/oceanfish81/rook/.work/pkg/linux_arm64_static -installsuffix static -ldflags ' -s -w -X github.com/rook/rook/pkg/version.Version=v1.5.0-alpha.0.590.g2a192300e-dirty' github.com/rook/rook/tests/integration
go test: -i flag is deprecated
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go test -v -timeout 7200s -tags '' -pkgdir /home/oceanfish81/rook/.work/pkg/linux_arm64_static -installsuffix static -ldflags ' -s -w -X github.com/rook/rook/pkg/version.Version=v1.5.0-alpha.0.590.g2a192300e-dirty' github.com/rook/rook/tests/integration 2>&1 | tee /home/oceanfish81/rook/_output/tests/linux_arm64/integration-tests.log
=== RUN TestCephFlexSuite
2021-03-07 02:26:41.247960 I | installer: test environment variable (default) "STORAGE_PROVIDER_TESTS"=""
2021-03-07 02:26:41.402749 I | testutil: Loaded kubectl context minikube at https://192.168.49.2:8443. secure=t
$ make -j32
=== helm package rook-ceph
=== ensuring modules are tidied
==> Linting /home/oceanfish81/rook/_output/rook-ceph
1 chart(s) linted, 0 chart(s) failed
Successfully packaged chart and saved it to: /home/oceanfish81/rook/_output/charts/rook-ceph-v1.5.0-alpha.0.634.g7ed082170.tgz
=== helm index
=== go vet
diff -u pkg/daemon/ceph/client/pool_test.go.orig pkg/daemon/ceph/client/pool_test.go
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCg6L6Ufyp6LJoIeBdh5mxcpZNwZbwIG+vnmHEIM/Jil5XL0zJEmp6zuLNZOxIiwX2KSNa6AtRXh6A3FUuOwECMs4xRxIeZ9T8pRRHcvXx9P5IwazFcddJ8LOP99aLbJpk38Jx1gPTOJZCr5M1I0NIewP8pKATTh5N5hTuZkrh0TljalK5Ae7XinwFwdyzkDIbZJqWTRCoYgEhtvMPeQ1+R5PXSCArtcMV1m37yy6/CbA263YK5Y/YtTu3r3p1HprYwZsnhkJ9H7VKw+/lcd7nwdeKfvjzQM6LFeqtNNKFiMsw6/qm7S5KxupMukB2Eai7OHzTBz6XCKRHzfTtGSRcj oceanfish81@oceanfish81-A8He
diff --git a/Gopkg.lock b/Gopkg.lock
index c8a9fbb..f023636 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -8,10 +8,10 @@
version = "1.0.0"
[[projects]]
- name = "github.com/modern-go/reflect2"
+ name = "https://github.com/goccy/go-reflect/"
diff --git a/Gopkg.lock b/Gopkg.lock
index c8a9fbb..afeead1 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -8,7 +8,7 @@
version = "1.0.0"
[[projects]]
- name = "github.com/modern-go/reflect2"
+ name = "github.com/goccy/go-reflect"
$ mvn clean package -DskipTests -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -X
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/apache-maven-3.6.3
Java version: 11.0.8, vendor: AdoptOpenJDK, runtime: /home/jenkins/jdk-11.0.8+10
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "5.0.0-rc1-56210-g0a657e0d72f0", arch: "riscv", family: "unix"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: javax.annotation.* < plexus.core
[DEBUG] Imported: javax.annotation.security.* < plexus.core