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

Request to add flogger to Bazel CI #632

Closed
davido opened this issue May 6, 2019 · 11 comments
Closed

Request to add flogger to Bazel CI #632

davido opened this issue May 6, 2019 · 11 comments
Assignees
Labels
new-project For requests to add a new project to Bazel CI

Comments

@davido
Copy link
Contributor

davido commented May 6, 2019

  • I want to test flogger project on Bazel CI: [https://github.com/google/flogger]
  • I confirm that the project has a .bazelci/presubmit.yml file.

Instructions (you can delete this section from the issue)

Welcome to Bazel CI! We are thrilled that you want to test your project with Bazel.
Please follow these steps to make the on-boarding experience as smooth as possible:

  1. Add the URL of your project's GitHub repository to the first line of this issue.
  2. Add the name of your project to the issue title.
  3. Please read the introduction to Buildkite to learn about the basic concepts such as pipelines.
  4. Create and commit your presubmit configuration in <YOUR REPO>/.bazelci/presubmit.yml. The configuration format is documented here, and you can find several an example here. No need to get it right on the first try - It's usually a good idea to start with a basic configuration, wait until the pipeline is set up, trigger a build and then iterate on the configuration.
  5. The Bazel team will review this issue and create a pipeline on Buildkite.
  6. The team will reach out to you and give you instructions on how to set up a GitHub webhook that triggers a CI build for incoming pull requests.
@davido davido added the new-project For requests to add a new project to Bazel CI label May 6, 2019
@davido
Copy link
Contributor Author

davido commented May 6, 2019

@philwo @meteorcloudy Can you help to set up the Buildkite pipeline for flogger project? Thanks!

@fweikert fweikert self-assigned this May 6, 2019
@fweikert
Copy link
Member

fweikert commented May 6, 2019

Please add a pipeline configuration to your repo first (.bazelci/presubmit.yml, see the instructions from the issue template for more details).

@davido
Copy link
Contributor Author

davido commented May 7, 2019

@fweikert This is not my repo.

@hanwen Can you or Edwin ping flogger project owners to help with setting up .bazelci/presubmit.yml? All we want is to avoid that flogger build breakage went unnoticed after Bazel upgrade.

@philwo
Copy link
Member

philwo commented May 7, 2019

If the project itself is not interested in using Bazel CI, we can also check-in a config file into our CI repo. That way we can use it as a downstream test for Bazel, but then we're also responsible for sending them PRs to do migrations and fixes, I guess.

@davido
Copy link
Contributor Author

davido commented May 7, 2019

@philwo Let us do it and use flogger as a downstream test for Bazel, and do the same as we are currently doing with Gerrit itself. This is crucial for Gerrit Code Review project, as we are using flogger (even though we are not building it from the source in our build tool chain).

I will take care of sending PRs to flogger project for adjusting their build tool chain for Bazel migrations and fixes.

@philwo
Copy link
Member

philwo commented May 21, 2019

I verified that bazel test //... works fine for Flogger on our Ubuntu 16.04 with Java 8 container. A few tests fail with Java 11 - not sure if Flogger wants to investigate that, or if Java 11 isn't supported anyway.

@philwo
Copy link
Member

philwo commented May 21, 2019

Pipeline is setup and green: https://buildkite.com/bazel/flogger/builds/1

I have added it to our downstream projects, too: f3750fa

@philwo philwo closed this as completed May 21, 2019
@davido
Copy link
Contributor Author

davido commented May 21, 2019

Thanks @philwo, very much appreciated!

@davido
Copy link
Contributor Author

davido commented May 21, 2019

@philwo Can this repository be also added to baselisk incompatible job so that a similar breakage could be reported, like for Gerrit Code Review, see for example: bazelbuild/bazel#5816 (comment)? Thanks!

@philwo
Copy link
Member

philwo commented May 21, 2019

@davido I think the Bazelisk pipeline runs all of the downstream projects, so it should be picked up in the next nightly run :) I'll check tomorrow that it actually did.

@davido
Copy link
Contributor Author

davido commented May 21, 2019

@philwo How cool is that? ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-project For requests to add a new project to Bazel CI
Projects
None yet
Development

No branches or pull requests

3 participants