go-ethereum/cicd
Daniel Liu be40f8ac21
chore(cicd,common): unify XDC runtime binary across networks (#2147)
Package a single XDC binary for all networks and remove binary-switching logic from the CI/CD flow.

Changes:

- cicd/Dockerfile: build once and copy only /usr/bin/XDC

- cicd/entry.sh: validate NETWORK and remove runtime relink

- Makefile: make XDC-devnet-local depend on XDC; remove constants file swap

- common/constants: delete duplicated constants.go.{testnet,devnet,local}

Impact:

- network differences are now driven by runtime config, not separate binaries
2026-03-10 18:52:38 +05:30
..
devnet feat(start.sh): add configurable miner gas limit with default value (#2140) 2026-03-07 17:26:11 +08:00
local all: make nodes publish coinbase address to stats server (#1967) 2026-02-05 18:59:00 +07:00
mainnet fix(all): fix typo foudation (#2063) 2026-02-28 18:00:55 +04:00
testnet fix(all): fix typo foudation (#2063) 2026-02-28 18:00:55 +04:00
.dockerignore build universe docker image (#309) 2023-08-10 15:37:23 +10:00
Dockerfile chore(cicd,common): unify XDC runtime binary across networks (#2147) 2026-03-10 18:52:38 +05:30
entry.sh chore(cicd,common): unify XDC runtime binary across networks (#2147) 2026-03-10 18:52:38 +05:30
puppeth.sh genesis wizard accept file input 2025-09-14 15:19:19 +04:00
README.md add testnet and mainnet node for latest code testing (#467) 2024-03-04 17:13:50 +11:00

Docker Command

Docker Build

docker build  -f cicd/Dockerfile .

Docker Run

docker run -it -e NETWORK=devnet -e PRIVATE_KEY=$KEY $IMAGE
``