test-analytics-search 999 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env bash
  2. # Copyright Materialize, Inc. and contributors. All rights reserved.
  3. #
  4. # Use of this software is governed by the Business Source License
  5. # included in the LICENSE file at the root of this repository.
  6. #
  7. # As of the Change Date specified in that file, in accordance with
  8. # the Business Source License, use of this software will be governed
  9. # by the Apache License, Version 2.0.
  10. #
  11. # test-analytics-search - test analytics annotation search
  12. # required: TEST_ANALYTICS_USERNAME
  13. # required: TEST_ANALYTICS_APP_PASSWORD
  14. # optional: TEST_ANALYTICS_HOSTNAME
  15. if [[ -z "${TEST_ANALYTICS_HOSTNAME}" ]]; then
  16. TEST_ANALYTICS_HOSTNAME="7vifiksqeftxc6ld3r6zvc8n2.lb.us-east-1.aws.materialize.cloud"
  17. fi
  18. exec "$(dirname "$0")"/pyactivate -m materialize.test_analytics.search.test_analytics_search \
  19. --test-analytics-hostname="${TEST_ANALYTICS_HOSTNAME}" \
  20. --test-analytics-username="${TEST_ANALYTICS_USERNAME}" \
  21. --test-analytics-app-password="${TEST_ANALYTICS_APP_PASSWORD}" \
  22. "$@"