Skip to content

Commit

Permalink
fix potential failure in verify-examples (envoyproxy#17698)
Browse files Browse the repository at this point in the history
If the `git checkout` of the specific tag causes `resource.go` to
change, then it will fail if it is done after adding the test copy of
`resource.go` due to discarding a local change.

Signed-off-by: Greg Greenway <[email protected]>
  • Loading branch information
ggreenway authored Aug 12, 2021
1 parent d5b508b commit f066fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/dynamic-config-cp/Dockerfile-control-plane
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*

RUN git clone https://github.com/envoyproxy/go-control-plane
RUN git clone https://github.com/envoyproxy/go-control-plane && cd go-control-plane && git checkout b4adc3bb5fe5288bff01cd452dad418ef98c676e
ADD ./resource.go /go/go-control-plane/internal/example/resource.go
RUN cd go-control-plane && git checkout b4adc3bb5fe5288bff01cd452dad418ef98c676e && make bin/example
RUN cd go-control-plane && make bin/example
WORKDIR /go/go-control-plane

0 comments on commit f066fdc

Please sign in to comment.