From e8fd4d30d94aeb772664fa19a643e9ce303c754d Mon Sep 17 00:00:00 2001 From: Cosmin Damian <17934949+cdamian@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:42:07 +0100 Subject: [PATCH] docker: Update test image name (#1644) --- docker/docker-compose-local-chain.yml | 4 ++-- docs/runtime-upgrade.md | 2 +- scripts/init.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/docker-compose-local-chain.yml b/docker/docker-compose-local-chain.yml index 61f3169b89..13f87b170f 100644 --- a/docker/docker-compose-local-chain.yml +++ b/docker/docker-compose-local-chain.yml @@ -5,7 +5,7 @@ services: - default user: root container_name: cc-alice - image: "centrifugeio/centrifuge-chain:${CC_DOCKER_TAG:-test-main-latest}" + image: "centrifugeio/centrifuge-chain:${CC_DOCKER_TAG:-latest}" platform: "linux/x86_64" ports: - "30355:30333" @@ -38,7 +38,7 @@ services: profiles: - old container_name: cc-alice - image: "centrifugeio/centrifuge-chain:${CC_DOCKER_TAG:-test-main-latest}" + image: "centrifugeio/centrifuge-chain:${CC_DOCKER_TAG:-latest}" platform: "linux/x86_64" ports: - "30355:30333" diff --git a/docs/runtime-upgrade.md b/docs/runtime-upgrade.md index 197439d0a9..1f3aa3617d 100644 --- a/docs/runtime-upgrade.md +++ b/docs/runtime-upgrade.md @@ -11,7 +11,7 @@ This must be done before releasing a new version of any of our runtimes to ensur ```sh PARA_CHAIN_SPEC=centrifuge-local CC_DOCKER_TAG= ./scripts/init.sh start-parachain-docker ``` - The `DOCKER_TAG` has the following format: `test-main--`. + The `DOCKER_TAG` has the following format: `main--`. You can see the available `DOCKER_TAG`s [here](https://hub.docker.com/r/centrifugeio/centrifuge-chain/tags) Open the **Centrifuge Local** client [here](https://polkadot.js.org/apps/?rpc=ws%3A%2F%2Flocalhost%3A9946#/explorer) diff --git a/scripts/init.sh b/scripts/init.sh index 646d16a456..44ba5b3d00 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -4,14 +4,14 @@ set -e cmd=$1 # The runtime we want to use -parachain="${PARA_CHAIN_SPEC:-altair-local}" +parachain="${PARA_CHAIN_SPEC:-centrifuge-local}" # The parachain Id we want to use para_id="${PARA_ID:-2000}" # The tmp base directory base_dir=/tmp/centrifuge-chain # Option to use the Docker image to export state & wasm docker_onboard="${DOCKER_ONBOARD:-false}" -cc_docker_image_tag="${PARA_DOCKER_IMAGE_TAG:-test-main-latest}" +cc_docker_image_tag="${PARA_DOCKER_IMAGE_TAG:-latest}" cc_docker_profile="${PARA_DOCKER_PROFILE:-default}" case $cmd in