Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/automated-commits.yml
- This file was added.
--- | |||||
builds: | |||||
update-seeds: | |||||
targets: | |||||
- - bitcoind | |||||
- bitcoin-cli | |||||
timeout: 900 | |||||
post_build: | | |||||
# Assumes seeder instances are already running on mainnet and testnet | |||||
pushd "${TOPLEVEL}"/contrib/seeds | |||||
: "${SEEDS_MAIN:=seeds_main.txt}" | |||||
./makeseeds.py < "${SEEDS_MAIN}" > nodes_main.txt | |||||
: "${SEEDS_TEST:=seeds_test.txt}" | |||||
./makeseeds.py < "${SEEDS_TEST}" > nodes_test.txt | |||||
./generate-seeds.py . > "${TOPLEVEL}"/src/chainparamsseeds.h | |||||
popd | |||||
deadalnix: None of this require bitcoind or bitcoin-cli, and once this run, bitcoind and bitcoin-cli now… | |||||
jasonbcoxAuthorUnsubmitted Done Inline Actionsbitcoind and bitcoin-cli are only necessary for running check-seeds.sh which connects to each seed address using RPC, so using the old binary is fine. Ideally, perhaps the binary should run the test on the seeds that were compiled in to make this test better/more complete. Regardless, I can revert the changes I made here to ensure we have room for such an improvement. jasonbcox: bitcoind and bitcoin-cli are only necessary for running `check-seeds.sh` which connects to each… | |||||
# Check that seeds have good connectivity | |||||
SEEDS_DIR="${TOPLEVEL}"/contrib/seeds | |||||
RPC_PORT=18832 "${SEEDS_DIR}"/check-seeds.sh main 80 | |||||
RPC_PORT=18833 "${SEEDS_DIR}"/check-seeds.sh test 70 |
None of this require bitcoind or bitcoin-cli, and once this run, bitcoind and bitcoin-cli now become obsolete, so I don't think this build plan makes a lot of sense.