diff --git a/scripts/ci/smoke-bounded-queries.sh b/scripts/ci/smoke-bounded-queries.sh index 968215908..86a154766 100755 --- a/scripts/ci/smoke-bounded-queries.sh +++ b/scripts/ci/smoke-bounded-queries.sh @@ -12,9 +12,9 @@ fail() { } run_inside_agent() { - command -v sealed-probe >/dev/null || fail "sealed-probe is not installed" - [[ "${AWF_SEALED_PROBE_REPOS:-}" == "$TARGET_REPO" ]] || - fail "unexpected AWF_SEALED_PROBE_REPOS: ${AWF_SEALED_PROBE_REPOS:-}" + command -v bounded-query >/dev/null || fail "bounded-query is not installed" + [[ "${AWF_BOUNDED_QUERY_REPOS:-}" == "$TARGET_REPO" ]] || + fail "unexpected AWF_BOUNDED_QUERY_REPOS: ${AWF_BOUNDED_QUERY_REPOS:-}" [[ -z "${GH_TOKEN:-}" && -z "${GITHUB_TOKEN:-}" ]] || fail "staging credentials reached the agent environment" @@ -57,22 +57,22 @@ run_inside_agent() { for attempt in 0 1 2; do if [[ "$result_kind" == "array" ]]; then response="$( - sealed-probe --repo "$TARGET_REPO" --schema "$schema" <<'PY' + bounded-query --repo "$TARGET_REPO" --schema "$schema" <<'PY' import json from pathlib import Path -go_mod_exists = Path("/probe/repo/go.mod").is_file() -Path("/probe/out").write_text(json.dumps([go_mod_exists] * 28)) +go_mod_exists = Path("/query/repo/go.mod").is_file() +Path("/query/out").write_text(json.dumps([go_mod_exists] * 28)) PY )" else response="$( - sealed-probe --repo "$TARGET_REPO" --schema "$schema" <<'PY' + bounded-query --repo "$TARGET_REPO" --schema "$schema" <<'PY' import json from pathlib import Path -go_mod_exists = Path("/probe/repo/go.mod").is_file() -Path("/probe/out").write_text(json.dumps(go_mod_exists)) +go_mod_exists = Path("/query/repo/go.mod").is_file() +Path("/query/out").write_text(json.dumps(go_mod_exists)) PY )" fi @@ -96,7 +96,7 @@ elif status == "error": if payload != {"status": "error"}: raise SystemExit("error response was not canonical") else: - raise SystemExit(f"unexpected sealed-probe response: {payload!r}") + raise SystemExit(f"unexpected bounded-query response: {payload!r}") print(status) PY @@ -134,7 +134,7 @@ run_on_host() { "logging": { "auditDir": "$audit_dir" }, - "sealedProbes": { + "boundedQueries": { "enabled": true, "privateRepos": [ {