Fix override script

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2025-04-11 10:01:59 +07:00
parent 6596672461
commit 4c12555260
No known key found for this signature in database
GPG Key ID: BD80F68D68D8F7F2
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -110,3 +110,4 @@ dev/tool/history.json
.aider*
/combined_dependencies
.tmp
ws-tests/docker-compose.override.yml

View File

@ -28,13 +28,20 @@ grep -B 1 "image: hardcoreeng/" $COMPOSE_FILE | grep -v "\-\-" | grep -v "image:
pod_name=$(echo $image | sed 's/hardcoreeng\///')
echo " image: hardcoreeng/$pod_name:$VERSION" >> $OVERRIDE_FILE
echo " pull_policy: always" >> $OVERRIDE_FILE
if [ "$pod_name" == "account" ]; then
echo " environment:" >> $OVERRIDE_FILE
echo " - REGION_INFO=|;europe|Europe" >> $OVERRIDE_FILE
fi
if [ "$pod_name" == "workspace" ]; then
echo " environment:" >> $OVERRIDE_FILE
echo " - INIT_WORKSPACE=huly" >> $OVERRIDE_FILE
fi
fi
done
./fetch-tool-bundle.sh
echo "Created $OVERRIDE_FILE with fixed version $VERSION for all hardcoreeng services"
echo "To use it, run: prepare.sh"