Skip to content
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

Update upload download artifacts to v4 #1669

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Update upload download artifacts to v4 #1669

merged 2 commits into from
Nov 13, 2024

Conversation

a-maurice
Copy link
Contributor

@a-maurice a-maurice commented Nov 7, 2024

Description

Provide details of the change, and generalize the change in the PR title above.

Update the GitHub actions for upload and download artifacts to v4.


Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.

Packaging Run: https://github.com/firebase/firebase-cpp-sdk/actions/runs/11733979480
Test Run: https://github.com/firebase/firebase-cpp-sdk/actions/runs/11736048885


Type of Change

Place an x the applicable box:

  • Bug fix. Add the issue # below if applicable.
  • New feature. A non-breaking change which adds functionality.
  • Other, such as a build process or documentation change.

Notes

  • Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
  • Read the contribution guidelines CONTRIBUTING.md.
  • Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

@a-maurice a-maurice added the skip-release-notes Skip release notes check label Nov 7, 2024
@a-maurice a-maurice requested a review from jonsimantov November 8, 2024 23:31
Copy link
Contributor

@jonsimantov jonsimantov left a comment

Choose a reason for hiding this comment

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

Since the logs artifact is now in multiple files, does the reporting script need to be updated?

if: ${{ github.event.inputs.test_packaged_sdk != '' }}
with:
name: 'firebase_cpp_sdk.zip'
workflow: 'cpp-packaging.yml'
Copy link
Contributor

Choose a reason for hiding this comment

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

Will this correctly pull the packaged SDK from that workflow run? It doesn't try to read from the integration test workflows?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe the run-id is the important part, since that should be unique. The Unity test workflow uses it to get the build artifacts, and that worked as expected.

@a-maurice
Copy link
Contributor Author

Since the logs artifact is now in multiple files, does the reporting script need to be updated?

Yep, done. Testing it is a pain, but I tried via debug logging against some test runs, and it seems good.

@a-maurice a-maurice merged commit 43f3df8 into main Nov 13, 2024
28 checks passed
@a-maurice a-maurice deleted the am-actions_update branch November 13, 2024 20:41
@github-actions github-actions bot added the tests: in-progress This PR's integration tests are in progress. label Nov 13, 2024
Copy link

github-actions bot commented Nov 13, 2024

Integration test with FLAKINESS (succeeded after retry)

Requested by @a-maurice on commit 43f3df8
Last updated: Wed Nov 13 14:41 PST 2024
View integration test log & download artifacts

Failures Configs
app_check [TEST] [FLAKINESS] [iOS] [macos] [1/2 ios_device: ios_target]
(1 failed tests)  FirebaseAppCheckTest.TestSignIn
auth [TEST] [FLAKINESS] [Android] [1/3 os: windows] [1/2 android_device: android_target]
(1 failed tests)  CRASH/TIMEOUT
[TEST] [FLAKINESS] [iOS] [macos] [1/2 ios_device: ios_target]
(1 failed tests)  FirebaseAuthTest.TestVerifyBeforeUpdatingEmail
firestore [TEST] [FLAKINESS] [Android] [1/3 os: windows] [1/2 android_device: android_target]
(1 failed tests)  CRASH/TIMEOUT

Add flaky tests to go/fpl-cpp-flake-tracker

@github-actions github-actions bot added the tests: succeeded This PR's integration tests succeeded. label Nov 13, 2024
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Nov 13, 2024
@firebase firebase locked and limited conversation to collaborators Dec 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip-release-notes Skip release notes check tests: succeeded This PR's integration tests succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants