mirror of https://github.com/citusdata/citus.git
Reorganize upload artifact folder structure
parent
b3adf9c462
commit
48a987e12c
|
@ -1,54 +1,58 @@
|
||||||
name: save_logs_and_results
|
name: save_logs_and_results
|
||||||
|
inputs:
|
||||||
|
folder:
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id == '' }}
|
if: ${{ inputs.folder == '' }}
|
||||||
with:
|
with:
|
||||||
name: proxy.output
|
name: proxy.output
|
||||||
path: src/test/regress/proxy.output
|
path: src/test/regress/proxy.output
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id == '' }}
|
if: ${{ inputs.folder == '' }}
|
||||||
with:
|
with:
|
||||||
name: regress
|
name: regress
|
||||||
path: src/test/regress/results/
|
path: src/test/regress/results/
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id == '' }}
|
if: ${{ inputs.folder == '' }}
|
||||||
with:
|
with:
|
||||||
name: master.log
|
name: master.log
|
||||||
path: src/test/regress/tmp_check/master/log
|
path: src/test/regress/tmp_check/master/log
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id == '' }}
|
if: ${{ inputs.folder == '' }}
|
||||||
with:
|
with:
|
||||||
name: worker.57637.log
|
name: worker.57637.log
|
||||||
path: src/test/regress/tmp_check/worker.57637/log
|
path: src/test/regress/tmp_check/worker.57637/log
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id == '' }}
|
if: ${{ inputs.folder == '' }}
|
||||||
with:
|
with:
|
||||||
name: worker.57638.log
|
name: worker.57638.log
|
||||||
path: src/test/regress/tmp_check/worker.57638/log
|
path: src/test/regress/tmp_check/worker.57638/log
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id != '' }}
|
if: ${{ inputs.folder != '' }}
|
||||||
with:
|
with:
|
||||||
name: proxy_${{ matrix.id }}.output
|
name: ${{ inputs.folder }}/proxy.output
|
||||||
path: src/test/regress/proxy.output
|
path: src/test/regress/proxy.output
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id != '' }}
|
if: ${{ inputs.folder != '' }}
|
||||||
with:
|
with:
|
||||||
name: regress_${{ matrix.id }}
|
name: ${{ inputs.folder }}/regress
|
||||||
path: src/test/regress/results/
|
path: src/test/regress/results/
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id != '' }}
|
if: ${{ inputs.folder != '' }}
|
||||||
with:
|
with:
|
||||||
name: master_${{ matrix.id }}.log
|
name: ${{ inputs.folder }}/master.log
|
||||||
path: src/test/regress/tmp_check/master/log
|
path: src/test/regress/tmp_check/master/log
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id != '' }}
|
if: ${{ inputs.folder != '' }}
|
||||||
with:
|
with:
|
||||||
name: worker_${{ matrix.id }}.57637.log
|
name: ${{ inputs.folder }}/worker.57637.log
|
||||||
path: src/test/regress/tmp_check/worker.57637/log
|
path: src/test/regress/tmp_check/worker.57637/log
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id != '' }}
|
if: ${{ inputs.folder != '' }}
|
||||||
with:
|
with:
|
||||||
name: worker_${{ matrix.id }}.57638.log
|
name: ${{ inputs.folder }}/worker.57638.log
|
||||||
path: src/test/regress/tmp_check/worker.57638/log
|
path: src/test/regress/tmp_check/worker.57638/log
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
name: save_regressions
|
name: save_regressions
|
||||||
|
inputs:
|
||||||
|
folder:
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
|
@ -11,12 +15,12 @@ runs:
|
||||||
if: failure()
|
if: failure()
|
||||||
shell: bash
|
shell: bash
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id == '' }}
|
if: ${{ inputs.folder == '' }}
|
||||||
with:
|
with:
|
||||||
name: regression.diffs
|
name: regression.diffs
|
||||||
path: src/test/regress/regression.diffs
|
path: src/test/regress/regression.diffs
|
||||||
- uses: actions/upload-artifact@v3.1.1
|
- uses: actions/upload-artifact@v3.1.1
|
||||||
if: ${{ matrix.id != '' }}
|
if: ${{ inputs.folder != '' }}
|
||||||
with:
|
with:
|
||||||
path: src/test/regress/regression.diffs
|
path: src/test/regress/regression.diffs
|
||||||
name: regression_${{ matrix.id }}.diffs
|
name: ${{ inputs.folder }}/regression.diffs
|
||||||
|
|
|
@ -119,7 +119,11 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
- uses: "./.github/actions/save_logs_and_results"
|
- uses: "./.github/actions/save_logs_and_results"
|
||||||
if: always()
|
if: always()
|
||||||
|
with:
|
||||||
|
folder: ${{ matrix.id }}
|
||||||
- uses: "./.github/actions/save_regressions"
|
- uses: "./.github/actions/save_regressions"
|
||||||
if: always()
|
if: always()
|
||||||
|
with:
|
||||||
|
folder: ${{ matrix.id }}
|
||||||
- uses: "./.github/actions/stack_trace"
|
- uses: "./.github/actions/stack_trace"
|
||||||
if: always()
|
if: always()
|
||||||
|
|
Loading…
Reference in New Issue