mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
download attack data cache for testing and validation purposes
This commit is contained in:
@@ -45,6 +45,8 @@ jobs:
|
||||
git fetch origin pull/${{ github.event.pull_request.number }}/head:new_branch_for_testing
|
||||
#We must specifically get the PR's target branch from security_content, not the one that resides in the fork PR's forked repo
|
||||
git switch new_branch_for_testing
|
||||
#Download all attack_data for testing purposes
|
||||
mkdir -p external_repos/ && curl https://attack-range-attack-data.s3.us-west-2.amazonaws.com/attack_data.tar.zstd | zstd --decompress - | tar -x -C external_repos
|
||||
contentctl test --disable-tqdm --no-enable-integration-testing --container-settings.num-containers 2 --post-test-behavior never_pause mode:changes --mode.target-branch ${{ github.base_ref }}
|
||||
echo "contentctl test - COMPLETED"
|
||||
continue-on-error: true
|
||||
|
||||
Reference in New Issue
Block a user