What
Currently we have a hard coded docker image which we use for all integration tests. For certain tests, we would like to be able to use a different docker image. To allow this should add arguments to our integration_test Bazel macro to allow the configuration of the docker image and tag.
Also, for some tests it is useful to have the option to specify pytest plugins. These plugins should be forwarded to py_itf_test. We currently use a number of hard coded plugins, but do not allow configuration per test.
Acceptance Criteria (DoD)
How
- Add
docker_image_target and docker_image_tag arguments in tests/utils/bazel/integration.bzl to allow configuration of the docker image.
What
Currently we have a hard coded docker image which we use for all integration tests. For certain tests, we would like to be able to use a different docker image. To allow this should add arguments to our
integration_testBazel macro to allow the configuration of the docker image and tag.Also, for some tests it is useful to have the option to specify pytest plugins. These plugins should be forwarded to
py_itf_test. We currently use a number of hard coded plugins, but do not allow configuration per test.Acceptance Criteria (DoD)
How
docker_image_targetanddocker_image_tagarguments intests/utils/bazel/integration.bzlto allow configuration of the docker image.