mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
rococo-collator -> polkadot-collator (#449)
This commit is contained in:
@@ -66,7 +66,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "genesis-state:/data"
|
- "genesis-state:/data"
|
||||||
command: >
|
command: >
|
||||||
rococo-collator
|
polkadot-collator
|
||||||
export-genesis-state
|
export-genesis-state
|
||||||
/data/genesis-state
|
/data/genesis-state
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# this script runs the rococo-collator after fetching
|
# this script runs the polkadot-collator after fetching
|
||||||
# appropriate bootnode IDs
|
# appropriate bootnode IDs
|
||||||
#
|
#
|
||||||
# this is _not_ a general-purpose script; it is closely tied to the
|
# this is _not_ a general-purpose script; it is closely tied to the
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
set -e -o pipefail
|
set -e -o pipefail
|
||||||
|
|
||||||
ctpc="/usr/bin/rococo-collator"
|
ctpc="/usr/bin/polkadot-collator"
|
||||||
|
|
||||||
if [ ! -x "$ctpc" ]; then
|
if [ ! -x "$ctpc" ]; then
|
||||||
echo "FATAL: $ctpc does not exist or is not executable"
|
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.
|
# not the actual directory. We're stuck just enumerating them.
|
||||||
COPY . .
|
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
|
# 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
|
# 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 && \
|
npm install --global yarn && \
|
||||||
yarn global add @polkadot/api-cli@0.10.0-beta.14
|
yarn global add @polkadot/api-cli@0.10.0-beta.14
|
||||||
COPY --from=builder \
|
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
|
COPY ./docker/scripts/inject_bootnodes.sh /usr/bin
|
||||||
CMD ["/usr/bin/inject_bootnodes.sh"]
|
CMD ["/usr/bin/inject_bootnodes.sh"]
|
||||||
COPY ./docker/scripts/healthcheck.sh /usr/bin/
|
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
|
FROM debian:buster-slim
|
||||||
COPY --from=builder \
|
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