-
Notifications
You must be signed in to change notification settings - Fork 94
Add remote cache and CI configs #719
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
dc5cae9 to
da9a8b3
Compare
5368ef6 to
47f9d6e
Compare
47f9d6e to
31a3539
Compare
jszumski
left a comment
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 was always a pain point for me, thank you!
d4e6afb to
ba1987c
Compare
|
Someone with Admin access will need to update the required jobs for the branch, if we think the name changes are worth it |
mattrobmattrob
left a comment
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.
Mostly nits. Take it or leave it. This is a great improvement for folks working on the ruleset. 👏
| - name: Select Xcode | ||
| run: .github/workflows/xcode_select.sh | ||
| - name: Build App | ||
| run: bazelisk build -s tests/ios/app/App --apple_platform_type=ios --ios_minimum_os=10.2 --ios_multi_cpus=i386,x86_64 |
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.
Was -s intentionally removed? What did it do?
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.
That prints the subcommands, i meant to add this config:ci. Do we think thats useful, it could be very verbose but its for CI so?
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.
Added this to config=ci as well as --verbose_failures figure its better to be verbose in CI.
Probably @justinseanmartin could help here? Where exactly we would have to update those? I've never done that myself 😓 |
It should be under Settings > Branches > Branch protection > |
e5740af to
dba6df6
Compare
|
Weird @thiagohmcruz seeing a similar plist diff now: - INFOPLIST_FILE = ../../../tests/ios/frameworks/dynamic/a/Info.plist;Let me double check I didnt change any underlying flags but its odd |
|
Yeah, the question is if we even want that plist there since we set it to empty for apps and extensions we might as well be ok with setting it to empty here as well. The things is that removing it causes other issues apparently, I was trying to iterate on that here |
dba6df6 to
452f68e
Compare
|
@thiagohmcruz Will wait for that PR then! |
qyang-nj
left a comment
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.
Thanks! This hidden user.bazlerc bite me before.
| --config=ci \ | ||
| -- \ | ||
| //... \ | ||
| -//tests/ios/... |
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.
nit: I like this to be on a single line, so that it's easier to copy into to terminal. Same as other commands as well.
a119609 to
8b7df8e
Compare
|
I've made some |
8b7df8e to
5a2b20b
Compare
|
@thiagohmcruz fixed the Xcode tests, realized the ci generated rc file set the spawn strategy by default. I've enabled it by default in the main rc file now. |
|
This is ready to merge as soon as we can disable the required jobs that have been renamed. Once this merges we can enable the new ones. @thiagohmcruz @justinseanmartin whenever y'all have time or if you want to make me admin I can do it |
5a2b20b to
5d700c0
Compare
|
Actually moving the renaming to a separate PR to not block this further: #722 |
75e42ec to
ee251ac
Compare
Applied suggestions from code review Co-authored-by: John Szumski <784312+jszumski@users.noreply.github.com> Co-authored-by: Matt Robinson <mattrob@hey.com>
ee251ac to
9cb5985
Compare
Before this change the CI and cache configs were being generated by
.github/workflows/xcode_select.shwhich makes it difficult for a contributor to find these and to then apply them.Changes:
user.bazelrcgeneration CI was doing in favor of the newciandcacheconfigs.Depends on #716