• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# See go/perfetto-ui-autopush for docs on how this works end-to-end.
2# If this file is modified, the inline YAML must be copy-pasted
3# FROM: infra/ui.perfetto.dev/cloudbuild.yaml
4# TO: TWO trigger configs inline YAML in Google Cloud Console > Cloud Build.
5steps:
6- name: europe-docker.pkg.dev/perfetto-ui/builder/perfetto-ui-builder
7  args:
8  - /ui_builder_entrypoint.sh
9  - ''
10  # The empty arg above is load bearing. The builder_entrypoint.sh
11  # script can't handle $1 sometimes being defined (as in
12  # cloudbuild.yaml) and sometimes not.
13
14# Timeout = 30 min (last measured time in Feb 2021: 12 min)
15timeout: 1800s
16options:
17  machineType: E2_HIGHCPU_32
18