-
Notifications
You must be signed in to change notification settings - Fork 124
Add presubmit trigger with ccache in linux firestore #626
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 FAILEDRequested by @sunmou99 on commit 708ec9c
Add flaky tests to go/fpl-cpp-flake-tracker |
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.
This seems mostly good, just a couple quick questions.
echo "::set-output name=github_ref::refs/pull/${{github.event.inputs.test_pull_request}}/merge" | ||
echo "::set-output name=pr_number::${{ github.event.inputs.test_pull_request }}" | ||
fi | ||
elif [[ "${{ github.event.inputs.test_pull_request }}" == "sdk" ]]; 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.
Remind me, did this value already exist? Why does it need to be set if we have the test_packaged_sdk input?
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.
This value already exist. https://github.com/firebase/firebase-cpp-sdk/blob/main/.github/workflows/cpp-packaging.yml#L725
Because it means it's from scheduled packaging workflow, thus it can generate nightly report. test_packaged_sdk only indicates that it's from packaging workflow.
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.
Got it. Maybe we should change it to "nightly-packaging" or something a little more descriptive in the future. But it's fine for now.
Combined "check_trigger" job and "prepare_matrix" job into "check_and_prepare" job.
Added "trigger" env variable. Apply "expanded_matrix, minimal_matrix, auto_diff" with different triggers accordingly.
Removed "auto_diff" from manual trigger, because the logic doesn't work. (Always override by inputs.)
Add presubmit(push) trigger, which run linux firestore with ccache.
presubmit check: without ccache 35 mins vs with ccache 18 mins
To understand different triggers.
TODO: Will add branch_protection_rules "build-desktop-ubuntu-latest-openssl" and "test-desktop-ubuntu-latest-openssl" after this PR get merged.
Will have a cache system which enable ccache in more cases.