Skip to content

Move Android template app E2E builds to Docker - #58564

Open
cortinico wants to merge 1 commit into
mainfrom
ci/split-android-templateapp-build
Open

cortinico wants to merge 1 commit into
mainfrom
ci/split-android-templateapp-build

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:

Move Android template app APK generation into a dedicated reusable workflow that runs in reactnativecommunity/react-native-android:latest.

The emulator workflow now downloads the prebuilt debug or release APK and runs Maestro directly on the Ubuntu host. Only the debug lane reconstructs the generated project as a Metro workspace. E2E retries reuse the original APK artifacts instead of rebuilding the app.

This keeps KVM-backed emulators on the host while removing Gradle and NDK provisioning from the emulator jobs. It also aligns the template app flow with the existing RNTester build/test artifact boundary.

Changelog:

[INTERNAL] [FIXED] - Build Android template E2E APKs in the Android container.

Test Plan:

  • yarn prettier --check .github/workflows/build-android-templateapp.yml .github/workflows/e2e-android-templateapp.yml .github/workflows/test-all.yml — passed
  • git diff --check — passed
  • Parsed all three changed workflow files with the repository's yaml package — passed
  • Container build and emulator E2E were not run locally because Docker is unavailable; the GitHub Actions PR run will exercise the complete workflow.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 16, 2026
@cortinico
cortinico marked this pull request as ready for review September 16, 2026 18:56
@meta-codesync

meta-codesync Bot commented Sep 16, 2026

Copy link
Copy Markdown

@cortinico has imported this pull request. If you are a Meta employee, you can view this in D120393969.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant