Skip to content

Commit 58df382

Browse files
committed
add bazel integration test
1 parent 5478997 commit 58df382

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

deploy/skaffold/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8
5050
&& curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
5151

5252
RUN apt-get update \
53-
&& apt-get install -y bazel \
54-
&& rm -rf /var/lib/apt/lists/*
53+
&& apt-get install -y bazel
5554

5655
ENV PATH /usr/local/go/bin:/go/bin:/google-cloud-sdk/bin:$PATH
5756

integration/run_test.go

+10
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,16 @@ func TestRun(t *testing.T) {
161161
},
162162
dir: "../examples/kustomize",
163163
},
164+
{
165+
description: "bazel example",
166+
args: []string{"run"},
167+
pods: []testObject{
168+
{
169+
name: "bazel",
170+
},
171+
},
172+
dir: "../examples/bazel",
173+
},
164174
{
165175
description: "kaniko example",
166176
args: []string{"run"},

0 commit comments

Comments
 (0)