Update build_bromite.yaml

This commit is contained in:
uazo 2021-07-30 17:24:38 +02:00 committed by GitHub
parent 8355e73892
commit 5b1013c9e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,10 +158,6 @@ jobs:
SERVER_HOST_GOMA: gomaserver SERVER_HOST_GOMA: gomaserver
REMOVEDOCKERSUPPORT: true REMOVEDOCKERSUPPORT: true
USELOCALIMAGE: true USELOCALIMAGE: true
HTTP_PROXY: ""
HTTPS_PROXY: ""
http_proxy: ""
https_proxy: ""
volumes: volumes:
- /storage/bromite/${{ github.sha }}:/home/lg/working_dir/artifacs - /storage/bromite/${{ github.sha }}:/home/lg/working_dir/artifacs
- /tmp/proxy:/tmp/proxy - /tmp/proxy:/tmp/proxy
@ -175,6 +171,11 @@ jobs:
export WORKSPACE=/home/lg/working_dir export WORKSPACE=/home/lg/working_dir
cd $WORKSPACE cd $WORKSPACE
HTTP_PROXY=
HTTPS_PROXY=
http_proxy=
https_proxy=
export SERVER_HOST_GOMA=$(cat /tmp/proxy/gomaserverip | xargs) export SERVER_HOST_GOMA=$(cat /tmp/proxy/gomaserverip | xargs)
# get goma internal server ip # get goma internal server ip
# SERVER_HOST_GOMA=$(docker inspect -f '{{.Config.Image}}={{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq) | grep goma-server | sed 's/[^=]*=\(.*\)/\1/' | xargs) # SERVER_HOST_GOMA=$(docker inspect -f '{{.Config.Image}}={{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq) | grep goma-server | sed 's/[^=]*=\(.*\)/\1/' | xargs)