-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump dependencies to fix Semaphore CI (#1427)
* bump version of deps * use go1.19 * remove trailing 0 * fix lint * temporarily remove golicense and deprecated functions * fix tests * fix completion tests * fix go version in urls * trigger ci * sort imports * update pem * debug * debug * debug * debug * debug * debug * debug * debug * debug * debug * skip existing
- Loading branch information
1 parent
fd1c8f7
commit cac9b43
Showing
76 changed files
with
1,042 additions
and
1,836 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.17.6 | ||
1.19.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,15 +34,14 @@ blocks: | |
- source script.sh | ||
|
||
# Set up Go | ||
- sem-version go 1.17.6 | ||
- export "GOPATH=$(go env GOPATH)" | ||
- export "PATH=$GOPATH/bin:$PATH" | ||
- checkout | ||
- goenv install --skip-existing | ||
- export "PATH=$(go env GOPATH)/bin:$PATH" | ||
|
||
# Try to restore cached dependencies | ||
- cache restore linux-$(checksum go.sum) | ||
|
||
# Set up Git | ||
- checkout | ||
- export "GOPRIVATE=github.com/confluentinc" | ||
- git config --global url."[email protected]:".insteadOf "https://github.com/" | ||
|
||
|
@@ -53,10 +52,10 @@ blocks: | |
- make lint | ||
- ulimit -n 2048 | ||
- make test | ||
- make lint-licenses | ||
# - make lint-licenses | ||
|
||
# Cache Go dependencies | ||
- cache store linux-$(checksum go.sum) $GOPATH/pkg/mod | ||
- cache store linux-$(checksum go.sum) $(go env GOPATH)/pkg/mod | ||
epilogue: | ||
always: | ||
commands: | ||
|
@@ -77,15 +76,11 @@ blocks: | |
- source script.sh | ||
|
||
# Set up Go | ||
- wget https://golang.org/dl/go1.17.6.darwin-amd64.tar.gz | ||
- sudo tar -xzf go1.17.6.darwin-amd64.tar.gz -C /usr/local/ | ||
- export "PATH=/usr/local/go/bin:$PATH" | ||
- export "GOPATH=$(go env GOPATH)" | ||
- export "PATH=$GOPATH/bin:$PATH" | ||
- export "PATH=$GOROOT/bin:$PATH" | ||
- checkout | ||
- goenv install --skip-existing | ||
- export "PATH=$(go env GOPATH)/bin:$PATH" | ||
|
||
# Set up Git | ||
- checkout | ||
- export "GOPRIVATE=github.com/confluentinc" | ||
- git config --global url."[email protected]:".insteadOf "https://github.com/" | ||
|
||
|
@@ -119,8 +114,8 @@ blocks: | |
# - [System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String(Get-Content id_rsa.b64)) | Out-File -Encoding "ASCII" .ssh\id_rsa | ||
|
||
# Set up Go | ||
# - Invoke-WebRequest https://golang.org/dl/go1.17.6.windows-amd64.zip -OutFile go1.17.6.windows-amd64.zip | ||
# - Expand-Archive go1.17.6.windows-amd64.zip -DestinationPath /usr/local/ | ||
# - Invoke-WebRequest https://golang.org/dl/go${GO_VERSION}.windows-amd64.zip -OutFile go${GO_VERSION}.windows-amd64.zip | ||
# - Expand-Archive go${GO_VERSION}.windows-amd64.zip -DestinationPath /usr/local/ | ||
# - $Env:PATH = "/usr/local/go/bin:$Env:PATH" | ||
# - $Env:PATH = "$(go env GOPATH)/bin:$Env:PATH" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,9 +72,8 @@ generate: | |
|
||
.PHONY: deps | ||
deps: | ||
go install github.com/goreleaser/[email protected] && \ | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] && \ | ||
go install github.com/mitchellh/[email protected] && \ | ||
go install github.com/goreleaser/[email protected] && \ | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] && \ | ||
go install gotest.tools/[email protected] | ||
|
||
.PHONY: jenkins-deps | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- cli/Makefile 2022-10-03 16:53:23.000000000 -0700 | ||
--- cli/Makefile 2022-10-05 15:39:01.000000000 -0700 | ||
+++ debian/Makefile 2022-07-12 14:17:45.000000000 -0700 | ||
@@ -1,211 +1,130 @@ | ||
@@ -1,210 +1,130 @@ | ||
-SHELL := /bin/bash | ||
-ALL_SRC := $(shell find . -name "*.go" | grep -v -e vendor) | ||
-GIT_REMOTE_NAME ?= origin | ||
|
@@ -89,9 +89,8 @@ | |
- | ||
-.PHONY: deps | ||
-deps: | ||
- go install github.com/goreleaser/[email protected] && \ | ||
- go install github.com/golangci/golangci-lint/cmd/[email protected] && \ | ||
- go install github.com/mitchellh/[email protected] && \ | ||
- go install github.com/goreleaser/[email protected] && \ | ||
- go install github.com/golangci/golangci-lint/cmd/[email protected] && \ | ||
- go install gotest.tools/[email protected] | ||
- | ||
-.PHONY: jenkins-deps | ||
|
Oops, something went wrong.