File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 10
10
steps :
11
11
- uses : actions/checkout@v2
12
12
- run : make -f x.mk e2e-local NODES=2 JUNIT_DIRECTORY=./artifacts/
13
- - name : Archive production artifacts # test results are only uploaded if any of the e2e tests fails
13
+ - name : Archive Test Artifacts # test results are only uploaded if any of the e2e tests fails
14
14
if : ${{ failure() }}
15
15
uses : actions/upload-artifact@v2
16
16
with :
Original file line number Diff line number Diff line change
1
+ name : flake-analyzer-periodics
2
+ on :
3
+ schedule :
4
+ - cron : ' 0 1 * * *'
5
+ jobs :
6
+ generate-flake-analysis-report :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Periodic Flake Report
10
+ env :
11
+ FLAKE_BOT_SECRET : ${{ secrets.GITHUB_TOKEN }}
12
+ run : |
13
+ git clone -b v0.1.1 https://github.com/operator-framework/flake-analyzer.git
14
+ cd ./flake-analyzer
15
+ make report-today OWNER=operator-framework REPO=operator-lifecycle-manager TOKEN=$FLAKE_BOT_SECRET TEST_SUITE=e2e-test-output OUTPUT_FILE=./report/artifacts/flake-report-today-$(date +"%m-%d-%Y").yaml
16
+ make report-last-7-days OWNER=operator-framework REPO=operator-lifecycle-manager TOKEN=$FLAKE_BOT_SECRET TEST_SUITE=e2e-test-output OUTPUT_FILE=./report/artifacts/flake-report-last-7-days-$(date +"%m-%d-%Y").yaml
17
+ make report-prev-7-days OWNER=operator-framework REPO=operator-lifecycle-manager TOKEN=$FLAKE_BOT_SECRET TEST_SUITE=e2e-test-output OUTPUT_FILE=./report/artifacts/flake-report-prev-7-days-$(date +"%m-%d-%Y").yaml
18
+ - name : Archive Reoport artifacts # test results are only uploaded if any of the e2e tests fails
19
+ uses : actions/upload-artifact@v2
20
+ with :
21
+ name : flake-report-${{ github.run_id }}
22
+ path : ${{ github.workspace }}/flake-analyzer/report/artifacts/*
You can’t perform that action at this time.
0 commit comments