From 7ec96f0d81a78c4c4bd1929d897883310a230564 Mon Sep 17 00:00:00 2001 From: Peter Baumgartner Date: Tue, 16 Apr 2024 18:45:21 -0600 Subject: [PATCH] Adjust tests for bash wrapper New procfile buildpacks add it --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d3658fb..472f87d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -98,7 +98,8 @@ jobs: run: | set -ex cat apppack.toml - test "$(python -c 'import tomllib; print(tomllib.load(open("apppack.toml", "rb"))["services"]["web"]["command"])')" = 'gunicorn --access-logfile - --bind 0.0.0.0:$PORT --forwarded-allow-ips '"'"'*'"' app:app" + test "$(python -c 'import tomllib; print(tomllib.load(open("apppack.toml", "rb"))["services"]["web"]["command"])')" = 'bash -c '"'gunicorn --access-logfile - --bind 0.0.0.0:"$PORT" --forwarded-allow-ips ** app:app'"' + integration-appjson: runs-on: ubuntu-latest needs: [test, build-image] @@ -156,7 +157,7 @@ jobs: run: | set -ex cat apppack.toml - test "$(python -c 'import tomllib; print(tomllib.load(open("apppack.toml", "rb"))["services"]["web"]["command"])')" = 'gunicorn --access-logfile - --bind 0.0.0.0:$PORT --forwarded-allow-ips '"'"'*'"' app:app" + test "$(python -c 'import tomllib; print(tomllib.load(open("apppack.toml", "rb"))["services"]["web"]["command"])')" = 'bash -c '"'gunicorn --access-logfile - --bind 0.0.0.0:"$PORT" --forwarded-allow-ips ** app:app'"' integration-heroku20: runs-on: ubuntu-latest