Skip to content

Commit

Permalink
Changed working dir when running test_udfclient.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Aug 9, 2024
1 parent a4ee104 commit b9860ac
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ ENV CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$MAMBA_ROOT_PREFIX/include/
ENV C_INCLUDE_PATH=$C_INCLUDE_PATH:$MAMBA_ROOT_PREFIX/include/
RUN ./build.sh --lockfile_mode=off --config no-tty -c dbg --config python --config test-binaries-py3
RUN cp -r -L bazel-bin/* /exaudf
RUN ./base/test_udfclient.sh /exaudf/exaudfclient_py3
RUN ./base/test_udfclient.sh /exaudf/exaudfclient_py3_static

WORKDIR /exaudfclient/base
RUN ./test_udfclient.sh /exaudf/exaudfclient_py3
RUN ./test_udfclient.sh /exaudf/exaudfclient_py3_static

WORKDIR /
RUN mkdir /exasol_emulator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ ENV C_INCLUDE_PATH=$C_INCLUDE_PATH:$MAMBA_ROOT_PREFIX/include/
RUN ./build.sh --lockfile_mode=off --config no-tty --config optimize --config python --config fast-binary-py3
RUN cp -r -L bazel-bin/* /exaudf

RUN ./base/test_udfclient.sh /exaudf/exaudfclient_py3
WORKDIR /exaudfclient/base
RUN ./test_udfclient.sh /exaudf/exaudfclient_py3

WORKDIR /exaudf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ ENV C_INCLUDE_PATH=$C_INCLUDE_PATH:$MAMBA_ROOT_PREFIX/include/
# We need to build with optimize here, because the debug build fails to run with a runtime linking error regarding protobuf
RUN ./build.sh --lockfile_mode=off --config no-tty -c dbg --config python --config test-binaries-py3
RUN cp -r -L bazel-bin/* /exaudf
RUN ./base/test_udfclient.sh /exaudf/exaudfclient_py3
RUN ./base/test_udfclient.sh /exaudf/exaudfclient_py3_static

WORKDIR /exaudfclient/base
RUN ./test_udfclient.sh /exaudf/exaudfclient_py3
RUN ./test_udfclient.sh /exaudf/exaudfclient_py3_static

WORKDIR /
RUN mkdir /exasol_emulator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ ENV C_INCLUDE_PATH=$C_INCLUDE_PATH:$MAMBA_ROOT_PREFIX/include/
RUN ./build.sh --lockfile_mode=off --config no-tty --config optimize --config python --config fast-binary-py3
RUN cp -r -L bazel-bin/* /exaudf

RUN ./base/test_udfclient.sh /exaudf/exaudfclient_py3
WORKDIR /exaudfclient/base
RUN ./test_udfclient.sh /exaudf/exaudfclient_py3

WORKDIR /exaudf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ COPY /exaudfclient/ /exaudfclient/
WORKDIR /exaudfclient/
RUN ["/bin/bash", "-c", "source /env && bash build.sh --lockfile_mode=off --config no-tty -c dbg --config python --config test-binaries-py3"]
RUN cp -r -L bazel-bin/* /exaudf
RUN ./base/test_udfclient.sh /exaudf/exaudfclient_py3
RUN ./base/test_udfclient.sh /exaudf/exaudfclient_py3_static

WORKDIR /exaudfclient/base
RUN ./test_udfclient.sh /exaudf/exaudfclient_py3
RUN ./test_udfclient.sh /exaudf/exaudfclient_py3_static

WORKDIR /
RUN mkdir /exasol_emulator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ WORKDIR /exaudfclient/
RUN ["/bin/bash", "-c", "source /env && bash build.sh --lockfile_mode=off --config no-tty --config optimize --config python --config fast-binary-py3"]
RUN cp -r -L bazel-bin/* /exaudf

RUN ./base/test_udfclient.sh /exaudf/exaudfclient_py3
WORKDIR /exaudfclient/base
RUN ./test_udfclient.sh /exaudf/exaudfclient_py3

WORKDIR /exaudf

Expand Down

0 comments on commit b9860ac

Please sign in to comment.