load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "rollouts", srcs = [ "doc.go", "gates.go", "graph.go", "nodes.go", "options.go", "plan.go", ], importpath = "edge-infra.dev/pkg/edge/rollouts", visibility = ["//visibility:public"], ) go_test( name = "rollouts_test", srcs = ["rollout_test.go"], data = glob(["testdata/**"]), embed = [":rollouts"], embedsrcs = [ "testdata/bad-edge-graph.json", "testdata/bad-edge-plan.json", "testdata/simple-graph.json", "testdata/simple-plan.json", ], deps = ["@com_github_stretchr_testify//assert"], )