Skip to content

Add flake analyzer periodics #1645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: make -f x.mk e2e-local NODES=2 JUNIT_DIRECTORY=./artifacts/
- name: Archive production artifacts # test results are only uploaded if any of the e2e tests fails
- name: Archive Test Artifacts # test results are only uploaded if any of the e2e tests fails
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/flake-analyzer-periodics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: flake-analyzer-periodics
on:
schedule:
- cron: '0 1 * * *'
jobs:
generate-flake-analysis-report:
runs-on: ubuntu-latest
steps:
- name: Periodic Flake Report
env:
OWNER: operator-framework
REPO: operator-lifecycle-manager
TEST_SUITE: e2e-test-output
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git clone -b v0.1.1 https://github.com/operator-framework/flake-analyzer.git
cd ./flake-analyzer
make report-today OUTPUT_FILE=./report/artifacts/flake-report-today-$(date +"%m-%d-%Y").yaml
make report-last-7-days OUTPUT_FILE=./report/artifacts/flake-report-last-7-days-$(date +"%m-%d-%Y").yaml
make report-prev-7-days OUTPUT_FILE=./report/artifacts/flake-report-prev-7-days-$(date +"%m-%d-%Y").yaml
- name: Archive Reoport artifacts # test results are only uploaded if any of the e2e tests fails
uses: actions/upload-artifact@v2
with:
name: flake-report-${{ github.run_id }}
path: ${{ github.workspace }}/flake-analyzer/report/artifacts/*