Skip to content

Commit

Permalink
Merge pull request #5889 from filecoin-project/feat/add_docker_push
Browse files Browse the repository at this point in the history
Feat/add docker push
  • Loading branch information
simlecode authored Apr 4, 2023
2 parents 161a8c0 + cfc6e7d commit 88ccb6d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,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"

0 comments on commit 88ccb6d

Please sign in to comment.