move redis into goma-server
This commit is contained in:
parent
4c6eb4718e
commit
5bc12295a9
17
.github/workflows/build_bromite.yaml
vendored
17
.github/workflows/build_bromite.yaml
vendored
@ -139,21 +139,11 @@ jobs:
|
||||
if: success()
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis
|
||||
options: >-
|
||||
--health-cmd "redis-cli ping"
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
env:
|
||||
REMOVEDOCKERSUPPORT: true
|
||||
USELOCALIMAGE: true
|
||||
|
||||
gomaserver:
|
||||
image: uazo/goma-server
|
||||
volumes:
|
||||
- /tmp/proxy:/tmp/proxy
|
||||
- /redis:/var/lib/redis
|
||||
options: >-
|
||||
--health-cmd "hostname -I >/tmp/proxy/gomaserverip"
|
||||
--health-interval 30s
|
||||
@ -161,7 +151,6 @@ jobs:
|
||||
--health-retries 5
|
||||
|
||||
env:
|
||||
REDISHOST: redis
|
||||
REMOVEDOCKERSUPPORT: true
|
||||
USELOCALIMAGE: true
|
||||
|
||||
@ -200,6 +189,10 @@ jobs:
|
||||
sudo chmod 777 $ARTIFACS_DIR
|
||||
rm -rf $ARTIFACS_DIR/*
|
||||
|
||||
# update hosts
|
||||
#sudo echo "$(cat /tmp/proxy/gomaserverip | xargs) gomaserver" >/etc/hosts
|
||||
#sudo echo "$(cat /tmp/proxy/redisip | xargs) redis" >/etc/hosts
|
||||
|
||||
# set goma options
|
||||
export SERVER_HOST_GOMA=$(cat /tmp/proxy/gomaserverip | xargs)
|
||||
export GOMA_SERVER_HOST=$SERVER_HOST_GOMA
|
||||
|
Loading…
Reference in New Issue
Block a user