Page MenuHomePhabricator

[CI] run iOS Build CI on push to CI branch
ClosedPublic

Authored by varun on Oct 24 2023, 10:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 28 2024, 5:21 PM
Unknown Object (File)
Oct 4 2024, 2:00 AM
Unknown Object (File)
Oct 4 2024, 2:00 AM
Unknown Object (File)
Oct 4 2024, 2:00 AM
Unknown Object (File)
Oct 4 2024, 2:00 AM
Unknown Object (File)
Oct 4 2024, 1:58 AM
Unknown Object (File)
Sep 23 2024, 10:51 PM
Unknown Object (File)
Aug 29 2024, 11:56 AM
Subscribers

Details

Summary

I think this might let us avoid forking the repo to investigate CI issues. If the push event is to the CI branch, a tmate session will be set up.

Test Plan

will test this by pushing to CI branch on GitHub and seeing if iOS Build CI runs

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

varun published this revision for review.Oct 24 2023, 10:54 AM

Haven't you already forked? What's the benefit of avoiding already-complete work?

Haven't you already forked? What's the benefit of avoiding already-complete work?

this is so that if anyone else encounters an issue, they won't need to fork

One challenge here is going to be that if eg. the Android CI pipeline is filing, then the person debugging will have to update the Android CI job.

We could enable this for every single CI job, but that probably wouldn't be great because the runners would get saturated running jobs that aren't being investigated.

Maybe we add this for every job, but have a different branch name for each job?

Curious for @atul's take as well.

Instead of special casing a CI branch, let's do something like CI-* that includes any branch with a CI-* prefix. This will allow eg two people to diagnose separate CI issues at the same time


Agree w/ @ashoat's feedback.

WRT

Maybe we add this for every job, but have a different branch name for each job?

We could maybe group by native/web/services or something like that to reduce CI load without having to have such a high resolution?

This revision is now accepted and ready to land.Oct 24 2023, 4:07 PM

Wouldn't we NOT want CI-* then?

.github/workflows/ios_ci.yml
5 ↗(On Diff #32349)

Should this be debugci/ios or something instead?

makes sense to use a wildcard so that people can investigate CI issues in multiple branches

Wouldn't we NOT want CI-* then?

addressed your inline feedback but not really sure what you meant here. we can discuss during the CI sync

This revision was landed with ongoing or failed builds.Oct 25 2023, 9:59 AM
This revision was automatically updated to reflect the committed changes.