2020-01-27 18:04:07 +00:00
|
|
|
load("//tools:defs.bzl", "container_image", "go_binary", "go_image")
|
2019-12-12 22:40:36 +00:00
|
|
|
|
|
|
|
package(licenses = ["notice"])
|
|
|
|
|
2020-01-27 18:04:07 +00:00
|
|
|
go_binary(
|
|
|
|
name = "runner",
|
|
|
|
testonly = 1,
|
|
|
|
srcs = ["main.go"],
|
|
|
|
deps = ["//test/iptables"],
|
|
|
|
)
|
|
|
|
|
2019-12-12 22:40:36 +00:00
|
|
|
container_image(
|
|
|
|
name = "iptables-base",
|
|
|
|
base = "@iptables-test//image",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_image(
|
2020-01-27 18:04:07 +00:00
|
|
|
name = "runner-image",
|
2020-01-09 21:41:52 +00:00
|
|
|
testonly = 1,
|
2019-12-12 22:40:36 +00:00
|
|
|
srcs = ["main.go"],
|
|
|
|
base = ":iptables-base",
|
|
|
|
deps = ["//test/iptables"],
|
|
|
|
)
|