Skip to content

Commit

Permalink
fix(static-testnet): allow deployments without denylist
Browse files Browse the repository at this point in the history
  • Loading branch information
r-birkner committed Mar 7, 2024
1 parent 778d2bb commit 79de489
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Expand Up @@ -113,7 +113,7 @@ function generate_icx_proxy_config() {
DOMAINS=${ARG_DOMAINS[@]}
DOMAINS_SYSTEM=${ARG_DOMAINS_SYSTEM[@]}
DOMAINS_APPLICATION=${ARG_DOMAINS_APPLICATION[@]}
DENYLIST_URL=${DENYLIST_URL}
DENYLIST_URL=${DENYLIST_URL:-}
EOF

# Denylist canister
Expand Down
5 changes: 2 additions & 3 deletions ic-os/boundary-guestos/scripts/build-deployment.sh
Expand Up @@ -420,11 +420,10 @@ function copy_deny_list() {

NODE_PREFIX=${DEPLOYMENT}.$subnet_idx.$node_idx
if [[ -f "${DENY_LIST:-}" ]]; then
echo "Using deny list ${DENY_LIST}"
echo "Using denylist ${DENY_LIST}"
cp "${DENY_LIST}" "${CONFIG_DIR}/${NODE_PREFIX}/denylist.json"
else
echo "Using empty denylist"
touch "${CONFIG_DIR}/${NODE_PREFIX}/denylist.json"
echo "No denylist provided"
fi
fi
done
Expand Down

0 comments on commit 79de489

Please sign in to comment.