Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Minigo Testing

This directory contains test infrastructure for Minigo, largely based of the work done by https://github.com/kubeflow/kubeflow.

Our tests are run on the Kubernetes test runner called prow. See the Prow docs for more details.

Some UIs to check out:

Testgrid (Test Results Dashboard): https://k8s-testgrid.appspot.com/sig-big-data Prow (Test-runner dashboard): https://prow.k8s.io/?repo=tensorflow%2Fminigo

Local testing

To test out changes to the docker image, first build the test-harness image:

make buildv2

And then run the tests.

docker run --rm gcr.io/minigo-testing/minigo-prow-harness-v2:latest \
  --repo=github.com/tensorflow/minigo --job=tf-minigo-presubmit --scenario=execute -- ./test.sh

Components

  • ../test.sh: the actual tests that are run. TODO(#188): Change this to output junit/XML and Prow will split out the tests.
  • Dockerfile: Run the tests in this container (and pull in test-infra stuff as the runner).
  • Makefile: Build the Dockerfile
  • bootstrap_v2.sh: The Prow wrapper. You'll notice that bootstrap_v2.sh does not actually reference ../test.sh. That gets linked in via Prow's Job config (see below).

Prow configuration

Minigo has some configuration directly in Prow to make all this jazz work: