mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 18:27:56 +00:00
rococo-collator -> polkadot-collator (#449)
This commit is contained in:
@@ -66,7 +66,7 @@ services:
|
||||
volumes:
|
||||
- "genesis-state:/data"
|
||||
command: >
|
||||
rococo-collator
|
||||
polkadot-collator
|
||||
export-genesis-state
|
||||
/data/genesis-state
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user