Open bgogul opened 4 years ago
Documenting the results of my investigation. By splitting the steps, we might be able to save 2-3 minutes in gcb build. However, this would require non-trivial amount of work. It looks like the everything except sigh lint
needs to be run in sequence as the earlier steps in presubmit
produce artifacts used by subsequent steps.
PR https://github.com/PolymerLabs/arcs/pull/4542 adds a configuration where the tests are run through a local/presubmit script. It is possible to make each command in
tools/local-presubmit
as steps incloudbuild.yaml
. The advantage is that these can be run in parallel if resources are available.The downside is that we will need to keep
cloudbuild.yaml
andtools/local-presubmit
in sync.