forked from ceason/rules_terraform
-
Notifications
You must be signed in to change notification settings - Fork 1
/
BUILD
52 lines (46 loc) · 1.07 KB
/
BUILD
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
51
52
load("//experimental:publishing.bzl", "ghrelease_assets", "ghrelease_publisher", "ghrelease_test_suite")
VERSION = "0.2"
ghrelease_publisher(
name = "draft",
args = ["--draft"],
version = VERSION,
deps = [
":prerelease-tests",
":tf-modules",
],
)
ghrelease_publisher(
name = "check",
asset_upload_prefix = "s3://anthology-storage-dev-us-east-1/tests/",
version = VERSION,
deps = [
":prerelease-tests",
":tf-modules",
],
)
ghrelease_publisher(
name = "publish",
args = ["--publish"],
version = VERSION,
deps = [
":prerelease-tests",
":tf-modules",
],
)
ghrelease_assets(
name = "tf-modules",
bazel_flags = ["--config=publish"],
data = [
"//examples/src:hello-world_ecs",
"//examples/src:hello-world_k8s",
"//examples/src:hello-world_tf",
],
)
ghrelease_test_suite(
name = "prerelease-tests",
tests = [
"//...",
# "//examples/test:k8s-e2e_integration_test",
# "//examples/test:ecs-e2e_integration_test"
],
)