rococo-collator -> polkadot-collator (#449)

This commit is contained in:
Shawn Tabrizi
2021-05-24 05:14:12 -04:00
committed by GitHub
parent 6565a95343
commit 36c6da180a
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ services:
volumes:
- "genesis-state:/data"
command: >
rococo-collator
polkadot-collator
export-genesis-state
/data/genesis-state
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# this script runs the rococo-collator after fetching
# this script runs the polkadot-collator after fetching
# appropriate bootnode IDs
#
# this is _not_ a general-purpose script; it is closely tied to the
@@ -8,7 +8,7 @@
set -e -o pipefail
ctpc="/usr/bin/rococo-collator"
ctpc="/usr/bin/polkadot-collator"
if [ ! -x "$ctpc" ]; then
echo "FATAL: $ctpc does not exist or is not executable"
+4 -4
View File
@@ -19,7 +19,7 @@ WORKDIR /paritytech/cumulus
# not the actual directory. We're stuck just enumerating them.
COPY . .
RUN cargo build --release -p rococo-collator
RUN cargo build --release -p polkadot-collator
# the collator stage is normally built once, cached, and then ignored, but can
# be specified with the --target build flag. This adds some extra tooling to the
@@ -38,7 +38,7 @@ RUN apt-get update && apt-get install jq curl bash -y && \
npm install --global yarn && \
yarn global add @polkadot/api-cli@0.10.0-beta.14
COPY --from=builder \
/paritytech/cumulus/target/release/rococo-collator /usr/bin
/paritytech/cumulus/target/release/polkadot-collator /usr/bin
COPY ./docker/scripts/inject_bootnodes.sh /usr/bin
CMD ["/usr/bin/inject_bootnodes.sh"]
COPY ./docker/scripts/healthcheck.sh /usr/bin/
@@ -56,6 +56,6 @@ CMD ["cp", "-v", "/var/opt/cumulus_test_parachain_runtime.compact.wasm", "/runti
FROM debian:buster-slim
COPY --from=builder \
/paritytech/cumulus/target/release/rococo-collator /usr/bin
/paritytech/cumulus/target/release/polkadot-collator /usr/bin
CMD ["/usr/bin/rococo-collator"]
CMD ["/usr/bin/polkadot-collator"]