Skip to content

Additional e2e test and configuration for a standalone Bots service

Neill Whillans requested to merge neill/bots_test into master

Description

This request extends e2e testing with a test to ensure proper gRPC setup when using a standalone Bots service. It makes use of one of the environment variables implemented in MR !56 (merged) to construct a buildgrid over two servers, one of which has only a Bots service.

Changes proposed in this merge request:

  • Configuration files to construct a buildgrid over two servers, with one server comprising of only a Bots service
  • Additional e2e test for proper gRPC setup when using a standalone Bots service
  • New docker run command, to perform test, added to build-and-run-tests.sh

Validation

The configuration and test can be tested locally with the following commands:

  • docker build -t buildbox-e2e .
  • docker run -v /var/run/docker.sock:/var/run/docker.sock buildbox-e2e

Issues addressed

This request partially addresses the issue in buildgrid#383, to add more configurations to e2e testing, which in turn was raised as response to a discussion in buildgrid MR !741, relating to the testing of a fix for gRPC setup.

Edited by Neill Whillans

Merge request reports