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
REMOVEDOCKERSUPPORT: true
USELOCALIMAGE: true
HTTP_PROXY: ""
HTTPS_PROXY: ""
http_proxy: ""
https_proxy: ""
volumes:
- /storage/bromite/${{ github.sha }}:/home/lg/working_dir/artifacs
- /tmp/proxy:/tmp/proxy
@ -175,6 +171,11 @@ jobs:
export WORKSPACE=/home/lg/working_dir
cd $WORKSPACE
HTTP_PROXY=
HTTPS_PROXY=
http_proxy=
https_proxy=
export SERVER_HOST_GOMA=$(cat /tmp/proxy/gomaserverip | xargs)
# 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)