From 34ce200a7fefab0731c2304b7ab10919ccf77a85 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Wed, 4 Aug 2021 15:12:57 +0200 Subject: [PATCH] Update build_bromite.yaml --- .github/workflows/build_bromite.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_bromite.yaml b/.github/workflows/build_bromite.yaml index 95e3928..fdc2afb 100644 --- a/.github/workflows/build_bromite.yaml +++ b/.github/workflows/build_bromite.yaml @@ -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 @@ -182,6 +178,12 @@ jobs: # clean artifacts 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 @@ -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