mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-10 17:30:51 +00:00
Fix override script
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
6596672461
commit
4c12555260
1
.gitignore
vendored
1
.gitignore
vendored
@ -110,3 +110,4 @@ dev/tool/history.json
|
||||
.aider*
|
||||
/combined_dependencies
|
||||
.tmp
|
||||
ws-tests/docker-compose.override.yml
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user