ci: limit retention on all artifacts
This commit is contained in:
parent
a69cfdc8cd
commit
8e7edaf745
|
@ -115,6 +115,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.profile }}
|
name: ${{ matrix.profile }}
|
||||||
path: _packages/${{ matrix.profile }}/
|
path: _packages/${{ matrix.profile }}/
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
mac:
|
mac:
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -149,6 +150,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.profile }}
|
name: ${{ matrix.profile }}
|
||||||
path: _packages/${{ matrix.profile }}/
|
path: _packages/${{ matrix.profile }}/
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
runs-on: ['self-hosted', 'ephemeral', 'linux', "${{ matrix.arch }}"]
|
runs-on: ['self-hosted', 'ephemeral', 'linux', "${{ matrix.arch }}"]
|
||||||
|
@ -246,6 +248,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.profile }}
|
name: ${{ matrix.profile }}
|
||||||
path: _packages/${{ matrix.profile }}/
|
path: _packages/${{ matrix.profile }}/
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
publish_artifacts:
|
publish_artifacts:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -77,6 +77,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.profile[0] }}
|
name: ${{ matrix.profile[0] }}
|
||||||
path: _packages/${{ matrix.profile[0] }}/
|
path: _packages/${{ matrix.profile[0] }}/
|
||||||
|
retention-days: 7
|
||||||
- name: Send notification to Slack
|
- name: Send notification to Slack
|
||||||
uses: slackapi/slack-github-action@v1.23.0
|
uses: slackapi/slack-github-action@v1.23.0
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|
|
@ -45,4 +45,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: logs-${{ matrix.profile }}
|
name: logs-${{ matrix.profile }}
|
||||||
path: _build/${{ matrix.profile }}/rel/emqx/logs
|
path: _build/${{ matrix.profile }}/rel/emqx/logs
|
||||||
|
retention-days: 7
|
||||||
|
|
|
@ -63,3 +63,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: logs-emqx-app-tests
|
name: logs-emqx-app-tests
|
||||||
path: apps/emqx/_build/test/logs
|
path: apps/emqx/_build/test/logs
|
||||||
|
retention-days: 7
|
||||||
|
|
|
@ -39,6 +39,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: apache-jmeter.tgz
|
name: apache-jmeter.tgz
|
||||||
path: /tmp/apache-jmeter.tgz
|
path: /tmp/apache-jmeter.tgz
|
||||||
|
retention-days: 3
|
||||||
|
|
||||||
advanced_feat:
|
advanced_feat:
|
||||||
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
||||||
|
@ -90,6 +91,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: jmeter_logs
|
name: jmeter_logs
|
||||||
path: ./jmeter_logs
|
path: ./jmeter_logs
|
||||||
|
retention-days: 3
|
||||||
|
|
||||||
pgsql_authn_authz:
|
pgsql_authn_authz:
|
||||||
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
||||||
|
@ -156,6 +158,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: jmeter_logs
|
name: jmeter_logs
|
||||||
path: ./jmeter_logs
|
path: ./jmeter_logs
|
||||||
|
retention-days: 3
|
||||||
|
|
||||||
mysql_authn_authz:
|
mysql_authn_authz:
|
||||||
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
||||||
|
@ -215,6 +218,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: jmeter_logs
|
name: jmeter_logs
|
||||||
path: ./jmeter_logs
|
path: ./jmeter_logs
|
||||||
|
retention-days: 3
|
||||||
|
|
||||||
JWT_authn:
|
JWT_authn:
|
||||||
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
||||||
|
@ -266,6 +270,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: jmeter_logs
|
name: jmeter_logs
|
||||||
path: ./jmeter_logs
|
path: ./jmeter_logs
|
||||||
|
retention-days: 3
|
||||||
|
|
||||||
built_in_database_authn_authz:
|
built_in_database_authn_authz:
|
||||||
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
||||||
|
@ -309,3 +314,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: jmeter_logs
|
name: jmeter_logs
|
||||||
path: ./jmeter_logs
|
path: ./jmeter_logs
|
||||||
|
retention-days: 3
|
||||||
|
|
|
@ -54,6 +54,7 @@ jobs:
|
||||||
_packages
|
_packages
|
||||||
scripts
|
scripts
|
||||||
.ci
|
.ci
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
relup_test_run:
|
relup_test_run:
|
||||||
needs:
|
needs:
|
||||||
|
@ -117,3 +118,4 @@ jobs:
|
||||||
name: debug_data
|
name: debug_data
|
||||||
path: |
|
path: |
|
||||||
lux_logs
|
lux_logs
|
||||||
|
retention-days: 3
|
||||||
|
|
|
@ -68,6 +68,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: coverdata
|
name: coverdata
|
||||||
path: _build/test/cover
|
path: _build/test/cover
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
ct_docker:
|
ct_docker:
|
||||||
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
||||||
|
@ -111,6 +112,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: coverdata
|
name: coverdata
|
||||||
path: _build/test/cover
|
path: _build/test/cover
|
||||||
|
retention-days: 7
|
||||||
- name: compress logs
|
- name: compress logs
|
||||||
if: failure()
|
if: failure()
|
||||||
run: tar -czf logs.tar.gz _build/test/logs
|
run: tar -czf logs.tar.gz _build/test/logs
|
||||||
|
@ -119,6 +121,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: logs-${{ matrix.profile }}-${{ matrix.prefix }}-${{ matrix.otp }}-sg${{ matrix.suitegroup }}
|
name: logs-${{ matrix.profile }}-${{ matrix.prefix }}-${{ matrix.otp }}-sg${{ matrix.suitegroup }}
|
||||||
path: logs.tar.gz
|
path: logs.tar.gz
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
ct:
|
ct:
|
||||||
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
||||||
|
@ -156,6 +159,7 @@ jobs:
|
||||||
name: coverdata
|
name: coverdata
|
||||||
path: _build/test/cover
|
path: _build/test/cover
|
||||||
if-no-files-found: warn # do not fail if no coverdata found
|
if-no-files-found: warn # do not fail if no coverdata found
|
||||||
|
retention-days: 7
|
||||||
- name: compress logs
|
- name: compress logs
|
||||||
if: failure()
|
if: failure()
|
||||||
run: tar -czf logs.tar.gz _build/test/logs
|
run: tar -czf logs.tar.gz _build/test/logs
|
||||||
|
@ -164,6 +168,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: logs-${{ matrix.profile }}-${{ matrix.prefix }}-${{ matrix.otp }}-sg${{ matrix.suitegroup }}
|
name: logs-${{ matrix.profile }}-${{ matrix.prefix }}-${{ matrix.otp }}-sg${{ matrix.suitegroup }}
|
||||||
path: logs.tar.gz
|
path: logs.tar.gz
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
tests_passed:
|
tests_passed:
|
||||||
needs:
|
needs:
|
||||||
|
|
Loading…
Reference in New Issue