Skip to content

Commit

Permalink
cargo profile changed to release
Browse files Browse the repository at this point in the history
  • Loading branch information
Zak Fein committed Jul 20, 2024
1 parent 0a66582 commit 0451f02
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions zombienet/docker/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 ?=
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 0451f02

Please sign in to comment.