Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Add CI config to test on RBE - #103

Merged
ittaiz merged 1 commit into
masterfrom
rbe_support
Apr 28, 2019
Merged

ittaiz merged 1 commit into
masterfrom
rbe_support

Conversation

@ittaiz

@ittaiz ittaiz commented Jan 23, 2019

Copy link
Copy Markdown
Member

superseeds #83

@achew22

achew22 commented Jan 23, 2019

Copy link
Copy Markdown
Member

It seems to me, now that BuildKite builds from any contributer, that we should consolidate on a single CI system. WDYT about removing the Travis tests? They seem to be an order of magnitude slower, and much flakier.

@ittaiz

ittaiz commented Jan 24, 2019

Copy link
Copy Markdown
Member Author

The travis CI check was added for running linting/formatting/etc
Unfortunately we were stale and are now just broken :(
Today I learned from @philwo that BuildKite supports buildifier so we should probably turn it on.
I'll shutdown travis

@achew22

achew22 commented Feb 17, 2019

Copy link
Copy Markdown
Member

@ittaiz have you had a chance to look at this?

@ittaiz

ittaiz commented Feb 18, 2019 via email

Copy link
Copy Markdown
Member Author

@achew22

achew22 commented Feb 18, 2019

Copy link
Copy Markdown
Member

Are these flags to Bazel itself, flags to the test, or flags to the RBE?

@ittaiz

ittaiz commented Feb 20, 2019 via email

Copy link
Copy Markdown
Member Author

Have RBE test run with 22/23 to comply with the toolchains
@ittaiz

ittaiz commented Apr 27, 2019

Copy link
Copy Markdown
Member Author

@achew22 this is ready for review.

Pro:

  1. Finally enabling RBE on CI of this library.
  2. Users can have an example of what's needed to run a bazel integration test on RBE.

Con:

  1. Only a single test.
  2. Solution isn't baked into the library yet.

All in all I think this is an important step forward.
cc @nlopezgi

Comment thread .bazelci/presubmit.yml
- "..."
- "--"
- "//..."
- "-//javatests/build/bazel/tests/integration:RBEExampleTest/bazel0.22.0"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you leave a comment explaining why this version is excluded. I assume it's because RBE wasn't complete till 0.24.x, but am not sure.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I understand what you mean.
This version isn't excluded but rather all instances of RBEExampleTest are excluded. It has two instances (22/23) because of toolchains issue.
It's excluded because this test can only be run on RBE.
The real solution is to bake RBE support into the library (for example internally we use a define to say if it's using RE or not).
A better solution would have been to tag this test as something and excluded these kind of tests but due to #85 that isn't an option right now.
Does that answer the question?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge this as is and I'll just try to fix #85 sometime this week.
Actual fix is really small, test will take a bit more.
Once that's done I'll tag the RBE test and it will be clearer.

@ittaiz
ittaiz merged commit d3060dc into master Apr 28, 2019
@ittaiz
ittaiz deleted the rbe_support branch April 28, 2019 07:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants