Skip to content

Commit

Permalink
tests: enable wasm and mount filter path
Browse files Browse the repository at this point in the history
  • Loading branch information
flrgh committed Apr 1, 2024
1 parent 8315bb5 commit 5af881e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .ci/setup_kong.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DATABASE_USER=kong
DATABASE_NAME=kong
KONG_DB_PASSWORD=kong
KONG_PG_HOST=pg
KONG_WASM_FILTERS_PATH=$PWD/assets/filters

GATEWAY_CONTAINER_NAME=kong

Expand All @@ -35,6 +36,9 @@ function deploy_kong_postgres()
-e "KONG_ENFORCE_RBAC=on" \
-e "KONG_PORTAL=on" \
-e "KONG_ROUTER_FLAVOR=${KONG_ROUTER_FLAVOR}" \
-e "KONG_WASM=on" \
-e "KONG_WASM_FILTERS_PATH=/wasm/filters" \
-v "$KONG_WASM_FILTERS_PATH:/wasm/filters:ro" \
-p 8000:8000 \
-p 8443:8443 \
-p 127.0.0.1:8001:8001 \
Expand All @@ -57,6 +61,9 @@ function deploy_kong_dbless()
-e "KONG_ENFORCE_RBAC=on" \
-e "KONG_PORTAL=on" \
-e "KONG_ROUTER_FLAVOR=${KONG_ROUTER_FLAVOR}" \
-e "KONG_WASM=on" \
-e "KONG_WASM_FILTERS_PATH=/wasm/filters" \
-v "$KONG_WASM_FILTERS_PATH:/wasm/filters:ro" \
-p 8000:8000 \
-p 8443:8443 \
-p 127.0.0.1:8001:8001 \
Expand Down
4 changes: 4 additions & 0 deletions .ci/setup_kong_ee.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DATABASE_USER=kong
DATABASE_NAME=kong
KONG_DB_PASSWORD=kong
KONG_PG_HOST=pg
KONG_WASM_FILTERS_PATH=$PWD/assets/filters

GATEWAY_CONTAINER_NAME=kong

Expand Down Expand Up @@ -47,6 +48,9 @@ function deploy_kong_ee()
-e "KONG_PORTAL=on" \
-e "KONG_ADMIN_GUI_SESSION_CONF={}" \
-e "KONG_ROUTER_FLAVOR=${KONG_ROUTER_FLAVOR}" \
-e "KONG_WASM=on" \
-e "KONG_WASM_FILTERS_PATH=/wasm/filters" \
-v "$KONG_WASM_FILTERS_PATH:/wasm/filters:ro" \
-p 8000:8000 \
-p 8443:8443 \
-p 8001:8001 \
Expand Down

0 comments on commit 5af881e

Please sign in to comment.