From 2a208c1b27533faed8afb723eb309ecc51828bb2 Mon Sep 17 00:00:00 2001 From: Paul Cody Johnston Date: Fri, 12 Mar 2021 17:32:27 +0000 Subject: [PATCH] Propagate tags to the container image test bundle (#1730) Fixes #1729 --- contrib/test.bzl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/test.bzl b/contrib/test.bzl index 3dae4e0be..2f03f0827 100644 --- a/contrib/test.bzl +++ b/contrib/test.bzl @@ -164,6 +164,8 @@ def container_test(name, image, configs, driver = None, verbose = None, **kwargs loaded_name = "%s:intermediate" % sanitized_name restricted_to = kwargs.get("restricted_to", None) compatible_with = kwargs.get("compatible_with", None) + tags = kwargs.get("tags", []) + container_bundle( name = image_loader, images = { @@ -171,6 +173,7 @@ def container_test(name, image, configs, driver = None, verbose = None, **kwargs }, restricted_to = restricted_to, compatible_with = compatible_with, + tags = tags, ) _container_test(