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

Feat/add docker push #5889

Merged
merged 3 commits into from
Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,7 @@ TAG:=test
docker: $(BUILD_DEPS)
curl -O https://raw.githubusercontent.com/filecoin-project/venus-docs/master/script/docker/dockerfile
docker build --build-arg https_proxy=$(BUILD_DOCKER_PROXY) --build-arg BUILD_TARGET=venus -t venus .
docker tag venus:latest filvenus/venus:$(TAG)
docker tag venus:latest $(PRIVATE_REGISTRY)/filvenus/venus:$(TAG)

docker-push: docker
docker push $(PRIVATE_REGISTRY)/filvenus/venus:$(TAG)
6 changes: 1 addition & 5 deletions pkg/constants/chain_parameters.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package constants

import (
"math"

"github.com/filecoin-project/go-state-types/abi"
builtin0 "github.com/filecoin-project/specs-actors/actors/builtin"
"math"
)

const (
Expand Down Expand Up @@ -34,9 +33,6 @@ const (

const MainNetBlockDelaySecs = uint64(builtin0.EpochDurationSeconds)

// todo move this value to config
var InsecurePoStValidation = false

const (
NoTimeout = math.MaxInt64
NoHeight = abi.ChainEpoch(-1)
Expand Down
3 changes: 3 additions & 0 deletions pkg/constants/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ import "os"

// FevmEnableEthRPC enables eth rpc, and enables storing a mapping of eth transaction hashes to filecoin message Cids.
var FevmEnableEthRPC = os.Getenv("VENUS_FEVM_ENABLEETHRPC") == "1"

// InsecurePoStValidation use to attach debug
var InsecurePoStValidation = os.Getenv("INSECURE_POST_VALIDATION") == "1"