milo

command
v0.0.0-...-b779d65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

README

Milo - The UI for LUCI.

Milo is the user interface for LUCI. It displays information from Buildbucket and ResultDB about builders, builds, and test results, and can be configured to display custom consoles.

Releasing

Releases are automatically pushed to luci-milo-dev on commit by the gae-deploy builder.

To push to prod, the steps are:

  1. Get an infra_internal checkout
  2. cd data/gae
  3. vim apps/luci-milo/channels.json
  4. Modify the "stable" version in channels.json (e.g. by reusing the current staging version).
  5. Run ./main.star to regenerate the Makefile.
  6. Create a CL and add release notes to the description, as follows:
    1. Get the commit hashes from the old and new versions. E.g. in channels.json, if you changed the stable version from "31039-7badeba" to "31164-781e143", the old commit hash is 7badeba and the new commit hash is 781e143. These correspond to commits in the infra/infra repo.
    2. Navigate to the DEPS file in the corresponding commits on Gitiles, e.g. https://chromium.googlesource.com/infra/infra/+/7badeba/DEPS (old) and https://chromium.googlesource.com/infra/infra/+/781e143/DEPS (new).
    3. Check the pinned commit of [infra/luci/luci-go] in the DEPS file at these commits. For example, the commits in this case are: 2bdb75fedc327ab79d4f514c394a90033f6be375 (old) and a4f26ffd812e4299eacf6d6ae26f01252a88164d (new).
    4. Run git log between these two commits:
      git log 2bdb75fedc32..a4f26ffd812e --date=short --first-parent --format='%ad %ae %s'
      
    5. Add the resulting command line and output to the CL description. Example: https://crrev.com/i/2962041
  7. Mail and land the CL.
  8. Send an email to luci-releases@ to let people know you've done a new release, and link to the push CL.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package frontend contains all the milo frontend code, including static HTML generation, HTTP routing, etc.
Package frontend contains all the milo frontend code, including static HTML generation, HTTP routing, etc.
ui
internal
config
Package config contains all code for managing Milo's global service configuration.
Package config contains all code for managing Milo's global service configuration.
git
Package git provides high level API for Git/Gerrit data.
Package git provides high level API for Git/Gerrit data.
git/gitacls
Package gitacls implements read ACLs for Git/Gerrit data.
Package gitacls implements read ACLs for Git/Gerrit data.
projectconfig
Package projectconfig contains all code for managing configurations for projects supported by Milo (e.g.
Package projectconfig contains all code for managing configurations for projects supported by Milo (e.g.
testutils
Package testutils contains various utility functions/types for writing tests.
Package testutils contains various utility functions/types for writing tests.
utils
Package utils contains various utility functions/types.
Package utils contains various utility functions/types.
proto
v1
Package protoutil provides utility functions for protobuf messages in ../proto package.
Package protoutil provides utility functions for protobuf messages in ../proto package.
Package rpc contains implemtation of milo RPC services.
Package rpc contains implemtation of milo RPC services.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL