Skip to content

Commit d387084

Browse files
JOYclaude
andcommitted
chore(testnet): bump backend to v10.2.1, fix deploy workflow
- docker-compose-testnet.yml: 10.0.1.commit.824dc3a5 → 10.2.1.commit.db0a69af - deploy-config.yml: drop common-blockscout.env from SCP source (file doesn't exist in repo — secrets live on VM only). The previous workflow has been failing at the SCP step since 2026-03-30 because of this missing file reference. After this push, deploy-testnet job should successfully SCP configs and run docker compose up to pull v10.2.1 and migrate the DB. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9a884d1 commit d387084

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/deploy-config.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
3737
source: >-
3838
docker-compose/docker-compose-mainnet.yml,
3939
docker-compose/Caddyfile-mainnet,
40-
docker-compose/envs/common-blockscout.env,
4140
docker-compose/envs/common-frontend.env,
4241
docker-compose/envs/common-smart-contract-verifier.env,
4342
docker-compose/envs/common-visualizer.env
@@ -58,20 +57,13 @@ jobs:
5857
# Backup current compose
5958
cp $DEPLOY_PATH/compose.yml $DEPLOY_PATH/compose.yml.bak 2>/dev/null || true
6059
61-
# Copy new configs (preserve secrets in blockscout env)
60+
# Copy new configs (common-blockscout.env stays on VM with real secrets)
6261
cp $SRC/docker-compose-mainnet.yml $DEPLOY_PATH/compose.yml
6362
cp $SRC/Caddyfile-mainnet $DEPLOY_PATH/Caddyfile
6463
cp $SRC/envs/common-frontend.env $DEPLOY_PATH/envs/common-frontend.env
6564
cp $SRC/envs/common-smart-contract-verifier.env $DEPLOY_PATH/envs/common-smart-contract-verifier.env
6665
cp $SRC/envs/common-visualizer.env $DEPLOY_PATH/envs/common-visualizer.env
6766
68-
# For blockscout env: only copy if SECRET_KEY_BASE is not CHANGE_ME
69-
if grep -q 'SECRET_KEY_BASE=CHANGE_ME' $SRC/envs/common-blockscout.env; then
70-
echo "Skipping common-blockscout.env (contains placeholder secrets)"
71-
else
72-
cp $SRC/envs/common-blockscout.env $DEPLOY_PATH/envs/common-blockscout.env
73-
fi
74-
7567
# Recreate only services with config changes (no downtime)
7668
cd $DEPLOY_PATH
7769
sudo docker compose up -d --remove-orphans
@@ -99,7 +91,6 @@ jobs:
9991
key: ${{ secrets.SSH_PRIVATE_KEY }}
10092
source: >-
10193
docker-compose/docker-compose-testnet.yml,
102-
docker-compose/envs/common-blockscout.env,
10394
docker-compose/envs/common-blockscout-testnet.env,
10495
docker-compose/envs/common-frontend.env,
10596
docker-compose/envs/common-frontend-testnet.env,
@@ -120,7 +111,6 @@ jobs:
120111
SRC=/tmp/doscan-deploy
121112
122113
cp $SRC/docker-compose-testnet.yml $DEPLOY_PATH/docker-compose.yml
123-
cp $SRC/envs/common-blockscout.env $DEPLOY_PATH/envs/common-blockscout.env
124114
cp $SRC/envs/common-blockscout-testnet.env $DEPLOY_PATH/envs/common-blockscout-testnet.env
125115
cp $SRC/envs/common-frontend.env $DEPLOY_PATH/envs/common-frontend.env
126116
cp $SRC/envs/common-frontend-testnet.env $DEPLOY_PATH/envs/common-frontend-testnet.env

docker-compose/docker-compose-testnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ services:
8282
- db
8383
- redis-db
8484
- avago
85-
image: ghcr.io/dos/doscan:10.0.1.commit.824dc3a5
85+
image: ghcr.io/dos/doscan:10.2.1.commit.db0a69af
8686
pull_policy: always
8787
restart: always
8888
stop_grace_period: 5m

0 commit comments

Comments
 (0)