Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
rename to substrate-node in more places
Browse files Browse the repository at this point in the history
  • Loading branch information
kianenigma committed Jul 19, 2023
1 parent 1d3e508 commit 66960f8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
10 changes: 4 additions & 6 deletions .maintain/local-docker-test-network/docker-compose.yml
Expand Up @@ -13,7 +13,7 @@
#
# # Usage
#
# 1. Build `target/release/substrate` binary: `cargo build --release`
# 1. Build `target/release/substrate-node` binary: `cargo build --release`
# 2. Start networks and containers:
# `sudo docker-compose -f .maintain/sentry-node/docker-compose.yml up`
# 3. Connect to nodes:
Expand All @@ -24,16 +24,14 @@
# - grafana: localhost:3001
# - prometheus: localhost:9090


version: "3.7"
services:

validator-a:
ports:
- "9944:9944"
- "9615:9615"
volumes:
- ../../target/release/substrate:/usr/local/bin/substrate
- ../../target/release/substrate-node:/usr/local/bin/substrate-node
image: parity/substrate
networks:
- internet
Expand Down Expand Up @@ -64,7 +62,7 @@ services:
ports:
- "9945:9944"
volumes:
- ../../target/release/substrate:/usr/local/bin/substrate
- ../../target/release/substrate-node:/usr/local/bin/substrate
networks:
- internet
command:
Expand Down Expand Up @@ -94,7 +92,7 @@ services:
ports:
- "9946:9944"
volumes:
- ../../target/release/substrate:/usr/local/bin/substrate
- ../../target/release/substrate-node:/usr/local/bin/substrate
networks:
- internet
command:
Expand Down
2 changes: 1 addition & 1 deletion docker/substrate_builder.Dockerfile
Expand Up @@ -15,7 +15,7 @@ LABEL description="Multistage Docker image for Substrate: a platform for web3" \
io.parity.image.source="https://github.com/paritytech/polkadot/blob/${VCS_REF}/docker/substrate_builder.Dockerfile" \
io.parity.image.documentation="https://github.com/paritytech/polkadot/"

COPY --from=builder /substrate/target/release/substrate /usr/local/bin
COPY --from=builder /substrate/target/release/substrate-node /usr/local/bin
COPY --from=builder /substrate/target/release/subkey /usr/local/bin
COPY --from=builder /substrate/target/release/node-template /usr/local/bin
COPY --from=builder /substrate/target/release/chain-spec-builder /usr/local/bin
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/gitlab/pipeline/build.yml
Expand Up @@ -78,7 +78,7 @@ build-linux-substrate:
script:
- rusty-cachier snapshot create
- WASM_BUILD_NO_COLOR=1 time cargo build --locked --release -p node-cli --verbose
- mv $CARGO_TARGET_DIR/release/substrate ./artifacts/substrate/.
- mv $CARGO_TARGET_DIR/release/substrate-node ./artifacts/substrate/.
- echo -n "Substrate version = "
- if [ "${CI_COMMIT_TAG}" ]; then
echo "${CI_COMMIT_TAG}" | tee ./artifacts/substrate/VERSION;
Expand Down
4 changes: 2 additions & 2 deletions utils/frame/try-runtime/cli/src/lib.rs
Expand Up @@ -172,11 +172,11 @@
//!
//! ```bash
//! # this is like your running deployed node.
//! cargo build --release && cp target/release/substrate .
//! cargo build --release && cp target/release/substrate-node .
//!
//! # this is like your WIP branch.
//! cargo build --release --features try-runtime
//! cp target/release/substrate substrate-try-runtime
//! cp target/release/substrate-node substrate-try-runtime
//! cp ./target/release/wbuild/kitchensink-runtime/kitchensink_runtime.wasm runtime-try-runtime.wasm
//! ```
//!
Expand Down

0 comments on commit 66960f8

Please sign in to comment.