Update build_bromite.yaml

This commit is contained in:
uazo 2021-08-04 15:12:57 +02:00 committed by GitHub
parent af68a4afba
commit 34ce200a7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,10 +163,6 @@ jobs:
USEINTERNALNETWORK: true # CUSTOM RUNNER: create the docker network as internal
WORKSPACE: /home/lg/working_dir
ARTIFACS_DIR: /home/lg/working_dir/artifacs
HTTP_PROXY: ""
HTTPS_PROXY: ""
#http_proxy: ""
#https_proxy: ""
volumes:
- /storage/images/${{ github.event.inputs.sha }}:/home/lg/working_dir/artifacs
- /tmp/proxy:/tmp/proxy
@ -183,6 +179,12 @@ jobs:
sudo chmod 777 $ARTIFACS_DIR
rm -rf $ARTIFACS_DIR/*
# reset proxy env
HTTP_PROXY=
HTTPS_PROXY=
http_proxy=
https_proxy=
# update hosts
#sudo echo "$(cat /tmp/proxy/gomaserverip | xargs) gomaserver" >/etc/hosts
#sudo echo "$(cat /tmp/proxy/redisip | xargs) redis" >/etc/hosts
@ -260,6 +262,12 @@ jobs:
- name: Get goma logs
shell: bash
run: |
# reset proxy env
HTTP_PROXY=
HTTPS_PROXY=
http_proxy=
https_proxy=
wget http://127.0.0.1:8088/logz?INFO -O $ARTIFACS_DIR/goma-client.log
- name: Wait forever