Skip to content

Commit f6e38d0

Browse files
authored
Merge pull request #1378 from splunk/bug_fix_attack_range_destroyer
bug fix: attack range destroyer
2 parents 8671f2f + 8bc7bb9 commit f6e38d0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/destroy_old_attack_ranges.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
1919
- uses: actions/setup-python@v6
2020
with:
21-
python-version: '3.9' #Available versions here - https://github.com/actions/python-versions/releases easy to change/make a matrix/use pypy
21+
python-version: '3.11' #Available versions here - https://github.com/actions/python-versions/releases easy to change/make a matrix/use pypy
2222
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
2323

2424
- uses: aws-actions/configure-aws-credentials@v5
@@ -27,13 +27,12 @@ jobs:
2727
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
2828
aws-region: eu-central-1
2929

30-
- name: Install Dependencies using Poetry
30+
- name: Install Dependencies
3131
run: |
32-
pip3 install poetry
33-
poetry install
32+
pip install -r requirements.txt
3433
3534
- name: Destroy and stop old attack ranges
3635
run: |
37-
poetry run python scripts/attack_range_destroyer.py
36+
python scripts/attack_range_destroyer.py
3837
env:
3938
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)