Changeset View
Changeset View
Standalone View
Standalone View
contrib/source-control-tools/automated-commits.sh
Show First 20 Lines • Show All 229 Lines • ▼ Show 20 Lines | update-manpages) | ||||
fi | fi | ||||
git add "${MANPAGES_DIR}"/*\.1 | git add "${MANPAGES_DIR}"/*\.1 | ||||
git commit -m "${BOT_PREFIX} Update manpages" | git commit -m "${BOT_PREFIX} Update manpages" | ||||
;; | ;; | ||||
update-seeds) | update-seeds) | ||||
# Assumes seeder instances are already running on mainnet and testnet | TEAMCITY_DIR="${TOPLEVEL}"/contrib/teamcity | ||||
pushd "${TOPLEVEL}"/contrib/seeds | "${TEAMCITY_DIR}"/build-configurations.py --config "${TEAMCITY_DIR}"/automated-commits.yml "${COMMIT_TYPE}" | ||||
: "${SEEDS_MAIN:=seeds_main.txt}" | |||||
./makeseeds.py < "${SEEDS_MAIN}" > nodes_main.txt | |||||
git add nodes_main.txt | |||||
: "${SEEDS_TEST:=seeds_test.txt}" | |||||
./makeseeds.py < "${SEEDS_TEST}" > nodes_test.txt | |||||
git add nodes_test.txt | |||||
SEEDS_HEADER="${TOPLEVEL}"/src/chainparamsseeds.h | |||||
./generate-seeds.py . > "${SEEDS_HEADER}" | |||||
git add "${SEEDS_HEADER}" | |||||
popd | |||||
# Check that seeds have good connectivity | git add "${TOPLEVEL}"/contrib/seeds/nodes_main.txt | ||||
"${DEVTOOLS_DIR}"/build_cmake.sh | git add "${TOPLEVEL}"/contrib/seeds/nodes_test.txt | ||||
SEEDS_DIR="${TOPLEVEL}"/contrib/seeds | git add "${TOPLEVEL}"/src/chainparamsseeds.h | ||||
RPC_PORT=18832 "${SEEDS_DIR}"/check-seeds.sh main 80 | |||||
RPC_PORT=18833 "${SEEDS_DIR}"/check-seeds.sh test 70 | |||||
git commit -m "${BOT_PREFIX} Update seeds" | git commit -m "${BOT_PREFIX} Update seeds" | ||||
;; | ;; | ||||
update-timings) | update-timings) | ||||
"${DEVTOOLS_DIR}"/build_cmake.sh | "${DEVTOOLS_DIR}"/build_cmake.sh | ||||
pushd "${BUILD_DIR}" | pushd "${BUILD_DIR}" | ||||
ninja check-functional-extended | ninja check-functional-extended | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |