Skip to content

Commit

Permalink
Merge branch 'main' into grafana_host_parameterization
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfiola committed Jan 11, 2024
2 parents 257c33c + b4d3b6a commit 8623eac
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.3.11
current_version = 1.3.12
commit = True
tag = True
message = "[ci skip] Bumping version {current_version} to {new_version}"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "locust-grasshopper"
version = "1.3.11" # Managed by bump2version
version = "1.3.12" # Managed by bump2version
readme = {file = "README.md", content-type = "text/markdown"}
description = "a load testing tool extended from locust"
classifiers = [
Expand Down
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
assertpy==1.0
black==22.1.0
black==22.3.0
bump2version==1.0.1
click==8.0.4
click==8.1.3
coverage==6.3.2
flake8==6.0.0
flake8-import-order==0.18.2
Expand Down
18 changes: 18 additions & 0 deletions src/grasshopper/lib/configuration/gh_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@ class ConfigurationConstants:
},
"rp_token": {
"opts": ["--rp_token"],
"attrs": {
"action": "store",
"help": "LEGACY FOR RP_UUID: API token for accessing report portal "
"server. NYI. "
"programmatically.",
},
},
"rp_uuid": {
"opts": ["--rp_uuid"],
"attrs": {
"action": "store",
"help": "API token for accessing report portal server. NYI. "
Expand Down Expand Up @@ -270,6 +279,15 @@ class ConfigurationConstants:
"typecast": typecast_bool,
"default": False,
},
"rp_launch": {
"opts": ["--rp_launch"],
"attrs": {
"action": "store",
"help": "LEGACY FOR RP_LAUNCH: Base launch name to use when posting to "
"report portal. NYI",
},
"default": "Grasshopper Performance Test Run | Launch name unknown",
},
"rp_launch_name": {
"opts": ["--rp_launch_name"],
"attrs": {
Expand Down
2 changes: 2 additions & 0 deletions src/grasshopper/lib/fixtures/grasshopper_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class GrasshopperConstants:
"slack_report_failures_only",
"cleanup_s3",
"rp_token",
"rp_uuid",
"rp_launch",
"rp_launch_name",
"rp_project",
"rp_endpoint",
Expand Down
1 change: 1 addition & 0 deletions tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def current_global_defaults():
"influx": False,
"report_portal": False,
"rp_launch_name": "Grasshopper Performance Test Run | Launch name unknown",
"rp_launch": "Grasshopper Performance Test Run | Launch name unknown",
}
return defaults

Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_grasshopper_configuration_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def expected_global_defaults():
"influx": False,
"report_portal": False,
"rp_launch_name": "Grasshopper Performance Test Run | Launch name unknown",
"rp_launch": "Grasshopper Performance Test Run | Launch name unknown",
}
return defaults

Expand Down

0 comments on commit 8623eac

Please sign in to comment.