-
Notifications
You must be signed in to change notification settings - Fork 125
Create Separate Integration Test Workflow Run & Nightly Report for Firestore #830
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
Conversation
Integration test with FLAKINESS (succeeded after retry)Requested by @sunmou99 on commit e14cd1a
Add flaky tests to go/fpl-cpp-flake-tracker |
@@ -169,7 +171,13 @@ jobs: | |||
|
|||
# To feed input into the job matrix, we first need to convert to a JSON | |||
# list. Then we can use fromJson to define the field in the matrix for the tests job. | |||
apis=$( python scripts/gha/print_matrix_configuration.py -c -w integration_tests -k apis -o "${{github.event.inputs.apis}}" ${TEST_MATRIX_PARAM} ) | |||
if [[ "${{ github.event.schedule }}" == "0 9 * * *" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I HATE doing it this way. Hate it hate it hate it.
That said, can you think of any other way to do this? :-/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For scheduled
jobs, There is no Webhook payload can be attached to Github Context. This is why I cannot use the {{ github.events.inputs.(field) }}
. And the current code is based on the example below:
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
However, I'm aware of this as it cause confusion. And there are few things I could do to improve:
- add more comments.
- put this part of logic into
print_matrix_configuration.py
. - Having a separate cron CI, which leverages
it_workflow.py
to trigger the nightly integration tests. Or reuse the same CI, and leveragesit_workflow.py
to trigger the nightly integration tests.
Please let me know what do you think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think for now let's add more comments, since refactoring our workflows much more than that seems out of the scope.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments added. Should I have a ticket to refactor this part later?
Integration test with FLAKINESS (succeeded after retry)Requested by @sunmou99 on commit 4366051
Add flaky tests to go/fpl-cpp-flake-tracker |
Description
Separate nightly workflow run & report for firestore.
Testing
Nightly Report for firestore: #832
Nightly Report for the rest: #833
Type of Change
Place an
x
the applicable box:Notes
Release Notes
section ofrelease_build_files/readme.md
.