Update build_bromite.yaml
This commit is contained in:
parent
af68a4afba
commit
34ce200a7f
16
.github/workflows/build_bromite.yaml
vendored
16
.github/workflows/build_bromite.yaml
vendored
@ -163,10 +163,6 @@ jobs:
|
|||||||
USEINTERNALNETWORK: true # CUSTOM RUNNER: create the docker network as internal
|
USEINTERNALNETWORK: true # CUSTOM RUNNER: create the docker network as internal
|
||||||
WORKSPACE: /home/lg/working_dir
|
WORKSPACE: /home/lg/working_dir
|
||||||
ARTIFACS_DIR: /home/lg/working_dir/artifacs
|
ARTIFACS_DIR: /home/lg/working_dir/artifacs
|
||||||
HTTP_PROXY: ""
|
|
||||||
HTTPS_PROXY: ""
|
|
||||||
#http_proxy: ""
|
|
||||||
#https_proxy: ""
|
|
||||||
volumes:
|
volumes:
|
||||||
- /storage/images/${{ github.event.inputs.sha }}:/home/lg/working_dir/artifacs
|
- /storage/images/${{ github.event.inputs.sha }}:/home/lg/working_dir/artifacs
|
||||||
- /tmp/proxy:/tmp/proxy
|
- /tmp/proxy:/tmp/proxy
|
||||||
@ -183,6 +179,12 @@ jobs:
|
|||||||
sudo chmod 777 $ARTIFACS_DIR
|
sudo chmod 777 $ARTIFACS_DIR
|
||||||
rm -rf $ARTIFACS_DIR/*
|
rm -rf $ARTIFACS_DIR/*
|
||||||
|
|
||||||
|
# reset proxy env
|
||||||
|
HTTP_PROXY=
|
||||||
|
HTTPS_PROXY=
|
||||||
|
http_proxy=
|
||||||
|
https_proxy=
|
||||||
|
|
||||||
# update hosts
|
# update hosts
|
||||||
#sudo echo "$(cat /tmp/proxy/gomaserverip | xargs) gomaserver" >/etc/hosts
|
#sudo echo "$(cat /tmp/proxy/gomaserverip | xargs) gomaserver" >/etc/hosts
|
||||||
#sudo echo "$(cat /tmp/proxy/redisip | xargs) redis" >/etc/hosts
|
#sudo echo "$(cat /tmp/proxy/redisip | xargs) redis" >/etc/hosts
|
||||||
@ -260,6 +262,12 @@ jobs:
|
|||||||
- name: Get goma logs
|
- name: Get goma logs
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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
|
wget http://127.0.0.1:8088/logz?INFO -O $ARTIFACS_DIR/goma-client.log
|
||||||
|
|
||||||
- name: Wait forever
|
- name: Wait forever
|
||||||
|
Loading…
Reference in New Issue
Block a user