summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorValkum <rudi.floren@gmail.com>2021-02-22 19:06:10 +0100
committerValkum <rudi.floren@gmail.com>2021-02-22 19:07:39 +0100
commitaa7b6b6e09ee2ea4af0fb5b6a5b7e0fd51ddd11b (patch)
treecf7ace582a0d04602bdc56a2ac939300a37cb6df /tests
parentfb9880fee935fb94d128ff1b73b332aedcbf7347 (diff)
downloadconduit-aa7b6b6e09ee2ea4af0fb5b6a5b7e0fd51ddd11b.zip
Sync paths with CI pipeline due to dockerignore#
As the docker ignore file includes the target dir, content in this dir is no accessible to the docker daemon. We circumvent this by providing the build artifact in a dir called cached_dir
Diffstat (limited to 'tests')
-rw-r--r--tests/Complement.Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Complement.Dockerfile b/tests/Complement.Dockerfile
index 24ee9ea..370db7c 100644
--- a/tests/Complement.Dockerfile
+++ b/tests/Complement.Dockerfile
@@ -9,7 +9,7 @@ ARG SCCACHE_ENDPOINT
ARG SCCACHE_S3_USE_SSL
COPY . .
-RUN test -e target/release/conduit || cargo build --release --offline
+RUN test -e cached_target/release/conduit || cargo build --release
FROM valkum/docker-rust-ci:latest
WORKDIR /workdir