Skip to content

Conversation

@DellaBitta
Copy link
Contributor

Found a way to clone the boringSSL sources to a specific commit, instead of cloning the repo first and then checking out a commit.

This frees up enough disk space that we no longer need to copy the resulting artifacts over to the C drive on Windows hosts in order to make enough room for the google cloud sdk installation. Therefore I've removed that step from the CI saving up to 20 minutes per windows integration test build.

@google-cla google-cla bot added the cla: yes label Jun 22, 2021
@DellaBitta DellaBitta added the tests-requested: full Trigger a FULL set of integration tests (uses expanded test matrix). label Jun 22, 2021
@DellaBitta DellaBitta requested a review from vimanyu June 22, 2021 14:04
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. and removed tests-requested: full Trigger a FULL set of integration tests (uses expanded test matrix). labels Jun 22, 2021
@github-actions
Copy link

github-actions bot commented Jun 22, 2021

❌  Integration test FAILED

Requested by @DellaBitta on commit 2b212a3
Last updated: Wed Jun 23 10:26 PDT 2021
View integration test log & download artifacts

Failures Configs
database [TEST] [FAILURE] [iOS] [macos] [ios_target]
(1 failed tests)  TestSignIn
remote_config [TEST] [FAILURE] [iOS] [macos] [ios_target]
(1 failed tests)  TestFetchInterval

@github-actions github-actions bot added the tests: failed This PR's integration tests failed. label Jun 22, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Jun 22, 2021
Copy link
Contributor

@vimanyu vimanyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible to use the commit tag variable here to avoid duplication?

Copy link
Contributor

@vimanyu vimanyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@DellaBitta DellaBitta added tests-requested: quick Trigger a quick set of integration tests. and removed tests: failed This PR's integration tests failed. labels Jun 22, 2021
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. tests: failed This PR's integration tests failed. and removed tests-requested: quick Trigger a quick set of integration tests. labels Jun 22, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Jun 22, 2021
@DellaBitta DellaBitta merged commit 2b212a3 into main Jun 23, 2021
@DellaBitta DellaBitta deleted the fix/reduce_build_disk_usage branch June 23, 2021 15:30
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. tests: failed This PR's integration tests failed. and removed tests: failed This PR's integration tests failed. labels Jun 23, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Jun 23, 2021
DellaBitta added a commit that referenced this pull request Jul 8, 2021
…hon script in #344 (#507) Previously we downloaded a tarball release of uWebSockets and then patched the code to fix a crash issue. The patch was executed by a custom python script which somewhat blindly overwrote at set of line numbers in the file. See PR #344 Git apply patch wasn't used because it requires a initialized git repo to work. Cloning the the uWebsockets repo with history and then checking out to an older commit would explode the disk usage, causing parition exhaustion issues on Windows, so we were forced to use the non-git-initialized tarball. Thankfully I found a way to fetch a repo at a specific commit, removing the overhead of cloning all of the history. This change updates the cmake download step for uWebSockets to fetch the commit instead of downloading a tarball. With a git initialized repo we can our change with a far safer git apply patch instead of our custom python script, akin to what was done for boringSSL in PR #485
@firebase firebase locked and limited conversation to collaborators Jul 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes tests: failed This PR's integration tests failed.

2 participants