PromucFlow_constructor/deploy/docker/route-tests/run.sh
Shrikant Sharat Kandula e6ebfbaea1
fix: Remove Server header and allow all on port 80 (#29585)
Another attempt at #29550, which was reverted. Fallback is not happening
if cert provisioning fails _despite_ having the correct header. But with
the changes in this PR, since we'll listen on `:80`, fallback _will_
happen when cert provisioning fails due to incorrect domain
configuration.

We're also adding [Hurl](https://hurl.dev) based tests. They're not run
in any CI yet. That'll come in soon.
2023-12-18 09:44:31 +05:30

17 lines
343 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
set -o nounset
loc="$(dirname "$0")"
docker build -f "$loc/Dockerfile" --tag ar "$loc/.."
docker run \
--name ar \
--rm \
-it \
--hostname ar \
-e OPEN_SHELL=${OPEN_SHELL-} \
--volume "$loc/../fs/opt/appsmith/caddy-reconfigure.mjs:/caddy-reconfigure.mjs:ro" \
--volume "$loc:/code:ro" \
ar