Skip to content

Commit

Permalink
Pipe through testonly to allow building tests as an image. (bazelbuil…
Browse files Browse the repository at this point in the history
  • Loading branch information
Globegitter authored and nlopezgi committed Jan 16, 2019
1 parent 281df71 commit 018503a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions cc/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,5 @@ def cc_image(name, base = None, deps = [], layers = [], binary = None, **kwargs)
tags = tags,
args = kwargs.get("args"),
data = kwargs.get("data"),
testonly = kwargs.get("testonly"),
)
1 change: 1 addition & 0 deletions d/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,5 @@ def d_image(name, base = None, deps = [], layers = [], binary = None, **kwargs):
tags = tags,
args = kwargs.get("args"),
data = kwargs.get("data"),
testonly = kwargs.get("testonly"),
)
1 change: 1 addition & 0 deletions go/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,5 @@ def go_image(name, base = None, deps = [], layers = [], binary = None, **kwargs)
tags = tags,
args = kwargs.get("args"),
data = kwargs.get("data"),
testonly = kwargs.get("testonly"),
)
1 change: 1 addition & 0 deletions groovy/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def groovy_image(
tags = tags,
args = kwargs.get("args"),
data = kwargs.get("data"),
testonly = kwargs.get("testonly"),
)

def repositories():
Expand Down
1 change: 1 addition & 0 deletions java/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ def java_image(
tags = tags,
args = kwargs.get("args"),
data = kwargs.get("data"),
testonly = kwargs.get("testonly"),
)

def _war_dep_layer_impl(ctx):
Expand Down
1 change: 1 addition & 0 deletions nodejs/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,5 @@ def nodejs_image(
tags = tags,
args = kwargs.get("args"),
data = kwargs.get("data"),
testonly = kwargs.get("testonly"),
)
1 change: 1 addition & 0 deletions python/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,5 @@ def py_image(name, base = None, deps = [], layers = [], **kwargs):
tags = tags,
args = kwargs.get("args"),
data = kwargs.get("data"),
testonly = kwargs.get("testonly"),
)
1 change: 1 addition & 0 deletions python3/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,5 @@ def py3_image(name, base = None, deps = [], layers = [], **kwargs):
tags = tags,
args = kwargs.get("args"),
data = kwargs.get("data"),
testonly = kwargs.get("testonly"),
)
1 change: 1 addition & 0 deletions rust/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,5 @@ def rust_image(name, base = None, deps = [], layers = [], binary = None, **kwarg
tags = tags,
args = kwargs.get("args"),
data = kwargs.get("data"),
testonly = kwargs.get("testonly"),
)
1 change: 1 addition & 0 deletions scala/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def scala_image(
tags = tags,
args = kwargs.get("args"),
data = kwargs.get("data"),
testonly = kwargs.get("testonly"),
)

def repositories():
Expand Down

0 comments on commit 018503a

Please sign in to comment.