Coder Social home page Coder Social logo

zoidyzoidzoid / bb-event-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buildbarn/bb-event-service

0.0 1.0 0.0 39 KB

An implementation of the Build Event Service to log and display the output of build runs

License: Apache License 2.0

Go 47.20% Shell 1.52% Starlark 51.28%

bb-event-service's Introduction

NOTICE: This project has been archived!

As discussed in bb-browser#21, support for Build Event Streams is going to be removed from Buildbarn. We invite people in the community to build a more complete solution for ingesting and displaying Build Event Streams!

Buildbarn Event Service Build status

Buildbarn Event Service is an implementation of Bazel's Build Event Service. In short, this service can be used to log and store all sorts of information regarding invocations of Bazel. Information includes the list of targets analyzed, whether they could be built, output files that were generated and test results.

This service heavily builds on top of other Buildbarn components. Instead of having its own storage layer, it can store its results into the Buildbarn storage daemon. Build event streams are stored in the Content Addressable Storage (CAS), while entries that permit lookups of these streams by Bazel invocation ID (a per-invocation UUID) are stored in the Action Cache (AC).

Buildbarn Browser has integrated support for displaying build event streams stored in the CAS/AC by visiting /build_events/<instance>/<uuid>. For builds that also used remote execution, Buildbarn Browser is capable of linking directly to output files of build actions, making it a valuable tool for sharing build results with colleagues. By invoking Bazel with --bes_results_url=..., it may automatically print URLs pointing to Buildbarn Browser at the start of every invocation.

Prebuilt container images of Buildbarn Event Service may be found on Docker Hub. Examples of how the Buildbarn Event Service may be deployed and used can be found in the Buildbarn deployments repository.

Updating the bazel git patch

Inspired by https://github.com/EdSchouten/bazel/commit/ae0bd93386ccf9c7e7481829dc9fbb8179b38396

[email protected]:zoidbergwill/bazel.git
cd bazel
git remote add upstream [email protected]:bazelbuild/bazel.git
git checkout zoid/bb-event-service
git diff-index -p upstream/master . > build_event_stream.diff
git pull upstream master

A better guide lives in rules_go here

Stuff I manually need to sprinkle in redis v8 and redisext at the moment for some reason

        "@io_opentelemetry_go_otel//api/global",
        "@io_opentelemetry_go_otel//api/metric",
        "@io_opentelemetry_go_otel//api/trace",

A better option might be teaching bb_storage's go_dependencies about ignoring already imported repos, and then changing redis/v8 and redisext to be http_archive's with patches that add correct BUILD files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.