locust-cloud 1.23.1.dev3__py3-none-any.whl → 1.23.2__py3-none-any.whl

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.
locust_cloud/cloud.py CHANGED
@@ -91,6 +91,10 @@ def main():
91
91
  }
92
92
 
93
93
  if options.image_tag is not None:
94
+ logger.log(
95
+ logging.DEBUG if options.image_tag == "master" else logging.INFO,
96
+ f"You have requested image tag {options.image_tag}",
97
+ )
94
98
  payload["image_tag"] = options.image_tag
95
99
 
96
100
  if options.workers is not None:
@@ -137,8 +137,8 @@ Typically you will also want to specify the standard Locust parameters ``--headl
137
137
  - run: locust --cloud -f my_locustfile.py --headless --run-time 5m
138
138
 
139
139
 
140
- Extra python packages
141
- =====================
140
+ Extra Python packages and files
141
+ ===============================
142
142
 
143
143
  If your locustfile needs some additional Python packages, you can install them by specifying a `requirements.txt <https://pip.pypa.io/en/stable/reference/requirements-file-format/>`_ file:
144
144
 
@@ -153,6 +153,12 @@ If your package is not published to Pypi, requirements.txt can reference other r
153
153
  --extra-index-url https://test.pypi.org/simple/ # your index url
154
154
  ... # your packages
155
155
 
156
+ You can also specify additional files to be copied to the load generators using the ``--extra-files`` option:
157
+
158
+ .. code-block:: console
159
+
160
+ --extra-files testdata.csv *.py my-directory/
161
+
156
162
  View dashboard / previous test runs
157
163
  ===================================
158
164
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust-cloud
3
- Version: 1.23.1.dev3
3
+ Version: 1.23.2
4
4
  Summary: Locust Cloud
5
5
  Project-URL: homepage, https://locust.cloud
6
6
  Project-URL: repository, https://github.com/locustcloud/locust-cloud
@@ -2,18 +2,18 @@ locust_cloud/__init__.py,sha256=6z2hE5rUP9WJyYgr-7XC2GhIV-05m8XxjOsnb8ae1WY,56
2
2
  locust_cloud/actions.py,sha256=lMxKZCwfcsbYf9t5ti20QP60gKt8HHwyz8yjYm0H-a8,762
3
3
  locust_cloud/apisession.py,sha256=JkXiGEtJCBxOW11P0KGr0AUc_AmfqAlO5SijC0zf85w,4368
4
4
  locust_cloud/args.py,sha256=Kr1plMq79KGni3xogmY1FBe6qtdvncM3CJ8in2HijAk,10990
5
- locust_cloud/cloud.py,sha256=0HQfAvODgeRXFwZ2MtLC6MwOyRFT_Frn4DDZ5JXxqH4,6059
5
+ locust_cloud/cloud.py,sha256=-WOqwbmQ90omBAOX3d4HGl4kIE9WeCrsb0D7Xt6h2_s,6248
6
6
  locust_cloud/common.py,sha256=GVKkWcbbqd9n8oU-fHZRVZw3jGtuIVGSCLD2ZizeEo0,1160
7
7
  locust_cloud/input_events.py,sha256=6gariDmjZfqQZDFOO_AbrqqMpDesQALEKfXZ3Lps6GQ,3417
8
8
  locust_cloud/web_login.py,sha256=2RC2NHczVdlz2bzmcPDDOR5UbL5ymBK2DUeo_5V6gY0,2553
9
9
  locust_cloud/websocket.py,sha256=9Q7nTFuAwVhgW74DlJNcHTZXOQ1drsXi8hX9ciZhWlQ,8998
10
10
  locust_cloud/docs/.gitignore,sha256=ghNPcjYkjQXNS_eVmu2hQFhq6FIUliAD1O2CJhulS2o,10
11
11
  locust_cloud/docs/1-first-run.rst,sha256=4CyEoreZfbuon30bRocx7mmKWEso-pVQeWqPiRWr3Dk,1630
12
- locust_cloud/docs/2-examples.rst,sha256=45s-gwExNwzbmpzleUENZK4WuHBO7fJ_lGzeukQdWrg,10128
12
+ locust_cloud/docs/2-examples.rst,sha256=b8yipIaPfNCnZrQq6StSeC3UkpwmXFjCphxiTqzJwFo,10338
13
13
  locust_cloud/docs/locust-cloud.rst,sha256=KwolrGHH4RtU7VvzO6-QRAJu-ekPPR6XVzdf8i9qZGM,156
14
14
  locust_cloud/docs/images/locust-cloud-screenshot.png,sha256=ag0IxBi-40VexC84MApol1GCgRCL2h-l8NQDTMaeTyE,477350
15
- locust_cloud-1.23.1.dev3.dist-info/METADATA,sha256=VSutMHuKknqfRfvtW2AmFqK1STimoU8eyRvG7lZtKro,827
16
- locust_cloud-1.23.1.dev3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
- locust_cloud-1.23.1.dev3.dist-info/entry_points.txt,sha256=PGyAb4e3aTsGS3N3VGShDl6VzJaXy7QwsEgsLOC7V00,57
18
- locust_cloud-1.23.1.dev3.dist-info/licenses/LICENSE,sha256=Ow6fY6ta4KIjdlWalmxGvRP8yLmetvkbkl-SdHMjPIs,1093
19
- locust_cloud-1.23.1.dev3.dist-info/RECORD,,
15
+ locust_cloud-1.23.2.dist-info/METADATA,sha256=YpZNxMxEc2R71K7FY--mMyWLVp9xUgEYd1zC5tWPdHs,822
16
+ locust_cloud-1.23.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
+ locust_cloud-1.23.2.dist-info/entry_points.txt,sha256=PGyAb4e3aTsGS3N3VGShDl6VzJaXy7QwsEgsLOC7V00,57
18
+ locust_cloud-1.23.2.dist-info/licenses/LICENSE,sha256=Ow6fY6ta4KIjdlWalmxGvRP8yLmetvkbkl-SdHMjPIs,1093
19
+ locust_cloud-1.23.2.dist-info/RECORD,,