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

ci: Create Bitrise status check for commits #8842

Merged
merged 30 commits into from
Mar 20, 2024
Merged

Conversation

Cal-L
Copy link
Contributor

@Cal-L Cal-L commented Mar 5, 2024

Description

The Bitrise E2E check action is currently broken on main. The broken piece is that the check itself isn't re-running after the Bitrise comment is updated. This is because issue_comment doesn't trigger a re-run on the PR itself.

We will see two items appear under Github checks in the PRs.

  1. Run Bitrise E2E Check - which is an action that handles both starting Bitrise E2E tests and checking for build statuses
  2. Bitrise E2E Status - which is a status check that the Run Bitrise E2E Check creates based Bitrise's build status. Depending on the build status, this will either be in a pending, success, or failed state.

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@Cal-L Cal-L requested a review from a team as a code owner March 5, 2024 06:18
Copy link
Contributor

github-actions bot commented Mar 5, 2024

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@Cal-L Cal-L added the Run Smoke E2E Triggers smoke e2e on Bitrise label Mar 5, 2024
@Cal-L Cal-L added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Mar 5, 2024
Copy link
Contributor

github-actions bot commented Mar 5, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: b8a666f
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/78c1b778-3dea-4d75-9359-e2c4d3ba62d6

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.51%. Comparing base (c508446) to head (420b882).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8842   +/-   ##
=======================================
  Coverage   45.51%   45.51%           
=======================================
  Files        1275     1275           
  Lines       31208    31208           
  Branches     3187     3187           
=======================================
+ Hits        14203    14204    +1     
+ Misses      16164    16163    -1     
  Partials      841      841           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Cal-L Cal-L removed the Run Smoke E2E Triggers smoke e2e on Bitrise label Mar 12, 2024
@Cal-L Cal-L added the Run Smoke E2E Triggers smoke e2e on Bitrise label Mar 13, 2024
Copy link
Contributor

github-actions bot commented Mar 13, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 56bc24f
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/3a70536b-de3c-4b6c-a89b-fe1854733b05

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@Cal-L Cal-L added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Mar 13, 2024
Copy link
Contributor

github-actions bot commented Mar 13, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 0ea1640
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/1750a4b8-0449-4336-bb00-53a22edcb507

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@Cal-L Cal-L added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Mar 19, 2024
Copy link
Contributor

github-actions bot commented Mar 19, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 0d9204e
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/d6bb9c68-761a-405d-97fc-fd48aed9203f

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@Cal-L Cal-L added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Mar 20, 2024
Copy link
Contributor

github-actions bot commented Mar 20, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: c96e07b
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/a4cff050-565e-4ff8-87b2-80a66ce7eca0

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@Cal-L Cal-L changed the title ci: Create pending status for commit ci: Create Bitrise status check for commits Mar 20, 2024
@Cal-L Cal-L added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Mar 20, 2024
Copy link
Contributor

github-actions bot commented Mar 20, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 420b882
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/5a58d669-154b-4459-9f33-3bca5011538e

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

tommasini
tommasini previously approved these changes Mar 20, 2024
Copy link
Contributor

@tommasini tommasini left a comment

Choose a reason for hiding this comment

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

AWESOME!! LGTM!

@Cal-L Cal-L added team-mobile-platform No QA Needed/E2E Only Apply this label when your PR does not need any QA effort. labels Mar 20, 2024
Copy link
Contributor

@tommasini tommasini left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

sonarcloud bot commented Mar 20, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@Cal-L Cal-L merged commit f031748 into main Mar 20, 2024
30 of 31 checks passed
@Cal-L Cal-L deleted the ci/bitrise-custom-status-check branch March 20, 2024 21:38
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2024
@metamaskbot metamaskbot added the release-7.20.0 Issue or pull request that will be included in release 7.20.0 label Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
No QA Needed/E2E Only Apply this label when your PR does not need any QA effort. release-7.20.0 Issue or pull request that will be included in release 7.20.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-mobile-platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants