diff options
author | Rudi Floren <rudi.floren@gmail.com> | 2020-11-09 17:21:35 +0100 |
---|---|---|
committer | Rudi Floren <rudi.floren@gmail.com> | 2020-11-09 17:21:35 +0100 |
commit | e4c5ed96a9612b0e10a42bb108cf2ae58a776d3a (patch) | |
tree | fb5d3ac31c07297050c7242dbabf72f4a625cf4f /tests | |
parent | 335a33c901b5ed13b665d3256c6616b4ca7b2c03 (diff) | |
download | conduit-e4c5ed96a9612b0e10a42bb108cf2ae58a776d3a.zip |
Sync with newest complement changes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Complement.Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/Complement.Dockerfile b/tests/Complement.Dockerfile index f3cbd99..21c3105 100644 --- a/tests/Complement.Dockerfile +++ b/tests/Complement.Dockerfile @@ -32,7 +32,9 @@ RUN echo '{"apps":{"http":{"https_port":8448,"servers":{"srv0":{"listen":[":8448 EXPOSE 8008 8448 -CMD sed -i "s/server_name = \"your.server.name\"/server_name = \"${SERVER_NAME}\"/g" Rocket.toml && \ +CMD ([ -z "${COMPLEMENT_CA}" ] && echo "Error: Need Complement CA support" && true) || \ + sed -i "s/server_name = \"your.server.name\"/server_name = \"${SERVER_NAME}\"/g" Rocket.toml && \ sed -i "s/your.server.name/${SERVER_NAME}/g" caddy.json && \ /workdir/caddy start --config caddy.json > /dev/null && \ - /workdir/conduit
\ No newline at end of file + /workdir/conduit +
\ No newline at end of file |