Skip to content

Commit 237b255

Browse files
authored
Merge pull request #615 from codecentric/fix/locust-dependencies
chore: switch to a minimal requirements file
2 parents 3ce7439 + 59508db commit 237b255

File tree

4 files changed

+8
-42
lines changed

4 files changed

+8
-42
lines changed

.github/workflows/lpt-locust.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ jobs:
3131
with:
3232
python-version: '3.11'
3333
cache: 'pip'
34-
cache-dependency-path: 'test/lpt-locust/requirements.txt'
34+
cache-dependency-path: 'test/lpt-locust/src/requirements.txt'
3535
- name: 👨🏻‍💻 Install dependencies
36-
run: pip install -r test/lpt-locust/requirements.txt
36+
run: pip install -r test/lpt-locust/src/requirements.txt
37+
- name: 🔗 Install license reporting tool
38+
run: pip install pip-licenses
3739
- name: 📋 Generate license report
3840
working-directory: ./test/lpt-locust
3941
run: |

test/lpt-locust/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM locustio/locust:2.16.1
2-
RUN pip3 install kubernetes
32
COPY src /locust-config
3+
RUN pip3 install -r /locust-config/requirements.txt
44
ENV LOCUST_LOCUSTFILE /locust-config/locustfile.py

test/lpt-locust/requirements.txt

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
locust
2+
oauthlib
3+
requests-oauthlib

0 commit comments

Comments
 (0)