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

[Tooling] Cherry-pick lastest Fastfile tweaks from trunk into release/7.79 #2553

Open
wants to merge 8 commits into
base: release/7.79
Choose a base branch
from

Conversation

AliSoftware
Copy link
Contributor

@AliSoftware AliSoftware commented Dec 13, 2024

Cherry pick some improvements of the Fastfile that were done in trunk into release/7.79—so that I can create a PR to add more improvements on top (stacked PRs)

To test

Those changes have already been reviewed as part of them landing in trunk, so not much to test.

Important

Given this also cherry-picks the automation of distributing TestFlight builds to external groups in release/7.79, that means that this distribution task will already be automated as part of the next 7.79 beta or final release, despite the Release Scenario in MC for 7.79 still mentioning this task as being manual.

This is something the current Release Manager @SergioEstevao might want to be aware of, to not be surprised about the TestFlight builds being already distributed when they'll check TestFlight (if this PR is approved and landed in release/7.79 before the actual release of 7.79 happens)

Alternatively we could decide to only merge this PR and #2554 after 7.79 has landed to avoid changing the automation in the middle of 7.79 (especially given most of Apps Infra will be AFK around Xmas). OTOH, landing this sooner will allow us to fix the automation sooner than later so that we can unblock the tooling project (ref: paaHJt-78B-p2) faster.

AliSoftware and others added 8 commits December 13, 2024 19:14
Now that those instructions are in the MC scenario, better only keep a single source of truth for those.
We won't need it when we'll move to CI anyway so makes the code simpler to read
Now that the build and the upload are done by separate jobs on CI (both for Prototype Builds in `pipeline.yml` and for Beta/Final builds in `release-builds.yml`), we don't need the previous lanes that did both in one go.

IIRC back when we split the lanes in 2 jobs it was argued that it could be useful to keep the old lanes around in case one would need to run them locally.
But I'd argue that this makes us keep some dead/legacy code around that won't be maintained, and is likely to go stale, and clutters the Fastfile and makes it less easy to navigate and reason about, so I think it's clearer if we remove this unused code after all.
 - Automate adding external tester groups to the build after upload
 - Use the up-to-date content of the `CHANGELOG.md` for the "What to test" field in TestFlight, removing GitHub links from it.
Co-authored-by: Spencer Transier <17955542+spencertransier@users.noreply.github.com>
@dangermattic
Copy link
Collaborator

dangermattic commented Dec 13, 2024

1 Warning
⚠️ This PR is assigned to the milestone 7.79 ❄️. The due date for this milestone has already passed.
Please assign it to a milestone with a later deadline or check whether the release for this milestone has already been finished.

Generated by 🚫 Danger

@AliSoftware AliSoftware marked this pull request as ready for review December 13, 2024 18:37
@AliSoftware AliSoftware requested a review from a team as a code owner December 13, 2024 18:37
@AliSoftware AliSoftware requested review from danielebogo and a team and removed request for a team December 13, 2024 18:37
@AliSoftware AliSoftware self-assigned this Dec 13, 2024
@AliSoftware AliSoftware added the [Type] Tooling Issues related to tooling: build tools, ruby, scripts, etc. label Dec 13, 2024
@AliSoftware AliSoftware added this to the 7.79 ❄️ milestone Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Tooling Issues related to tooling: build tools, ruby, scripts, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants