[Security][Serverless] Fixed PROXY_URL in api integration tests (#181835)

## Summary

Removed hard coded value for PROXY_URL.
This commit is contained in:
dkirchan 2024-04-26 15:00:53 +02:00 committed by GitHub
parent 0f607051fe
commit 328609e349
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 10 deletions

View file

@ -17,9 +17,9 @@ steps:
- group: 'Execute Tests'
key: test_execution
steps:
- label: Running exception_workflows:qa:serverless
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh exception_workflows:qa:serverless
key: exception_workflows:qa:serverless
- label: Running exception_workflows:essentials:qa:serverless
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh exception_workflows:essentials:qa:serverless
key: exception_workflows:essentials:qa:serverless
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-qa
@ -32,9 +32,9 @@ steps:
- exit_status: '*'
limit: 2
- label: Running exception_operators_date_numeric_types:qa:serverless
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh exception_operators_date_numeric_types:qa:serverless
key: exception_operators_date_numeric_types:qa:serverless
- label: Running exception_operators_date_numeric_types:essentials:qa:serverless
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh exception_operators_date_numeric_types:essentials:qa:serverless
key: exception_operators_date_numeric_types:essentials:qa:serverless
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-qa
@ -77,9 +77,9 @@ steps:
- exit_status: '*'
limit: 2
- label: Running exception_operators_long:qa:serverless
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh exception_operators_long:qa:serverless
key: exception_operators_long:qa:serverless
- label: Running exception_operators_long:essentials:qa:serverless
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh exception_operators_long:essentials:qa:serverless
key: exception_operators_long:essentials:qa:serverless
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-qa

View file

@ -17,7 +17,6 @@ set +e
# Generate a random 5-digit number
random_number=$((10000 + $RANDOM % 90000))
PROXY_URL="https://cloud-handler-test-r344edqiza-uc.a.run.app"
# Check the healthcheck of the proxy service
response=$(curl -s -o /dev/null -w "%{http_code}" "$PROXY_URL/healthcheck")
echo "Proxy Healthcheck Response code: $response"