Skip to content

Slightly change pip install command for BGD

Santiago Gil requested to merge santigl/bgd-install-pip into master

Before raising this MR, consider whether the following are required, and complete if so:

  • [ ] Unit tests
  • [ ] Metrics
  • [ ] Documentation update(s)

If not required, please explain in brief why not.

Non-functional CI change.

Description

This makes a slight change in the way pip is invoked to install BuildGrid, upgrading pip before the installation.

This allows pip to successfully fetch a wheel for grpcio, which otherwise takes ~10 minutes to build.

Changes proposed in this merge request:

  • pip3 install -r requirements/requirements.txt && pip3 install --no-deps . -> pip3 install --upgrade pip && pip3 install .

Validation

The output of the build job shows BuildGrid successfully being installed and a .whl fetched for grpcio.

This shaves around 10 minutes from build's run time: 16 minutes vs 26 for latest run for master.

Issues addressed

Closes / Resolves / Addresses (delete as appropriate) issue <e.g. repo-name#x>

Merge request reports