summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes/BUILD
blob: dfb4e2a9736ad603175ed094f0c2f4ecb9b32172 (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
# These packages are used to run language runtime tests inside gVisor sandboxes.

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

package(licenses = ["notice"])

go_binary(
    name = "runner",
    testonly = 1,
    srcs = ["runner.go"],
    deps = [
        "//runsc/dockerutil",
        "//runsc/testutil",
    ],
)

runtime_test(
    image = "gcr.io/gvisor-presubmit/go1.12",
    lang = "go",
)

runtime_test(
    image = "gcr.io/gvisor-presubmit/java11",
    lang = "java",
)

runtime_test(
    image = "gcr.io/gvisor-presubmit/nodejs12.4.0",
    lang = "nodejs",
)

runtime_test(
    image = "gcr.io/gvisor-presubmit/php7.3.6",
    lang = "php",
)

runtime_test(
    image = "gcr.io/gvisor-presubmit/python3.7.3",
    lang = "python",
)