Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker test image name #1644

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/docker-compose-local-chain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion docs/runtime-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<DOCKER_TAG> ./scripts/init.sh start-parachain-docker
```
The `DOCKER_TAG` has the following format: `test-main-<DATE>-<COMMIT_HASH>`.
The `DOCKER_TAG` has the following format: `main-<COMMIT_HASH>-<DATE>`.
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)
Expand Down
4 changes: 2 additions & 2 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down