go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/milo/README.md (about)

     1  # Milo - The UI for LUCI.
     2  
     3  Milo is the user interface for LUCI. It displays information from Buildbucket
     4  and ResultDB about builders, builds, and test results, and can be configured to
     5  display custom consoles.
     6  
     7  ## Releasing
     8  
     9  Releases are automatically pushed to luci-milo-dev on commit by the
    10  [gae-deploy](https://ci.chromium.org/p/infradata-gae/builders/ci/gae-deploy)
    11  builder.
    12  
    13  To push to prod, the steps are:
    14  
    15  1. Get an `infra_internal` checkout
    16  1. `cd data/gae`
    17  1. `vim apps/luci-milo/channels.json`
    18  1. Modify the "stable" version in
    19     [channels.json](https://chrome-internal.googlesource.com/infradata/gae/+/HEAD/apps/luci-milo/channels.json)
    20     (e.g. by reusing the current staging version).
    21  1. Run `./main.star` to regenerate the Makefile.
    22  1. Create a CL and add release notes to the description, as follows:
    23      1. Get the commit hashes from the old and new versions. E.g. in channels.json,
    24         if you changed the stable version from "31039-7badeba" to "31164-781e143",
    25         the old commit hash is `7badeba` and the new commit hash is `781e143`. These
    26         correspond to commits in the
    27         [infra/infra](https://chromium.googlesource.com/infra/infra/) repo.
    28      1. Navigate to the DEPS file in the corresponding commits on Gitiles, e.g.
    29         https://chromium.googlesource.com/infra/infra/+/7badeba/DEPS (old) and
    30         https://chromium.googlesource.com/infra/infra/+/781e143/DEPS (new).
    31      1. Check the pinned commit of [infra/luci/luci-go] in the DEPS file at these
    32         commits. For example, the commits in this case are:
    33         `2bdb75fedc327ab79d4f514c394a90033f6be375` (old) and
    34         `a4f26ffd812e4299eacf6d6ae26f01252a88164d` (new).
    35      1. Run git log between these two commits:
    36          ```
    37          git log 2bdb75fedc32..a4f26ffd812e --date=short --first-parent --format='%ad %ae %s'
    38          ```
    39      1. Add the resulting command line and output to the CL description. Example:
    40         https://crrev.com/i/2962041
    41  1. Mail and land the CL.
    42  1. Send an email to luci-releases@ to let people know you've done a new release,
    43     and link to the push CL.