diff --git a/zombienet/docker/Makefile b/zombienet/docker/Makefile index 9e81e87802..11b8ee82a4 100644 --- a/zombienet/docker/Makefile +++ b/zombienet/docker/Makefile @@ -1,11 +1,14 @@ RUST_IMAGE=rust:1.79-slim-bookworm # bookworm (Debian 12) MINIDEB_IMAGE=bitnami/minideb@sha256:6cc3baf349947d587a9cd4971e81ff3ffc0d17382f2b5b6de63d6542bff10c16 +SCCACHE_VERSION ?= 0.7.4 +# empty for local usage DOCKER_REGISTRY_PATH ?= + PLATFORM ?= linux/amd64 ARCHITECTURE ?= amd64 -SCCACHE_VERSION ?= 0.7.4 + ARTIFACTS_REPO ?= kagome-apt REGION ?= europe-north1 @@ -15,7 +18,7 @@ GOOGLE_APPLICATION_CREDENTIALS ?= PROJECT_ID ?= CARGO_PACKETS=-p test-parachain-adder-collator -p polkadot-test-malus -p test-parachain-undying-collator -RESULT_BINARIES=./target/testnet/malus ./target/testnet/undying-collator ./target/testnet/adder-collator +RESULT_BINARIES=./target/release/malus ./target/release/undying-collator ./target/release/adder-collator RESULT_BIN_NAMES=malus undying-collator adder-collator POLKADOT_BINARY_PACKAGE_VERSION ?= @@ -159,7 +162,7 @@ polkadot_binary: -c "tail -f /dev/null"; \ docker exec -t $$CONTAINER_NAME /bin/bash -c \ "cargo update $(CARGO_PACKETS) && \ - cargo build --profile testnet $(CARGO_PACKETS) && \ + cargo build --release $(CARGO_PACKETS) && \ cp $(RESULT_BINARIES) /tmp/polkadot_binary/ && \ ./build_apt_package.sh \ $$POLKADOT_RELEASE_GLOBAL_NUMERIC-$$SHORT_COMMIT_HASH \