milo/

directory
v0.0.0-...-30a43cb Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.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.

Directories

Path Synopsis
handlers
Package handlers contains the milo frontend handlers, including static HTML generation, HTTP routing, etc.
Package handlers contains the milo frontend handlers, including static HTML generation, HTTP routing, etc.
Package httpservice contains the milo regular HTTP handlers.
Package httpservice contains the milo regular HTTP handlers.
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.
hosts
Package hosts defines a LUCI Server module used to configure the hostnames of the services MILO communicates with in a deplpoyment.
Package hosts defines a LUCI Server module used to configure the hostnames of the services MILO communicates with in a deplpoyment.
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.
Package server contains the common entrypoint for MILO GAE services.
Package server contains the common entrypoint for MILO GAE services.
Package main contains some experimental setup for push-on-green.
Package main contains some experimental setup for push-on-green.

Jump to

Keyboard shortcuts

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