-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8533 from filecoin-project/jen/v1522
chore: release: v1.15.2-rc2
- Loading branch information
Showing
29 changed files
with
507 additions
and
164 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,12 +1,11 @@ | ||
version: 2.1 | ||
orbs: | ||
go: gotest/[email protected] | ||
aws-cli: circleci/[email protected] | ||
|
||
executors: | ||
golang: | ||
docker: | ||
- image: circleci/golang:1.16.4 | ||
- image: cimg/go:1.17.9 | ||
resource_class: 2xlarge | ||
ubuntu: | ||
docker: | ||
|
@@ -25,8 +24,9 @@ executors: | |
commands: | ||
install-deps: | ||
steps: | ||
- go/install-ssh | ||
- go/install: {package: git} | ||
- run: | | ||
sudo apt update | ||
sudo apt install python-is-python3 | ||
prepare: | ||
parameters: | ||
linux: | ||
|
@@ -110,8 +110,12 @@ jobs: | |
steps: | ||
- install-deps | ||
- prepare | ||
- go/mod-tidy-check | ||
|
||
- run: go mod tidy -v | ||
- run: | ||
name: Check git diff | ||
command: | | ||
git --no-pager diff go.mod go.sum | ||
git --no-pager diff --quiet go.mod go.sum | ||
build-all: | ||
executor: golang | ||
steps: | ||
|
@@ -188,9 +192,6 @@ jobs: | |
command: make deps lotus | ||
no_output_timeout: 30m | ||
- download-params | ||
- go/install-gotestsum: | ||
gobin: $HOME/.local/bin | ||
version: 0.5.2 | ||
- run: | ||
name: go test | ||
environment: | ||
|
@@ -215,8 +216,6 @@ jobs: | |
- when: | ||
condition: << parameters.codecov-upload >> | ||
steps: | ||
- go/install: {package: bash} | ||
- go/install: {package: curl} | ||
- run: | ||
shell: /bin/bash -eo pipefail | ||
command: | | ||
|
@@ -255,9 +254,6 @@ jobs: | |
cd extern/test-vectors | ||
git fetch | ||
git checkout origin/<< parameters.vectors-branch >> | ||
- go/install-gotestsum: | ||
gobin: $HOME/.local/bin | ||
version: 0.5.2 | ||
- run: | ||
name: install statediff globally | ||
command: | | ||
|
@@ -370,8 +366,8 @@ jobs: | |
- run: | ||
name: Install go | ||
command: | | ||
curl -O https://dl.google.com/go/go1.16.4.darwin-amd64.pkg && \ | ||
sudo installer -pkg go1.16.4.darwin-amd64.pkg -target / | ||
curl -O https://dl.google.com/go/go1.17.9.darwin-amd64.pkg && \ | ||
sudo installer -pkg go1.17.9.darwin-amd64.pkg -target / | ||
- run: | ||
name: Install pkg-config | ||
command: HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config | ||
|
@@ -512,9 +508,6 @@ jobs: | |
executor: | ||
type: executor | ||
default: golang | ||
golangci-lint-version: | ||
type: string | ||
default: 1.27.0 | ||
concurrency: | ||
type: string | ||
default: '2' | ||
|
@@ -533,13 +526,10 @@ jobs: | |
- run: | ||
command: make deps | ||
no_output_timeout: 30m | ||
- go/install-golangci-lint: | ||
gobin: $HOME/.local/bin | ||
version: << parameters.golangci-lint-version >> | ||
- run: | ||
name: Lint | ||
command: | | ||
$HOME/.local/bin/golangci-lint run -v --timeout 2m \ | ||
golangci-lint run -v --timeout 2m \ | ||
--concurrency << parameters.concurrency >> << parameters.args >> | ||
lint-all: | ||
<<: *lint | ||
|
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,12 +1,11 @@ | ||
version: 2.1 | ||
orbs: | ||
go: gotest/[email protected] | ||
aws-cli: circleci/[email protected] | ||
|
||
executors: | ||
golang: | ||
docker: | ||
- image: circleci/golang:1.16.4 | ||
- image: cimg/go:1.17.9 | ||
resource_class: 2xlarge | ||
ubuntu: | ||
docker: | ||
|
@@ -25,8 +24,9 @@ executors: | |
commands: | ||
install-deps: | ||
steps: | ||
- go/install-ssh | ||
- go/install: {package: git} | ||
- run: | | ||
sudo apt update | ||
sudo apt install python-is-python3 | ||
prepare: | ||
parameters: | ||
linux: | ||
|
@@ -110,8 +110,12 @@ jobs: | |
steps: | ||
- install-deps | ||
- prepare | ||
- go/mod-tidy-check | ||
|
||
- run: go mod tidy -v | ||
- run: | ||
name: Check git diff | ||
command: | | ||
git --no-pager diff go.mod go.sum | ||
git --no-pager diff --quiet go.mod go.sum | ||
build-all: | ||
executor: golang | ||
steps: | ||
|
@@ -188,9 +192,6 @@ jobs: | |
command: make deps lotus | ||
no_output_timeout: 30m | ||
- download-params | ||
- go/install-gotestsum: | ||
gobin: $HOME/.local/bin | ||
version: 0.5.2 | ||
- run: | ||
name: go test | ||
environment: | ||
|
@@ -215,8 +216,6 @@ jobs: | |
- when: | ||
condition: << parameters.codecov-upload >> | ||
steps: | ||
- go/install: {package: bash} | ||
- go/install: {package: curl} | ||
- run: | ||
shell: /bin/bash -eo pipefail | ||
command: | | ||
|
@@ -255,9 +254,6 @@ jobs: | |
cd extern/test-vectors | ||
git fetch | ||
git checkout origin/<< parameters.vectors-branch >> | ||
- go/install-gotestsum: | ||
gobin: $HOME/.local/bin | ||
version: 0.5.2 | ||
- run: | ||
name: install statediff globally | ||
command: | | ||
|
@@ -370,8 +366,8 @@ jobs: | |
- run: | ||
name: Install go | ||
command: | | ||
curl -O https://dl.google.com/go/go1.16.4.darwin-amd64.pkg && \ | ||
sudo installer -pkg go1.16.4.darwin-amd64.pkg -target / | ||
curl -O https://dl.google.com/go/go1.17.9.darwin-amd64.pkg && \ | ||
sudo installer -pkg go1.17.9.darwin-amd64.pkg -target / | ||
- run: | ||
name: Install pkg-config | ||
command: HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config | ||
|
@@ -512,9 +508,6 @@ jobs: | |
executor: | ||
type: executor | ||
default: golang | ||
golangci-lint-version: | ||
type: string | ||
default: 1.27.0 | ||
concurrency: | ||
type: string | ||
default: '2' | ||
|
@@ -533,13 +526,10 @@ jobs: | |
- run: | ||
command: make deps | ||
no_output_timeout: 30m | ||
- go/install-golangci-lint: | ||
gobin: $HOME/.local/bin | ||
version: << parameters.golangci-lint-version >> | ||
- run: | ||
name: Lint | ||
command: | | ||
$HOME/.local/bin/golangci-lint run -v --timeout 2m \ | ||
golangci-lint run -v --timeout 2m \ | ||
--concurrency << parameters.concurrency >> << parameters.args >> | ||
lint-all: | ||
<<: *lint | ||
|
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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
Oops, something went wrong.