mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
Re-push to test everything with 2 containers per GH Actions machine.
This commit is contained in:
@@ -355,7 +355,7 @@ jobs:
|
||||
python detection_testing_execution.py run --branch ${{ github.event.pull_request.head.ref }} --mode all --mock --config_file test_config_github_actions.json
|
||||
elif [[ ! -z "${{ github.event.pull_request.head.ref }}" && ! -z "${{ github.event.pull_request.number }}" ]]; then
|
||||
echo "Pull request from source branch [${{ github.event.pull_request.head.ref }}] for PR number [${{ github.event.issue.number }}]"
|
||||
python detection_testing_execution.py run --branch ${{ github.event.pull_request.head.ref }} --pr_number ${{ github.event.pull_request.number }} --mode changes --mock --config_file test_config_github_actions.json
|
||||
python detection_testing_execution.py run --branch ${{ github.event.pull_request.head.ref }} --pr_number ${{ github.event.pull_request.number }} --mode all --mock --config_file test_config_github_actions.json
|
||||
else
|
||||
echo "Push from branch [${{ steps.vars.outputs.branch }}]"
|
||||
python detection_testing_execution.py run --branch ${{ steps.vars.outputs.branch }} --mode changes --mock --config_file test_config_github_actions.json
|
||||
|
||||
+1
-1
@@ -264,7 +264,7 @@ def finish_mock(settings: dict, detections: list[str], output_file_template: str
|
||||
mock_settings = copy.deepcopy(settings)
|
||||
# This may be able to support as many as 2 for GitHub Actions...
|
||||
# we will have to determine in testing.
|
||||
mock_settings['num_containers'] = 1
|
||||
mock_settings['num_containers'] = 2
|
||||
|
||||
# Must be selected since we are passing in a list of detections
|
||||
mock_settings['mode'] = 'selected'
|
||||
|
||||
Reference in New Issue
Block a user