2019-09-04 05:01:34 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
2018-06-20 21:37:56 +00:00
|
|
|
|
2019-01-31 19:11:44 +00:00
|
|
|
package(licenses = ["notice"])
|
2018-10-23 07:19:11 +00:00
|
|
|
|
2019-09-04 05:01:34 +00:00
|
|
|
go_test(
|
2018-06-20 21:37:56 +00:00
|
|
|
name = "image_test",
|
2018-07-03 18:33:20 +00:00
|
|
|
size = "large",
|
2018-07-06 16:37:32 +00:00
|
|
|
srcs = [
|
|
|
|
"image_test.go",
|
|
|
|
],
|
2018-06-28 20:53:08 +00:00
|
|
|
data = [
|
|
|
|
"latin10k.txt",
|
|
|
|
"mysql.sql",
|
2018-09-28 22:51:36 +00:00
|
|
|
"ruby.rb",
|
|
|
|
"ruby.sh",
|
2018-06-28 20:53:08 +00:00
|
|
|
],
|
2018-06-20 21:37:56 +00:00
|
|
|
embed = [":image"],
|
|
|
|
tags = [
|
|
|
|
# Requires docker and runsc to be configured before the test runs.
|
|
|
|
"manual",
|
|
|
|
"local",
|
|
|
|
],
|
2019-09-04 05:01:34 +00:00
|
|
|
visibility = ["//:sandbox"],
|
|
|
|
deps = [
|
|
|
|
"//runsc/dockerutil",
|
|
|
|
"//runsc/testutil",
|
|
|
|
],
|
2018-06-20 21:37:56 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "image",
|
|
|
|
srcs = ["image.go"],
|
2019-09-04 05:01:34 +00:00
|
|
|
importpath = "gvisor.dev/gvisor/test/image",
|
2018-06-20 21:37:56 +00:00
|
|
|
)
|