feat: Rebrand Polkadot/Substrate references to PezkuwiChain
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
This commit is contained in:
+9
-9
@@ -8,11 +8,11 @@ ARG IMAGE_NAME
|
||||
LABEL io.parity.image.authors="devops-team@parity.io" \
|
||||
io.parity.image.vendor="Parity Technologies" \
|
||||
io.parity.image.title="${IMAGE_NAME}" \
|
||||
io.parity.image.description="Substrate: The platform for blockchain innovators." \
|
||||
io.parity.image.description="Bizinikiwi: The platform for blockchain innovators." \
|
||||
io.parity.image.source="https://github.com/pezkuwichain/pezkuwichain-sdk/blob/${VCS_REF}/docker/dockerfiles/substrate_injected.Dockerfile" \
|
||||
io.parity.image.revision="${VCS_REF}" \
|
||||
io.parity.image.created="${BUILD_DATE}" \
|
||||
io.parity.image.documentation="https://wiki.parity.io/Parity-Substrate"
|
||||
io.parity.image.documentation="https://wiki.parity.io/Parity-Bizinikiwi"
|
||||
|
||||
# show backtraces
|
||||
ENV RUST_BACKTRACE 1
|
||||
@@ -29,17 +29,17 @@ RUN apt-get update && \
|
||||
apt-get clean && \
|
||||
find /var/lib/apt/lists/ -type f -not -name lock -delete; \
|
||||
# add user
|
||||
useradd -m -u 1000 -U -s /bin/sh -d /substrate substrate
|
||||
useradd -m -u 1000 -U -s /bin/sh -d /bizinikiwi bizinikiwi
|
||||
|
||||
# add substrate binary to docker image
|
||||
COPY ./artifacts/substrate /usr/local/bin
|
||||
# add bizinikiwi binary to docker image
|
||||
COPY ./artifacts/bizinikiwi /usr/local/bin
|
||||
|
||||
USER substrate
|
||||
USER bizinikiwi
|
||||
|
||||
# check if executable works in this container
|
||||
RUN /usr/local/bin/substrate --version
|
||||
RUN /usr/local/bin/bizinikiwi --version
|
||||
|
||||
EXPOSE 30333 9933 9944
|
||||
VOLUME ["/substrate"]
|
||||
VOLUME ["/bizinikiwi"]
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/substrate"]
|
||||
ENTRYPOINT ["/usr/local/bin/bizinikiwi"]
|
||||
@@ -1,14 +1,14 @@
|
||||
# this image is built on top of existing Zombienet image
|
||||
ARG ZOMBIENET_IMAGE
|
||||
# this image uses substrate-relay image built elsewhere
|
||||
ARG SUBSTRATE_RELAY_IMAGE=docker.io/paritytech/substrate-relay:v1.8.0
|
||||
# this image uses bizinikiwi-relay image built elsewhere
|
||||
ARG SUBSTRATE_RELAY_IMAGE=docker.io/paritytech/bizinikiwi-relay:v1.8.0
|
||||
|
||||
# metadata
|
||||
ARG VCS_REF
|
||||
ARG BUILD_DATE
|
||||
ARG IMAGE_NAME
|
||||
|
||||
# we need `substrate-relay` binary, built elsewhere
|
||||
# we need `bizinikiwi-relay` binary, built elsewhere
|
||||
FROM ${SUBSTRATE_RELAY_IMAGE} as relay-builder
|
||||
|
||||
# the base image is the zombienet image - we are planning to run zombienet tests using native
|
||||
@@ -38,8 +38,8 @@ COPY ./artifacts/polkadot-execute-worker /usr/local/bin/
|
||||
COPY ./artifacts/polkadot-prepare-worker /usr/local/bin/
|
||||
# add polkadot-parachain binary to the docker image
|
||||
COPY ./artifacts/polkadot-parachain /usr/local/bin
|
||||
# copy substrate-relay to the docker image
|
||||
COPY --from=relay-builder /home/user/substrate-relay /usr/local/bin/
|
||||
# copy bizinikiwi-relay to the docker image
|
||||
COPY --from=relay-builder /home/user/bizinikiwi-relay /usr/local/bin/
|
||||
# we need bridges zombienet runner and tests
|
||||
RUN mkdir -p /home/nonroot/bridges-polkadot-sdk
|
||||
COPY ./artifacts/bridges-polkadot-sdk /home/nonroot/bridges-polkadot-sdk
|
||||
@@ -53,7 +53,7 @@ USER node
|
||||
# check if executable works in this container
|
||||
RUN /usr/local/bin/polkadot --version
|
||||
RUN /usr/local/bin/polkadot-parachain --version
|
||||
RUN /usr/local/bin/substrate-relay --version
|
||||
RUN /usr/local/bin/bizinikiwi-relay --version
|
||||
|
||||
# https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:{PORT}#/explorer
|
||||
EXPOSE 9942 9910 8943 9945 9010 8945
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
version: '3.7'
|
||||
services:
|
||||
node_alice:
|
||||
image: "pezkuwi:${BRANCH:-cumulus-branch}"
|
||||
image: "pezkuwi:${BRANCH:-pezcumulus-branch}"
|
||||
ports:
|
||||
- "30333:30333"
|
||||
- "9933:9933"
|
||||
@@ -30,7 +30,7 @@ services:
|
||||
- alice
|
||||
|
||||
node_bob:
|
||||
image: "pezkuwi:${BRANCH:-cumulus-branch}"
|
||||
image: "pezkuwi:${BRANCH:-pezcumulus-branch}"
|
||||
ports:
|
||||
- "30344:30333"
|
||||
- "9935:9933"
|
||||
|
||||
+3
-3
@@ -8,11 +8,11 @@ ARG IMAGE_NAME
|
||||
LABEL io.parity.image.authors="devops-team@parity.io" \
|
||||
io.parity.image.vendor="Parity Technologies" \
|
||||
io.parity.image.title="${IMAGE_NAME}" \
|
||||
io.parity.image.description="Cumulus, the Polkadot collator." \
|
||||
io.parity.image.description="Pezcumulus, the Polkadot collator." \
|
||||
io.parity.image.source="https://github.com/pezkuwichain/pezkuwichain-sdk/blob/${VCS_REF}/docker/dockerfiles/polkadot-parachain/polkadot-parachain-debug_unsigned_injected.Dockerfile" \
|
||||
io.parity.image.revision="${VCS_REF}" \
|
||||
io.parity.image.created="${BUILD_DATE}" \
|
||||
io.parity.image.documentation="https://github.com/pezkuwichain/pezkuwichain-sdk/tree/master/cumulus"
|
||||
io.parity.image.documentation="https://github.com/pezkuwichain/pezkuwichain-sdk/tree/master/pezcumulus"
|
||||
|
||||
# show backtraces
|
||||
ENV RUST_BACKTRACE 1
|
||||
@@ -36,7 +36,7 @@ RUN apt-get update && \
|
||||
|
||||
# add polkadot-parachain binary to the docker image
|
||||
COPY ./artifacts/polkadot-parachain /usr/local/bin
|
||||
COPY ./cumulus/parachains/chain-specs/*.json /specs/
|
||||
COPY ./pezcumulus/parachains/chain-specs/*.json /specs/
|
||||
|
||||
USER polkadot-parachain
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
# This is the build stage for polkadot-parachain. Here we create the binary in a temporary image.
|
||||
FROM docker.io/paritytech/ci-linux:production as builder
|
||||
|
||||
WORKDIR /cumulus
|
||||
COPY . /cumulus
|
||||
WORKDIR /pezcumulus
|
||||
COPY . /pezcumulus
|
||||
|
||||
RUN cargo build --release --locked -p polkadot-parachain
|
||||
|
||||
@@ -15,14 +15,14 @@ LABEL io.parity.image.type="builder" \
|
||||
io.parity.image.vendor="Parity Technologies" \
|
||||
io.parity.image.description="Multistage Docker image for polkadot-parachain" \
|
||||
io.parity.image.source="https://github.com/pezkuwichain/pezkuwichain-sdk/blob/${VCS_REF}/docker/dockerfiles/polkadot-parachain/polkadot-parachain_builder.Dockerfile" \
|
||||
io.parity.image.documentation="https://github.com/pezkuwichain/pezkuwichain-sdk/tree/master/cumulus"
|
||||
io.parity.image.documentation="https://github.com/pezkuwichain/pezkuwichain-sdk/tree/master/pezcumulus"
|
||||
|
||||
COPY --from=builder /cumulus/target/release/polkadot-parachain /usr/local/bin
|
||||
COPY --from=builder /pezcumulus/target/release/polkadot-parachain /usr/local/bin
|
||||
|
||||
RUN useradd -m -u 1000 -U -s /bin/sh -d /cumulus polkadot-parachain && \
|
||||
mkdir -p /data /cumulus/.local/share && \
|
||||
RUN useradd -m -u 1000 -U -s /bin/sh -d /pezcumulus polkadot-parachain && \
|
||||
mkdir -p /data /pezcumulus/.local/share && \
|
||||
chown -R polkadot-parachain:polkadot-parachain /data && \
|
||||
ln -s /data /cumulus/.local/share/polkadot-parachain && \
|
||||
ln -s /data /pezcumulus/.local/share/polkadot-parachain && \
|
||||
# unclutter and minimize the attack surface
|
||||
rm -rf /usr/bin /usr/sbin && \
|
||||
# check if executable works in this container
|
||||
|
||||
@@ -8,7 +8,7 @@ ARG IMAGE_NAME
|
||||
LABEL io.parity.image.authors="devops-team@parity.io" \
|
||||
io.parity.image.vendor="Parity Technologies" \
|
||||
io.parity.image.title="${IMAGE_NAME}" \
|
||||
io.parity.image.description="Cumulus, the Polkadot collator." \
|
||||
io.parity.image.description="Pezcumulus, the Polkadot collator." \
|
||||
io.parity.image.source="https://github.com/pezkuwichain/pezkuwichain-sdk/blob/${VCS_REF}/docker/dockerfiles/polkadot-parachain/polkadot-parachain_injected.Dockerfile" \
|
||||
io.parity.image.revision="${VCS_REF}" \
|
||||
io.parity.image.created="${BUILD_DATE}" \
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# This file is sourced from https://github.com/pezkuwichain/pezkuwichain-sdk/blob/master/docker/dockerfiles/test-parachain-collator.Dockerfile
|
||||
FROM docker.io/paritytech/ci-linux:production as builder
|
||||
|
||||
WORKDIR /cumulus
|
||||
COPY . /cumulus
|
||||
WORKDIR /pezcumulus
|
||||
COPY . /pezcumulus
|
||||
|
||||
RUN cargo build --release --locked -p polkadot-parachain
|
||||
|
||||
@@ -23,7 +23,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/polkadot-parachain /usr/bin
|
||||
/paritytech/pezcumulus/target/release/polkadot-parachain /usr/bin
|
||||
COPY ./docker/scripts/inject_bootnodes.sh /usr/bin
|
||||
CMD ["/usr/bin/inject_bootnodes.sh"]
|
||||
COPY ./docker/scripts/healthcheck.sh /usr/bin/
|
||||
@@ -35,12 +35,12 @@ HEALTHCHECK --interval=300s --timeout=75s --start-period=30s --retries=3 \
|
||||
# outputs, which can then be moved into a volume at runtime
|
||||
FROM debian:buster-slim as runtime
|
||||
COPY --from=builder \
|
||||
/paritytech/cumulus/target/release/wbuild/cumulus-test-parachain-runtime/cumulus_test_parachain_runtime.compact.wasm \
|
||||
/paritytech/pezcumulus/target/release/wbuild/pezcumulus-test-parachain-runtime/cumulus_test_parachain_runtime.compact.wasm \
|
||||
/var/opt/
|
||||
CMD ["cp", "-v", "/var/opt/cumulus_test_parachain_runtime.compact.wasm", "/runtime/"]
|
||||
|
||||
FROM debian:buster-slim
|
||||
COPY --from=builder \
|
||||
/paritytech/cumulus/target/release/polkadot-parachain /usr/bin
|
||||
/paritytech/pezcumulus/target/release/polkadot-parachain /usr/bin
|
||||
|
||||
CMD ["/usr/bin/polkadot-parachain"]
|
||||
|
||||
@@ -12,7 +12,7 @@ LABEL io.parity.image.authors="devops-team@parity.io" \
|
||||
io.parity.image.source="https://github.com/pezkuwichain/pezkuwichain-sdk/blob/${VCS_REF}/docker/dockerfiles/test-parachain_injected.Dockerfile" \
|
||||
io.parity.image.revision="${VCS_REF}" \
|
||||
io.parity.image.created="${BUILD_DATE}" \
|
||||
io.parity.image.documentation="https://github.com/pezkuwichain/pezkuwichain-sdk/tree/master/cumulus"
|
||||
io.parity.image.documentation="https://github.com/pezkuwichain/pezkuwichain-sdk/tree/master/pezcumulus"
|
||||
|
||||
# show backtraces
|
||||
ENV RUST_BACKTRACE 1
|
||||
@@ -36,7 +36,7 @@ RUN apt-get update && \
|
||||
|
||||
# add test-parachain binary to the docker image
|
||||
COPY ./artifacts/test-parachain /usr/local/bin
|
||||
COPY ./cumulus/parachains/chain-specs/*.json /specs/
|
||||
COPY ./pezcumulus/parachains/chain-specs/*.json /specs/
|
||||
|
||||
USER test-parachain
|
||||
|
||||
|
||||
Reference in New Issue
Block a user