-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed the entrypoint to be a yaml file
- Loading branch information
Showing
3 changed files
with
45 additions
and
29 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
.buildkite/pipelines/security_solution/api_integration.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
steps: | ||
- label: Running exception_workflows:runner:serverless | ||
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api-integration-tests.sh exception_workflows:runner:serverless | ||
key: exception_workflows:runner:serverless | ||
|
||
- label: Running exception_operators_date_numeric_types:runner:serverless | ||
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api-integration-tests.sh exception_operators_date_numeric_types:runner:serverless | ||
key: exception_operators_date_numeric_types:runner:serverless | ||
|
||
- label: Running exception_operators_keyword_text_long:runner:serverless | ||
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api-integration-tests.sh exception_operators_keyword_text_long:runner:serverless | ||
key: exception_operators_keyword_text_long:runner:serverless | ||
|
||
- label: Running exception_operators_ips_text_array:runner:serverless | ||
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api-integration-tests.sh exception_operators_ips_text_array:runner:serverless | ||
key: exception_operators_ips_text_array:runner:serverless | ||
|
||
- label: Running rule_creation:runner:serverless | ||
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api-integration-tests.sh rule_creation:runner:serverless | ||
key: rule_creation:runner:serverless | ||
|
24 changes: 24 additions & 0 deletions
24
.buildkite/scripts/pipelines/security_solution_quality_gate/api-integration-tests.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
if [ -z "$1" ] | ||
then | ||
echo "No target script from the package.json file, is supplied" | ||
exit 1 | ||
fi | ||
|
||
source .buildkite/scripts/common/util.sh | ||
.buildkite/scripts/bootstrap.sh | ||
|
||
buildkite-agent meta-data set "${BUILDKITE_JOB_ID}_is_test_execution_step" "true" | ||
|
||
echo "--- Serverless Security Second Quality Gate" | ||
cd x-pack/test/security_solution_api_integration | ||
set +e | ||
|
||
VAULT_DEC_KEY=$(retry 5 5 vault read -field=enc_key secret/kibana-issues/dev/security-solution-qg-enc-key) | ||
ENV_PWD=$(echo $TEST_ENV_PWD | openssl aes-256-cbc -d -a -pass pass:$VAULT_DEC_KEY) | ||
|
||
# Removing the https:// part of the url provided in order to use it in the command below. | ||
ES_URL="${TEST_ENV_ES_URL/https:\/\//}" | ||
KB_URL="${TEST_ENV_KB_URL/https:\/\//}" | ||
|
||
TEST_CLOUD=1 TEST_ES_URL="https://elastic:$ENV_PWD@$ES_URL" TEST_KIBANA_URL="https://elastic:$ENV_PWD@$KB_URL" yarn run $1 |
29 changes: 0 additions & 29 deletions
29
...ldkite/scripts/pipelines/security_solution_quality_gate/pipeline-api-integration-tests.sh
This file was deleted.
Oops, something went wrong.