-
Notifications
You must be signed in to change notification settings - Fork 475
build(ci): Improve Android e2e #828
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
Conversation
.circleci/config.yml
Outdated
- image: reactnativecommunity/react-native-android | ||
resource_class: 'medium' | ||
working_directory: ~/async_storage | ||
- image: cimg/android:2021.10.2-node # node 14.18.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this also use cimg/node:14.18.1
as above? Or android:2022.06.2
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This image has Android SDK preinstalled, and is used to create an apk for tests. I could merge the apk creation into e2e job, since it's no longer macos.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a cost to spinning up a separate machine? I'd imagine we should stay on the same machine for as long as possible, but I don't know how CircleCI works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's no cost for boot up, but rather the overall execution time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like for CI to use less machines to make the config easier to maintain. But if we intend to migrate to GitHub Actions anyway, maybe it's fine for now.
I changed the config to use one executor for Android, that should simplify this a bit 👍 |
🎉 This PR is included in version 1.17.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
Bumping few bits in our CircleCI config. Using Linux machine instead of macos to run Android e2e. Using Test Butler to make sure e2e goes smoothly.
Test Plan
Green CI