locust-cloud 1.27.2.dev9__tar.gz → 1.27.3.dev1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of locust-cloud might be problematic. Click here for more details.
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/.github/workflows/daily-check.yml +0 -23
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/PKG-INFO +1 -1
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/__init__.py +2 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/args.py +5 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/.github/workflows/tests.yml +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/.gitignore +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/.pre-commit-config.yaml +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/.vscode/extensions.json +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/.vscode/launch.json +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/.vscode/settings.json +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/LICENSE +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/README.md +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/apisession.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/common.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/docs/.gitignore +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/docs/1-first-run.rst +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/docs/2-examples.rst +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/docs/images/locust-cloud-screenshot.png +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/docs/locust-cloud.rst +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/import_finder.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/input_events.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/web_login.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locust_cloud/websocket.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/locustfile.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/pyproject.toml +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/testdata/autodetected.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/testdata/extra-files/extra.txt +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/testdata/extra-package/example/__init__.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/testdata/extra-package/setup.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/testdata/requirements.txt +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/tests/args_test.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/tests/browser_tests.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/tests/cloud_test.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/tests/import_finder_test.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/tests/web_login_test.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/tests/websocket_test.py +0 -0
- {locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/uv.lock +0 -0
|
@@ -61,26 +61,3 @@ jobs:
|
|
|
61
61
|
if: always()
|
|
62
62
|
run: uv run --with locust --with . locust --delete
|
|
63
63
|
|
|
64
|
-
locust_url_test:
|
|
65
|
-
needs: [locust_cloud_full_run]
|
|
66
|
-
runs-on: ubuntu-latest
|
|
67
|
-
steps:
|
|
68
|
-
- run: sleep 60 # Wait a bit to let the previous test's resources be fully deleted
|
|
69
|
-
- uses: actions/checkout@v4
|
|
70
|
-
with:
|
|
71
|
-
fetch-depth: 0
|
|
72
|
-
fetch-tags: true
|
|
73
|
-
- uses: astral-sh/setup-uv@v5
|
|
74
|
-
- run: uv venv --python 3.11
|
|
75
|
-
- run: uv run playwright install --with-deps
|
|
76
|
-
- run: uv run pytest tests/browser_tests.py
|
|
77
|
-
env:
|
|
78
|
-
LOCUSTCLOUD_USERNAME: ${{ secrets.LOCUSTCLOUD_USERNAME }}
|
|
79
|
-
LOCUSTCLOUD_PASSWORD: ${{ secrets.LOCUSTCLOUD_PASSWORD }}
|
|
80
|
-
HEADLESS: 1
|
|
81
|
-
- name: On failure, notify slack
|
|
82
|
-
if: failure()
|
|
83
|
-
run: curl -d "{\"text\":\"Failed url test run $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\"}" $SLACK_NOTIFICATIONS_WEBHOOK
|
|
84
|
-
- name: Make sure to delete (url tester doesn't self-destroy)
|
|
85
|
-
if: always()
|
|
86
|
-
run: uv run --with locust --with . locust --delete
|
|
@@ -78,6 +78,7 @@ def main(locustfiles: list[str] | None = None):
|
|
|
78
78
|
if env_variable.startswith("LOCUST_")
|
|
79
79
|
and env_variable
|
|
80
80
|
not in [
|
|
81
|
+
"LOCUST_LOCUSTFILE",
|
|
81
82
|
"LOCUST_USERS",
|
|
82
83
|
"LOCUST_WEB_HOST_DISPLAY_NAME",
|
|
83
84
|
"LOCUST_SKIP_MONKEY_PATCH",
|
|
@@ -86,6 +87,7 @@ def main(locustfiles: list[str] | None = None):
|
|
|
86
87
|
]
|
|
87
88
|
|
|
88
89
|
locust_args = [
|
|
90
|
+
{"name": "LOCUST_LOCUSTFILE", "value": ",".join([str(file) for file in relative_locustfiles])},
|
|
89
91
|
{"name": "LOCUST_FLAGS", "value": " ".join([option for option in locust_options if option != "--cloud"])},
|
|
90
92
|
{"name": "LOCUSTCLOUD_DEPLOYER_URL", "value": session.api_url},
|
|
91
93
|
*locust_env_variables,
|
|
@@ -269,6 +269,11 @@ Parameters specified on command line override env vars, which in turn override c
|
|
|
269
269
|
add_config_file_help=False,
|
|
270
270
|
add_env_var_help=False,
|
|
271
271
|
)
|
|
272
|
+
# Consume locustfile flag to not be forwarded into load generators
|
|
273
|
+
combined_cloud_parser.add_argument(
|
|
274
|
+
"-f",
|
|
275
|
+
"--locustfile",
|
|
276
|
+
)
|
|
272
277
|
combined_cloud_parser.add_argument(
|
|
273
278
|
"-u",
|
|
274
279
|
"--users",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{locust_cloud-1.27.2.dev9 → locust_cloud-1.27.3.dev1}/testdata/extra-package/example/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|