Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge fevm into events #9901

Merged
merged 139 commits into from
Dec 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
522858c
Add lotus tracer interface
Aug 30, 2021
99fbd70
Update pubsub tracking to trace from lotus and lp2p tracers
Aug 30, 2021
b1dafd8
Add peer score tracing on pubsub peer score inspect
Aug 30, 2021
c367533
Add transport interface
Sep 10, 2021
d5a4b06
Add lotus tracer transport calls
Sep 10, 2021
8e6a01d
Add configuration in pubsub to trace locally to json file
Sep 15, 2021
ab86c54
Implement json tracer transport
Sep 15, 2021
8a657b9
Refactor lotus tracer to behave like lp2p tracer
Sep 15, 2021
c064ce4
Add generated documentation
Sep 15, 2021
d270220
Merge pull request #6 from ChainSafe/mpetrun5/tracer-json-transport
Sep 15, 2021
bb85ca0
Add elasticsearch transport
Sep 15, 2021
cf06096
Fix tracer initialization
Sep 15, 2021
e20cd0e
Propagate error on creating transport
Sep 15, 2021
707faf5
Code cleanup
Sep 15, 2021
71a2ca9
Add new wrapper structure in tracer transport
Sep 15, 2021
add13c2
Code cleanup
Sep 15, 2021
67c1d63
Rename jsonEvent to evt
Sep 15, 2021
5cbd251
Remove processing elasticsearch result
Sep 15, 2021
c25a5e0
Use config string for elasticsearch client
Sep 16, 2021
515925a
Merge pull request #7 from ChainSafe/mmuftic/elastic-search-transport
Sep 16, 2021
e220614
Add source auth token to lotus traces
Sep 16, 2021
d067bc9
Move creating and opening file to json transport constructor
Sep 16, 2021
9cdc526
Fix lotus tracer being nil when remote tracer is not configured
Sep 16, 2021
941a0f7
Update peer score tracker creation to include lotus tracer
Sep 16, 2021
9efa495
Write every trace to new line when using json transport
Sep 16, 2021
8e2b474
Use only one document on elastic
Sep 16, 2021
f09f5c2
Change elastic document name
Sep 16, 2021
dc79ea3
Change index name
Sep 17, 2021
a91ffa6
Set peer id event as string in lotus trace event
Sep 17, 2021
7d0aefa
Change peer score event type to avoid exceeding elastisearch field limit
Sep 17, 2021
0962e73
Add loger to elastic search client
Sep 17, 2021
a685ccc
Remove document id
Sep 17, 2021
082f707
Revert additional logging in elastic client
Sep 20, 2021
d65d9aa
Send peerID peer score as separate events to enable usage of kibana r…
Sep 21, 2021
0c390d1
Append source auth flag to lotus tracer event
Sep 21, 2021
e46da5a
Add cli flags
Sep 24, 2021
94a1601
Remove hardcoded url schema
Sep 24, 2021
22bbb11
Fix schema creation
Sep 24, 2021
4438c4b
Move index name to config only and add default value
Sep 24, 2021
70e3a9a
Merge pull request #10 from ChainSafe/mmuftic/add-cli-flags
Sep 24, 2021
9332b9f
Change json config naming
Sep 24, 2021
72d8e62
Add kibana dashboard configurations
Sep 24, 2021
22f8d32
Merge branch 'mpetrun5/lotus-extended-tracer' of github.com:ChainSafe…
Sep 24, 2021
30fc238
Merge branch 'mpetrun5/lotus-extended-tracer' of github.com:ChainSafe…
Sep 24, 2021
6c680e3
Rename json tracer flag
Sep 24, 2021
36913f4
Fix elasticsearch index setup
Sep 27, 2021
581a546
Add README for creating kibana dashboards
Sep 27, 2021
1e9a089
Merge branch 'mpetrun5/lotus-extended-tracer' of github.com:ChainSafe…
Sep 27, 2021
58afade
Merge pull request #9 from ChainSafe/mpetrun5/lotus-extended-tracer
Sep 28, 2021
45bb8c3
Remove cli flags
Sep 29, 2021
3433fa4
Add stringdocs to config props and generate docs
Sep 29, 2021
7b19bea
Fix linter errors
Sep 29, 2021
181b35d
Extend peer score event with score components
Sep 29, 2021
c34e15b
Add elasticsearch index template and update dashboards
Sep 29, 2021
53c8e68
Remove extra tracer dtypes
Sep 29, 2021
ea76736
Add unit tests for lotus tracer
Sep 29, 2021
530df42
Fix linter errors
Sep 29, 2021
59040d4
Trace reject messages in pubsub
Nov 10, 2021
df17ea0
Merge branch 'master' into libp2p-pubsub-tracer
Nov 10, 2021
62e98c1
Regenerate lotus config
Nov 10, 2021
c2e4690
Check upper bound for deal duration
geoff-vball Nov 29, 2022
f8754d9
Switch release name template from "Release vX.X.X" to "vX.X.X":wq
ianconsolata Dec 5, 2022
5a3b6be
Merge pull request #9792 from filecoin-project/id/update-release-name…
jennijuju Dec 8, 2022
129531b
Update chain.go
jennijuju Dec 8, 2022
3a6d37c
make jen
jennijuju Dec 8, 2022
3bb12f4
fmt
jennijuju Dec 8, 2022
0026ad8
Merge pull request #9813 from filecoin-project/jennijuju-patch-4
jennijuju Dec 8, 2022
a10c014
Merge pull request #7398 from ChainSafe/libp2p-pubsub-tracer
magik6k Dec 8, 2022
2fd0cb4
fix: sealing: Avoid nil dereference in debug log
magik6k Dec 9, 2022
f0bf340
sealing: Add a guard check to getExpirationCached when sector not found
magik6k Dec 9, 2022
4854bef
mod tidy, fix lint
magik6k Dec 9, 2022
c46bf47
fix: miner info: Output correct StartTime
magik6k Dec 9, 2022
1234647
fix: don't log sp address in binary on node startup
magik6k Dec 9, 2022
36183c7
Remove echo so docker images actually push
ianconsolata Dec 9, 2022
3b9b688
Deploy lotus-all-in-one:master on all master merges
ianconsolata Dec 9, 2022
0635c1c
Also build / push lotus images
ianconsolata Dec 9, 2022
5ad27f5
Also push docker images to SHA tags
ianconsolata Dec 9, 2022
7722155
go mody tidy
ianconsolata Dec 9, 2022
958fc69
Fix linter issues
ianconsolata Dec 9, 2022
4936b7e
make gen
geoff-vball Dec 9, 2022
b135f7d
go mod tidy
geoff-vball Dec 9, 2022
29623a1
Merge pull request #9826 from filecoin-project/id/fix-docker-deployments
geoff-vball Dec 9, 2022
2f8cdb4
Merge pull request #9824 from filecoin-project/fix/miner-startup-bin-log
geoff-vball Dec 9, 2022
903242a
Merge pull request #9823 from filecoin-project/fix/sp-start-time-info
geoff-vball Dec 9, 2022
ab25809
Merge pull request #9822 from filecoin-project/fix/sealing-updateinpu…
arajasek Dec 10, 2022
33a176e
Merge pull request #9753 from filecoin-project/gstuart/fix-devnet-deals
geoff-vball Dec 12, 2022
f95e660
Check for nil returns from StateSectorGetInfo
geoff-vball Dec 12, 2022
466f0c5
cli: Add lotus-shed cli for computing frc42 method num
Dec 12, 2022
a5d773d
go mod changes
Dec 12, 2022
4892e25
Merge pull request #9845 from filecoin-project/sbansal/frc42-method-n…
shrenujbansal Dec 12, 2022
5943163
Merge pull request #9843 from filecoin-project/gstuart/fix-sector-not…
arajasek Dec 13, 2022
3b33f65
chore: merge releases back into master
Dec 13, 2022
ccf1ba2
Merge pull request #9860 from filecoin-project/sbansal/merge-releases…
shrenujbansal Dec 13, 2022
e1926a0
Use abi.MethodNum instead of uint64 for method nums
geoff-vball Dec 13, 2022
f3830b6
Merge pull request #9861 from filecoin-project/gstuart/use-method-num…
geoff-vball Dec 13, 2022
ae4010f
Drop actor keys from chain/actors/manifest.go
geoff-vball Dec 13, 2022
9720ce6
Download the right go binary on darwin-arm64
ianconsolata Dec 13, 2022
93d12e1
Add v prefix to .tar.gz file names
ianconsolata Dec 13, 2022
8960c11
Add otool -hv check to make sure binary is correct
ianconsolata Dec 13, 2022
1a9e8ac
Merge pull request #9867 from filecoin-project/id/fix-macos-build
geoff-vball Dec 14, 2022
1ddbb41
Merge pull request #9866 from filecoin-project/gstuart/actor-key-refa…
arajasek Dec 14, 2022
ab61119
Set noexecstack on snapcraft builds
ianconsolata Dec 14, 2022
855c35c
Move eth functions out of api
geoff-vball Dec 14, 2022
8c566c3
Print addr when key not found
geoff-vball Dec 14, 2022
a264893
Merge pull request #9873 from filecoin-project/gstuart/print-addr-key…
arajasek Dec 14, 2022
96bb03e
Move EthTxReceipt to api
geoff-vball Dec 14, 2022
442132b
Move eth types to chain/types/ethtypes
geoff-vball Dec 14, 2022
3497b53
Fix lint
geoff-vball Dec 14, 2022
0c305ed
Merge pull request #9872 from filecoin-project/gstuart/dont-depend-on…
arajasek Dec 14, 2022
d615b1c
Update go-state-types
geoff-vball Dec 15, 2022
720451c
Merge branch 'master' into feat/nv18-fevm
arajasek Dec 15, 2022
bc22bb1
Merge pull request #9876 from filecoin-project/gstuart/update-gst
arajasek Dec 15, 2022
596307b
Merge branch 'master' into feat/nv18-fevm
arajasek Dec 15, 2022
518e666
FVM: Set chain ID when creating machine
arajasek Dec 12, 2022
69ac840
Update the v10 actors testing bundle
arajasek Dec 15, 2022
886a286
Quiet wdpost logs, add error log to multisig reentrant
geoff-vball Dec 15, 2022
36b9fe6
Merge pull request #9838 from filecoin-project/asr/chain-id
arajasek Dec 15, 2022
88d59f6
Set notifications for SIGTERM and SIGINT when we start the cli
geoff-vball Dec 14, 2022
1d5ccab
Update itests/multisig_test.go
geoff-vball Dec 15, 2022
806b9a5
Merge pull request #9874 from filecoin-project/gstuart/always-be-able…
geoff-vball Dec 15, 2022
0b1cc40
Merge pull request #9881 from filecoin-project/gstuart/multisig-flake
geoff-vball Dec 15, 2022
1dcae9a
Merge pull request #9868 from filecoin-project/id/fix-snapcraft
geoff-vball Dec 15, 2022
f8f07db
Support creation and signing of Eth keys
arajasek Dec 15, 2022
d574eda
Merge pull request #9886 from filecoin-project/asr/delegated-wallet
arajasek Dec 15, 2022
4aa24c2
Account abstraction: Add test demonstrating workflow
arajasek Dec 9, 2022
830c3e4
Eth: Propogate errors
arajasek Dec 9, 2022
160bcd6
Messagepool: check sender is valid for sending
arajasek Dec 11, 2022
54cb97a
Expand EthAccount abstraction test
arajasek Dec 15, 2022
d2a2fbb
Don't include network when publishing mainnet sha image
ianconsolata Dec 15, 2022
dbb52ec
Skip TestGoRPCAuth until Raft is fixed
geoff-vball Dec 15, 2022
425d8a7
Merge pull request #9889 from filecoin-project/gstuart/skip-raft-test
geoff-vball Dec 16, 2022
22ca06f
Use short SHA for docker image tags
ianconsolata Dec 16, 2022
1dee884
Merge pull request #9890 from filecoin-project/id/fix-docker-sha-push
geoff-vball Dec 16, 2022
503bdb5
Merge pull request #9831 from filecoin-project/asr/account-abstraction
arajasek Dec 16, 2022
7ea690d
Merge branch 'master' into feat/nv18-fevm
arajasek Dec 16, 2022
bc7c190
Move all eth stuff into ethtypes
geoff-vball Dec 16, 2022
c9f1b18
Merge pull request #9900 from filecoin-project/gstuart/eth-refactor-f…
arajasek Dec 16, 2022
92f3a7b
Merge branch 'feat/nv18-fevm' into feat/nv18-events
geoff-vball Dec 16, 2022
4ae498a
Fixes
geoff-vball Dec 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 111 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ commands:
default: false
description: is a darwin build environment?
type: boolean
darwin-architecture:
default: "amd64"
description: which darwin architecture is being used?
type: string
steps:
- checkout
- git_fetch_all_tags
Expand All @@ -59,7 +63,7 @@ commands:
- run:
name: Install Go
command: |
curl https://dl.google.com/go/go`cat GO_VERSION_MIN`.darwin-amd64.pkg -o /tmp/go.pkg && \
curl https://dl.google.com/go/go`cat GO_VERSION_MIN`.darwin-<<parameters.darwin-architecture>>.pkg -o /tmp/go.pkg && \
sudo installer -pkg /tmp/go.pkg -target /
- run:
name: Export Go
Expand Down Expand Up @@ -276,7 +280,9 @@ jobs:
- prepare:
linux: false
darwin: true
darwin-architecture: amd64
- run: make lotus lotus-miner lotus-worker
- run: otool -hv lotus
- run:
name: check tag and version output match
command: ./scripts/version-check.sh ./lotus
Expand All @@ -298,10 +304,12 @@ jobs:
- prepare:
linux: false
darwin: true
darwin-architecture: arm64
- run: |
export CPATH=$(brew --prefix)/include
export LIBRARY_PATH=$(brew --prefix)/lib
make lotus lotus-miner lotus-worker
- run: otool -hv lotus
- run:
name: check tag and version output match
command: ./scripts/version-check.sh ./lotus
Expand Down Expand Up @@ -586,10 +594,14 @@ jobs:
- run:
name: Docker push
command: |
echo docker push filecoin/<<parameters.image>>:<<parameters.channel>>
docker push filecoin/<<parameters.image>>:<<parameters.channel>>
if [[ ! -z $CIRCLE_SHA ]]; then
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>>> filecoin/<<parameters.image>>:"${CIRCLE_SHA:0:7}"
docker push filecoin/<<parameters.image>>:"${CIRCLE_SHA:0:7}"
fi
if [[ ! -z $CIRCLE_TAG ]]; then
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>> filecoin/<<parameters.image>>:"${CIRCLE_TAG}"
echo docker push filecoin/<<parameters.image>>:"${CIRCLE_TAG}"
docker push filecoin/<<parameters.image>>:"${CIRCLE_TAG}"
fi
- unless:
condition: <<parameters.push>>
Expand All @@ -612,10 +624,14 @@ jobs:
- run:
name: Docker push
command: |
echo docker push filecoin/<<parameters.image>>:<<parameters.channel>>-<<parameters.network>>
docker push filecoin/<<parameters.image>>:<<parameters.channel>>-<<parameters.network>>
if [[ ! -z $CIRCLE_SHA ]]; then
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>>-<<parameters.network>> filecoin/<<parameters.image>>:"${CIRCLE_SHA:0:7}"-<<parameters.network>>
docker push filecoin/<<parameters.image>>:"${CIRCLE_SHA:0:7}"-<<parameters.network>>
fi
if [[ ! -z $CIRCLE_TAG ]]; then
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>>-<<parameters.network>> filecoin/<<parameters.image>>:"${CIRCLE_TAG}"-<<parameters.network>>
echo docker push filecoin/<<parameters.image>>:"${CIRCLE_TAG}"-<<parameters.network>>
docker push filecoin/<<parameters.image>>:"${CIRCLE_TAG}"-<<parameters.network>>
fi
- unless:
condition: <<parameters.push>>
Expand Down Expand Up @@ -748,6 +764,11 @@ workflows:
suite: itest-dup_mpool_messages
target: "./itests/dup_mpool_messages_test.go"

- test:
name: test-itest-eth_account_abstraction
suite: itest-eth_account_abstraction
target: "./itests/eth_account_abstraction_test.go"

- test:
name: test-itest-eth_filter
suite: itest-eth_filter
Expand Down Expand Up @@ -1147,6 +1168,16 @@ workflows:
tags:
only:
- /^v\d+\.\d+\.\d+-rc\d+$/
- build-docker:
name: "Docker push (lotus-all-in-one / edge / mainnet)"
image: lotus-all-in-one
channel: master
network: mainnet
push: true
filters:
branches:
only:
- master
- build-docker:
name: "Docker build (lotus-all-in-one / mainnet)"
image: lotus-all-in-one
Expand Down Expand Up @@ -1182,6 +1213,16 @@ workflows:
tags:
only:
- /^v\d+\.\d+\.\d+-rc\d+$/
- build-docker:
name: "Docker push (lotus-all-in-one / edge / butterflynet)"
image: lotus-all-in-one
channel: master
network: butterflynet
push: true
filters:
branches:
only:
- master
- build-docker:
name: "Docker build (lotus-all-in-one / butterflynet)"
image: lotus-all-in-one
Expand Down Expand Up @@ -1217,6 +1258,16 @@ workflows:
tags:
only:
- /^v\d+\.\d+\.\d+-rc\d+$/
- build-docker:
name: "Docker push (lotus-all-in-one / edge / calibnet)"
image: lotus-all-in-one
channel: master
network: calibnet
push: true
filters:
branches:
only:
- master
- build-docker:
name: "Docker build (lotus-all-in-one / calibnet)"
image: lotus-all-in-one
Expand Down Expand Up @@ -1252,6 +1303,16 @@ workflows:
tags:
only:
- /^v\d+\.\d+\.\d+-rc\d+$/
- build-docker:
name: "Docker push (lotus-all-in-one / edge / debug)"
image: lotus-all-in-one
channel: master
network: debug
push: true
filters:
branches:
only:
- master
- build-docker:
name: "Docker build (lotus-all-in-one / debug)"
image: lotus-all-in-one
Expand All @@ -1261,6 +1322,51 @@ workflows:
branches:
only:
- /^release\/v\d+\.\d+\.\d+(-rc\d+)?$/
- build-docker:
name: "Docker push (lotus / stable / mainnet)"
image: lotus
channel: stable
network: mainnet
push: true
filters:
branches:
ignore:
- /.*/
tags:
only:
- /^v\d+\.\d+\.\d+$/
- build-docker:
name: "Docker push (lotus / candidate / mainnet)"
image: lotus
channel: candidate
network: mainnet
push: true
filters:
branches:
ignore:
- /.*/
tags:
only:
- /^v\d+\.\d+\.\d+-rc\d+$/
- build-docker:
name: "Docker push (lotus / master / mainnet)"
image: lotus
channel: master
network: mainnet
push: true
filters:
branches:
only:
- master
- build-docker:
name: "Docker build (lotus / mainnet)"
image: lotus
network: mainnet
push: false
filters:
branches:
only:
- /^release\/v\d+\.\d+\.\d+(-rc\d+)?$/

nightly:
triggers:
Expand Down
81 changes: 76 additions & 5 deletions .circleci/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ commands:
default: false
description: is a darwin build environment?
type: boolean
darwin-architecture:
default: "amd64"
description: which darwin architecture is being used?
type: string
steps:
- checkout
- git_fetch_all_tags
Expand All @@ -59,7 +63,7 @@ commands:
- run:
name: Install Go
command: |
curl https://dl.google.com/go/go`cat GO_VERSION_MIN`.darwin-amd64.pkg -o /tmp/go.pkg && \
curl https://dl.google.com/go/go`cat GO_VERSION_MIN`.darwin-<<parameters.darwin-architecture>>.pkg -o /tmp/go.pkg && \
sudo installer -pkg /tmp/go.pkg -target /
- run:
name: Export Go
Expand Down Expand Up @@ -276,7 +280,9 @@ jobs:
- prepare:
linux: false
darwin: true
darwin-architecture: amd64
- run: make lotus lotus-miner lotus-worker
- run: otool -hv lotus
- run:
name: check tag and version output match
command: ./scripts/version-check.sh ./lotus
Expand All @@ -298,10 +304,12 @@ jobs:
- prepare:
linux: false
darwin: true
darwin-architecture: arm64
- run: |
export CPATH=$(brew --prefix)/include
export LIBRARY_PATH=$(brew --prefix)/lib
make lotus lotus-miner lotus-worker
- run: otool -hv lotus
- run:
name: check tag and version output match
command: ./scripts/version-check.sh ./lotus
Expand Down Expand Up @@ -586,10 +594,14 @@ jobs:
- run:
name: Docker push
command: |
echo docker push filecoin/<<parameters.image>>:<<parameters.channel>>
docker push filecoin/<<parameters.image>>:<<parameters.channel>>
if [["[[ ! -z $CIRCLE_SHA ]]"]]; then
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>>> filecoin/<<parameters.image>>:"${CIRCLE_SHA:0:7}"
docker push filecoin/<<parameters.image>>:"${CIRCLE_SHA:0:7}"
fi
if [["[[ ! -z $CIRCLE_TAG ]]"]]; then
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>> filecoin/<<parameters.image>>:"${CIRCLE_TAG}"
echo docker push filecoin/<<parameters.image>>:"${CIRCLE_TAG}"
docker push filecoin/<<parameters.image>>:"${CIRCLE_TAG}"
fi
- unless:
condition: <<parameters.push>>
Expand All @@ -612,10 +624,14 @@ jobs:
- run:
name: Docker push
command: |
echo docker push filecoin/<<parameters.image>>:<<parameters.channel>>-<<parameters.network>>
docker push filecoin/<<parameters.image>>:<<parameters.channel>>-<<parameters.network>>
if [["[[ ! -z $CIRCLE_SHA ]]"]]; then
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>>-<<parameters.network>> filecoin/<<parameters.image>>:"${CIRCLE_SHA:0:7}"-<<parameters.network>>
docker push filecoin/<<parameters.image>>:"${CIRCLE_SHA:0:7}"-<<parameters.network>>
fi
if [["[[ ! -z $CIRCLE_TAG ]]"]]; then
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>>-<<parameters.network>> filecoin/<<parameters.image>>:"${CIRCLE_TAG}"-<<parameters.network>>
echo docker push filecoin/<<parameters.image>>:"${CIRCLE_TAG}"-<<parameters.network>>
docker push filecoin/<<parameters.image>>:"${CIRCLE_TAG}"-<<parameters.network>>
fi
- unless:
condition: <<parameters.push>>
Expand Down Expand Up @@ -798,6 +814,16 @@ workflows:
tags:
only:
- /^v\d+\.\d+\.\d+-rc\d+$/
- build-docker:
name: "Docker push (lotus-all-in-one / edge / [[.]])"
image: lotus-all-in-one
channel: master
network: [[.]]
push: true
filters:
branches:
only:
- master
- build-docker:
name: "Docker build (lotus-all-in-one / [[.]])"
image: lotus-all-in-one
Expand All @@ -808,6 +834,51 @@ workflows:
only:
- /^release\/v\d+\.\d+\.\d+(-rc\d+)?$/
[[- end]]
- build-docker:
name: "Docker push (lotus / stable / mainnet)"
image: lotus
channel: stable
network: mainnet
push: true
filters:
branches:
ignore:
- /.*/
tags:
only:
- /^v\d+\.\d+\.\d+$/
- build-docker:
name: "Docker push (lotus / candidate / mainnet)"
image: lotus
channel: candidate
network: mainnet
push: true
filters:
branches:
ignore:
- /.*/
tags:
only:
- /^v\d+\.\d+\.\d+-rc\d+$/
- build-docker:
name: "Docker push (lotus / master / mainnet)"
image: lotus
channel: master
network: mainnet
push: true
filters:
branches:
only:
- master
- build-docker:
name: "Docker build (lotus / mainnet)"
image: lotus
network: mainnet
push: false
filters:
branches:
only:
- /^release\/v\d+\.\d+\.\d+(-rc\d+)?$/

nightly:
triggers:
Expand Down
5 changes: 3 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ archives:
- id: primary
format: tar.gz
wrap_in_directory: true
name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
# this is a dumb but required hack so it doesn't include the default files
# https://github.com/goreleaser/goreleaser/issues/602
Expand All @@ -75,7 +76,7 @@ release:
owner: filecoin-project
name: lotus
prerelease: auto
name_template: "Release v{{.Version}}"
name_template: "v{{.Version}}"

brews:
- tap:
Expand Down Expand Up @@ -105,4 +106,4 @@ checksum:
disable: true

snapshot:
name_template: "{{ .Tag }}"
name_template: "{{ .Version }}"
Loading