change volume mapping due to insufficient space

This commit is contained in:
uazo 2021-08-17 13:29:04 +02:00 committed by GitHub
parent 3b0e563153
commit 3176e14604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,8 @@ jobs:
WORKSPACE: /home/lg/working_dir WORKSPACE: /home/lg/working_dir
ARTIFACS_DIR: /home/lg/working_dir/artifacs ARTIFACS_DIR: /home/lg/working_dir/artifacs
volumes: volumes:
- /storage/images/${{ github.event.inputs.sha }}:/home/lg/working_dir/artifacs #- /storage/images/${{ github.event.inputs.sha }}:/home/lg/working_dir/artifacs
- /storage/images/${{ github.event.inputs.sha }}/out:/home/lg/working_dir/chromium/src/out/bromite:r
steps: steps:
- name: Prepare Test Container - name: Prepare Test Container
@ -58,13 +59,12 @@ jobs:
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
cd $WORKSPACE cd $WORKSPACE
export VPYTHON_VIRTUALENV_ROOT=/home/lg/vpython_root
mkdir $VPYTHON_VIRTUALENV_ROOT mkdir $VPYTHON_VIRTUALENV_ROOT
# copy artifacts # copy artifacts
cd chromium/src #cd chromium/src
mkdir -p out/bromite #mkdir -p out/bromite
cp -arp $ARTIFACS_DIR/out/* out/bromite #cp -arp $ARTIFACS_DIR/out/* out/bromite
mkdir -p out/tests mkdir -p out/tests