summaryrefslogtreecommitdiffhomepage
path: root/runsc/test/runtimes/BUILD
blob: 36d0a761efc2ab893ed808654bf36bf2c07d65f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# These packages are used to run language runtime tests inside gVisor sandboxes.

load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
load("//runsc/test:build_defs.bzl", "runtime_test")

package(licenses = ["notice"])

go_library(
    name = "runtimes",
    srcs = ["runtimes.go"],
    importpath = "gvisor.dev/gvisor/runsc/test/runtimes",
)

runtime_test(
    name = "runtimes_test",
    size = "small",
    srcs = ["runtimes_test.go"],
    embed = [":runtimes"],
    tags = [
        # Requires docker and runsc to be configured before the test runs.
        "manual",
        "local",
    ],
    deps = ["//runsc/test/testutil"],
)

go_binary(
    name = "proctor-go",
    srcs = ["proctor-go.go"],
)

go_binary(
    name = "proctor-java",
    srcs = ["proctor-java.go"],
)

go_binary(
    name = "proctor-nodejs",
    srcs = ["proctor-nodejs.go"],
)

go_binary(
    name = "proctor-php",
    srcs = ["proctor-php.go"],
)

go_binary(
    name = "proctor-python",
    srcs = ["proctor-python.go"],
)