Skip to content

Commit

Permalink
tests: fix path for rpk byoc-mock
Browse files Browse the repository at this point in the history
This path mismatch triggers an error in cdt, first
this commits deals with that and another PR will
add this dependency to vtools.

(cherry picked from commit a57e226)
  • Loading branch information
r-vasquez authored and vbotbuildovich committed Aug 31, 2023
1 parent 2f9ceb2 commit 6c9903b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ RUN /k8s && \

FROM golang as byoc-mock

COPY --chown=0:0 --chmod=0755 tests/go/byoc-mock /opt/redpanda-tests/byoc-mock
COPY --chown=0:0 --chmod=0755 tests/go/byoc-mock /opt/redpanda-tests/go/byoc-mock
COPY --chown=0:0 --chmod=0755 tests/docker/ducktape-deps/byoc-mock /
RUN /byoc-mock && rm /byoc-mock

Expand Down Expand Up @@ -262,7 +262,7 @@ COPY --from=k8s /usr/local/bin/kubectl /usr/local/bin/helm /usr/local/bin/
COPY --from=kaf /usr/local/bin/kaf /usr/local/bin/
COPY --from=kcl /usr/local/bin/kcl /usr/local/bin/
COPY --from=kgo-verifier /opt/kgo-verifier /opt/kgo-verifier
COPY --from=byoc-mock /opt/redpanda-tests/byoc-mock/.rpk.managed-byoc /root/.local/bin/.rpk.managed-byoc
COPY --from=byoc-mock /opt/redpanda-tests/go/byoc-mock/.rpk.managed-byoc /root/.local/bin/.rpk.managed-byoc

RUN ldconfig

Expand Down
2 changes: 1 addition & 1 deletion tests/docker/ducktape-deps/byoc-mock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -e

cd /opt/redpanda-tests/byoc-mock
cd /opt/redpanda-tests/go/byoc-mock
go mod tidy
go build -o .rpk.managed-byoc

0 comments on commit 6c9903b

Please sign in to comment.