diff --git a/.github/action_templates/build-and-test/action.yaml b/.github/action_templates/build-and-test/action.yaml index a6fab87..e1fd761 100644 --- a/.github/action_templates/build-and-test/action.yaml +++ b/.github/action_templates/build-and-test/action.yaml @@ -59,8 +59,8 @@ runs: - name: Test shell: bash run: | - rm -rf /home/ubuntu/workspace/AWI_03W_113060_003/*.csv - rm -rf /home/ubuntu/workspace/AWI_03W_113060_003/*.parquet - rm -rf /home/ubuntu/workspace/AWI_03W_113060_003/outputs/* + rm -rf ${{vars.TEST_DATA_PATH}}/*.csv + rm -rf ${{vars.TEST_DATA_PATH}}/*.parquet + rm -rf ${{vars.TEST_DATA_PATH}}/outputs/* docker run --rm -v /home/ubuntu/workspace/AWI_03W_113060_003:/ngen/ngen/data awiciroh/${{ inputs.image-name}}:${{ env.TAG_NAME}} /ngen/ngen/data auto if: inputs.image-name == 'ciroh-ngen-image' \ No newline at end of file diff --git a/.github/workflows/docker_image_main_branch.yml b/.github/workflows/docker_image_main_branch.yml index e0fe10c..0b50f6b 100644 --- a/.github/workflows/docker_image_main_branch.yml +++ b/.github/workflows/docker_image_main_branch.yml @@ -25,8 +25,15 @@ jobs: sleep 300 if: startsWith(github.event.pull_request.head.repo.full_name, 'CIROH-UA') || (startsWith(github.ref, 'refs/heads/main') && github.event_name != 'pull_request') - deps: + init: needs: start-runner + runs-on: ARM64 + steps: + - name: clear docker cache + run: | + docker system prune -af + deps: + needs: init uses: ./.github/workflows/docker_deps_image.yml with: runner_label: ARM64