Skip to content

Commit 61ab90b

Browse files
committed
merge
2 parents 4cc42f2 + 9c4c301 commit 61ab90b

File tree

5 files changed

+103
-0
lines changed

5 files changed

+103
-0
lines changed

app/jira.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ settings:
44
aggregator: consolidator
55
verbose: false
66
check-updates: false # disable bzt check for updates
7+
check-updates: false # disable bzt check for updates
78
env:
89
application_hostname: a2421393e2a54406195c3db80732d226-987115805.us-east-2.elb.amazonaws.com # Jira DC hostname without protocol and port e.g. test-jira.atlassian.com or localhost
910
application_protocol: http # http or https
@@ -14,14 +15,20 @@ settings:
1415
admin_password: admin
1516
load_executor: jmeter # jmeter and locust are supported. jmeter by default.
1617
concurrency: 200 # number of concurrent virtual users for jmeter or locust scenario
18+
load_executor: jmeter # jmeter and locust are supported. jmeter by default.
19+
concurrency: 200 # number of concurrent virtual users for jmeter or locust scenario
1720
test_duration: 45m
1821
ramp-up: 3m # time to spin all concurrent users
1922
total_actions_per_hour: 54500 # number of total JMeter/Locust actions per hour
23+
ramp-up: 3m # time to spin all concurrent users
24+
total_actions_per_hour: 54500 # number of total JMeter/Locust actions per hour
2025
WEBDRIVER_VISIBLE: False
2126
JMETER_VERSION: 5.5
2227
LANGUAGE: en_US.utf8
2328
allow_analytics: Yes # Allow sending basic run analytics to Atlassian. These analytics help us to understand how the tool is being used and help us to continue to invest in this tooling. For more details please see our README.
2429
environment_compliance_check: True # Pre-test environment compliance validation. Set to "False" to skip it.
30+
allow_analytics: Yes # Allow sending basic run analytics to Atlassian. These analytics help us to understand how the tool is being used and help us to continue to invest in this tooling. For more details please see our README.
31+
environment_compliance_check: True # Pre-test environment compliance validation. Set to "False" to skip it.
2532
# Action percentage for Jmeter and Locust load executors
2633
create_issue: 4
2734
search_jql: 11
@@ -43,6 +50,7 @@ services:
4350
prepare:
4451
- python util/pre_run/environment_checker.py
4552
- python util/pre_run/environment_compliance_check.py jira
53+
- python util/pre_run/environment_compliance_check.py jira
4654
- python util/data_preparation/jira_prepare_data.py
4755
shutdown:
4856
- python util/post_run/jmeter_post_check.py

app/reports_generation/performance_profile.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Defines which column from test runs is used for aggregated report. Default is "90% Line"
22
column_name: "90% Line"
33
runs:
4+
# relativePath should contain a relative path to the directory with run results starting from dc-app-performance-toolkit folder.
5+
# E.g. relativePath: "./app/results/jira/2024-01-01_10-10-10"
46
# relativePath should contain a relative path to the directory with run results starting from dc-app-performance-toolkit folder.
57
# E.g. relativePath: "./app/results/jira/2024-01-01_10-10-10"
68
- runName: "without app"

app/util/k8s/dcapt-small.tfvars

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
################################################################################
99
# Configuration settings to change
10+
# Configuration settings to change
1011
################################################################################
1112

1213
# Unique name of your small-scale test cluster.
@@ -44,6 +45,9 @@ whitelist_cidr = ["0.0.0.0/0"]
4445
# Path to a JSON file with EBS and RDS snapshot IDs
4546
snapshots_json_file_path = "dcapt-snapshots.json"
4647

48+
# Path to a JSON file with EBS and RDS snapshot IDs
49+
snapshots_json_file_path = "dcapt-snapshots.json"
50+
4751
# (optional) Custom tags for all resources to be created. Please add all tags you need to propagate among the resources.
4852
resource_tags = {Name: "dcapt-testing-small"}
4953

@@ -57,6 +61,7 @@ instance_disk_size = 100
5761
# and removes the need to change this value.
5862
min_cluster_capacity = 1
5963
max_cluster_capacity = 2
64+
max_cluster_capacity = 2
6065

6166
# By default, Ingress controller listens on 443 and 80. You can enable only http port 80 by
6267
# uncommenting the below line, which will disable port 443. This results in fewer inbound rules in Nginx controller security group.
@@ -83,6 +88,7 @@ max_cluster_capacity = 2
8388
jira_image_repository = "atlassian/jira-software"
8489
# JSM
8590
# ! REQUIRED for JSM !
91+
# ! REQUIRED for JSM !
8692
# jira_image_repository = "atlassian/jira-servicemanagement"
8793

8894
# Supported versions by DCAPT: https://github.com/atlassian/dc-app-performance-toolkit#supported-versions
@@ -92,6 +98,15 @@ jira_version_tag = "9.12.1"
9298
# ! REQUIRED for JSM !
9399
# jira_version_tag = "5.12.1"
94100

101+
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large
102+
jira_dataset_size = "small"
103+
# Supported versions by DCAPT: https://github.com/atlassian/dc-app-performance-toolkit#supported-versions
104+
# Jira version.
105+
jira_version_tag = "9.12.1"
106+
# JSM version
107+
# ! REQUIRED for JSM !
108+
# jira_version_tag = "5.12.1"
109+
95110
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large
96111
jira_dataset_size = "small"
97112

@@ -125,6 +140,8 @@ jira_nfs_limits_memory = "1.5Gi"
125140
# initial volume size of local/shared home EBS.
126141
jira_local_home_size = "20Gi"
127142
jira_shared_home_size = "20Gi"
143+
jira_local_home_size = "20Gi"
144+
jira_shared_home_size = "20Gi"
128145

129146
# RDS instance configurable attributes. Note that the allowed value of allocated storage and iops may vary based on instance type.
130147
# You may want to adjust these values according to your needs.
@@ -157,6 +174,11 @@ jira_db_master_password = "Password1!"
157174
# Supported versions by DCAPT: https://github.com/atlassian/dc-app-performance-toolkit#supported-versions
158175
confluence_version_tag = "8.5.4"
159176

177+
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large
178+
confluence_dataset_size = "small"
179+
# Supported versions by DCAPT: https://github.com/atlassian/dc-app-performance-toolkit#supported-versions
180+
confluence_version_tag = "8.5.4"
181+
160182
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large
161183
confluence_dataset_size = "small"
162184

@@ -189,6 +211,7 @@ synchrony_stack_size = "2048k"
189211
# Storage
190212
confluence_local_home_size = "20Gi"
191213
confluence_shared_home_size = "20Gi"
214+
confluence_shared_home_size = "20Gi"
192215

193216
# Confluence NFS instance resource configuration
194217
confluence_nfs_requests_cpu = "500m"
@@ -206,6 +229,7 @@ confluence_db_instance_class = "db.t3.medium"
206229
confluence_db_allocated_storage = 200
207230
confluence_db_iops = 1000
208231

232+
209233
# If you restore the database, make sure `confluence_db_name' is set to the db name from the snapshot.
210234
# Set `null` if the snapshot does not have a default db name.
211235
confluence_db_name = "confluence"
@@ -230,6 +254,11 @@ confluence_collaborative_editing_enabled = true
230254
# Supported versions by DCAPT: https://github.com/atlassian/dc-app-performance-toolkit#supported-versions
231255
bitbucket_version_tag = "8.9.8"
232256

257+
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large
258+
bitbucket_dataset_size = "small"
259+
# Supported versions by DCAPT: https://github.com/atlassian/dc-app-performance-toolkit#supported-versions
260+
bitbucket_version_tag = "8.9.8"
261+
233262
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large
234263
bitbucket_dataset_size = "small"
235264

@@ -275,6 +304,7 @@ bitbucket_max_heap = "2048m"
275304

276305
# Storage
277306
bitbucket_local_home_size = "20Gi"
307+
bitbucket_local_home_size = "20Gi"
278308
bitbucket_shared_home_size = "20Gi"
279309

280310
# Bitbucket NFS instance resource configuration
@@ -301,6 +331,7 @@ bitbucket_db_instance_class = "db.t3.medium"
301331
bitbucket_db_allocated_storage = 100
302332
bitbucket_db_iops = 1000
303333

334+
304335
# If you restore the database, make sure `bitbucket_db_name' is set to the db name from the snapshot.
305336
# Set `null` if the snapshot does not have a default db name.
306337
bitbucket_db_name = "bitbucket"

app/util/k8s/dcapt.tfvars

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
################################################################################
77
# Configuration settings to change
8+
# Configuration settings to change
89
################################################################################
910

1011
# Unique name of your enterprise-scale test cluster.
@@ -53,19 +54,24 @@ whitelist_cidr = ["0.0.0.0/0"]
5354
# Path to a JSON file with EBS and RDS snapshot IDs
5455
snapshots_json_file_path = "dcapt-snapshots.json"
5556

57+
# Path to a JSON file with EBS and RDS snapshot IDs
58+
snapshots_json_file_path = "dcapt-snapshots.json"
59+
5660
# (optional) Custom tags for all resources to be created. Please add all tags you need to propagate among the resources.
5761
resource_tags = {Name: "dcapt-testing"}
5862

5963
# Instance types that is preferred for EKS node group.
6064
instance_types = ["m5.2xlarge"]
6165
instance_disk_size = 200
66+
instance_disk_size = 200
6267

6368
# Minimum and maximum size of the EKS cluster.
6469
# Cluster-autoscaler is installed in the EKS cluster that will manage the requested capacity
6570
# and increase/decrease the number of nodes accordingly. This ensures there is always enough resources for the workloads
6671
# and removes the need to change this value.
6772
min_cluster_capacity = 1
6873
max_cluster_capacity = 6
74+
max_cluster_capacity = 6
6975

7076
# By default, Ingress controller listens on 443 and 80. You can enable only http port 80 by
7177
# uncommenting the below line, which will disable port 443. This results in fewer inbound rules in Nginx controller security group.
@@ -90,6 +96,17 @@ test_deployment_cpu_limit = "4"
9096
test_deployment_mem_request = "8Gi"
9197
test_deployment_mem_limit = "8Gi"
9298

99+
################################################################################
100+
# Execution Environment Settings
101+
################################################################################
102+
# Create a docker-in-docker privileged container as execution environment pod
103+
104+
start_test_deployment = "true"
105+
test_deployment_cpu_request = "3"
106+
test_deployment_cpu_limit = "4"
107+
test_deployment_mem_request = "8Gi"
108+
test_deployment_mem_limit = "8Gi"
109+
93110
################################################################################
94111
# Jira/JSM Settings
95112
################################################################################
@@ -102,18 +119,27 @@ test_deployment_mem_limit = "8Gi"
102119
# Jira
103120
jira_image_repository = "atlassian/jira-software"
104121

122+
105123
# JSM
106124
# ! REQUIRED for JSM !
125+
# ! REQUIRED for JSM !
107126
# jira_image_repository = "atlassian/jira-servicemanagement"
108127

109128
# Supported versions by DCAPT: https://github.com/atlassian/dc-app-performance-toolkit#supported-versions
110129
# Jira version
111130
jira_version_tag = "9.12.1"
112131

132+
jira_version_tag = "9.12.1"
133+
113134
# JSM version
114135
# ! REQUIRED for JSM !
115136
# jira_version_tag = "5.12.1"
116137

138+
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large.
139+
jira_dataset_size = "large"
140+
# ! REQUIRED for JSM !
141+
# jira_version_tag = "5.12.1"
142+
117143
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large.
118144
jira_dataset_size = "large"
119145

@@ -128,6 +154,7 @@ jira_installation_timeout = 25
128154
# Jira/JSM instance resource configuration
129155
jira_cpu = "6"
130156
jira_mem = "16Gi"
157+
jira_mem = "16Gi"
131158
jira_min_heap = "12288m"
132159
jira_max_heap = "12288m"
133160
jira_reserved_code_cache = "2048m"
@@ -136,6 +163,8 @@ jira_reserved_code_cache = "2048m"
136163
# initial volume size of local/shared home EBS.
137164
jira_local_home_size = "200Gi"
138165
jira_shared_home_size = "200Gi"
166+
jira_local_home_size = "200Gi"
167+
jira_shared_home_size = "200Gi"
139168

140169
# RDS instance configurable attributes. Note that the allowed value of allocated storage and iops may vary based on instance type.
141170
# You may want to adjust these values according to your needs.
@@ -167,7 +196,10 @@ jira_db_master_password = "Password1!"
167196

168197
# Supported versions by DCAPT: https://github.com/atlassian/dc-app-performance-toolkit#supported-versions
169198
confluence_version_tag = "8.5.4"
199+
confluence_version_tag = "8.5.4"
170200

201+
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large
202+
confluence_dataset_size = "large"
171203
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large
172204
confluence_dataset_size = "large"
173205

@@ -182,19 +214,24 @@ confluence_installation_timeout = 30
182214
# Confluence instance resource configuration
183215
confluence_cpu = "6"
184216
confluence_mem = "16Gi"
217+
confluence_cpu = "6"
218+
confluence_mem = "16Gi"
185219
confluence_min_heap = "12288m"
186220
confluence_max_heap = "12288m"
187221

188222
# Synchrony instance resource configuration
189223
synchrony_cpu = "1"
190224
synchrony_mem = "3Gi"
225+
synchrony_cpu = "1"
226+
synchrony_mem = "3Gi"
191227
synchrony_min_heap = "1024m"
192228
synchrony_max_heap = "2048m"
193229
synchrony_stack_size = "2048k"
194230

195231
# Storage
196232
confluence_local_home_size = "200Gi"
197233
confluence_shared_home_size = "200Gi"
234+
confluence_shared_home_size = "200Gi"
198235

199236
# RDS instance configurable attributes. Note that the allowed value of allocated storage and iops may vary based on instance type.
200237
# You may want to adjust these values according to your needs.
@@ -232,7 +269,10 @@ confluence_collaborative_editing_enabled = true
232269

233270
# Supported versions by DCAPT: https://github.com/atlassian/dc-app-performance-toolkit#supported-versions
234271
bitbucket_version_tag = "8.9.8"
272+
bitbucket_version_tag = "8.9.8"
235273

274+
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large
275+
bitbucket_dataset_size = "large"
236276
# Dataset size. Used only when snapshots_json_file_path is defined. Defaults to large
237277
bitbucket_dataset_size = "large"
238278

@@ -315,6 +355,7 @@ bitbucket_db_master_password = "Password1!"
315355

316356
# Supported versions by DCAPT: https://github.com/atlassian/dc-app-performance-toolkit#supported-versions
317357
crowd_version_tag = "5.2.2"
358+
crowd_version_tag = "5.2.2"
318359

319360
# Helm chart version of Crowd and Crowd agent instances. By default the latest version is installed.
320361
# crowd_helm_chart_version = "<helm_chart_version>"
@@ -333,6 +374,8 @@ crowd_max_heap = "2048m"
333374
# Storage
334375
crowd_local_home_size = "20Gi"
335376
crowd_shared_home_size = "20Gi"
377+
crowd_local_home_size = "20Gi"
378+
crowd_shared_home_size = "20Gi"
336379

337380
# Crowd NFS instance resource configuration
338381
crowd_nfs_requests_cpu = "1"
@@ -376,6 +419,8 @@ crowd_db_master_password = "Password1!"
376419
# https://hub.docker.com/r/atlassian/bamboo-agent-base/tags
377420
bamboo_version_tag = "9.2.9"
378421
bamboo_agent_version_tag = "9.2.9"
422+
bamboo_version_tag = "9.2.9"
423+
bamboo_agent_version_tag = "9.2.9"
379424

380425
# Helm chart version of Bamboo and Bamboo agent instances
381426
# bamboo_helm_chart_version = "<helm_chart_version>"
@@ -419,6 +464,7 @@ bamboo_max_heap = "4096m"
419464

420465
# Bamboo Agent instance resource configuration
421466
bamboo_agent_cpu = "250m"
467+
bamboo_agent_cpu = "250m"
422468
bamboo_agent_mem = "700m"
423469

424470
# Storage
@@ -430,6 +476,10 @@ bamboo_nfs_requests_cpu = "1"
430476
bamboo_nfs_requests_memory = "1Gi"
431477
bamboo_nfs_limits_cpu = "2"
432478
bamboo_nfs_limits_memory = "2Gi"
479+
bamboo_nfs_requests_cpu = "1"
480+
bamboo_nfs_requests_memory = "1Gi"
481+
bamboo_nfs_limits_cpu = "2"
482+
bamboo_nfs_limits_memory = "2Gi"
433483

434484
# RDS instance configurable attributes. Note that the allowed value of allocated storage and iops may vary based on instance type.
435485
# You may want to adjust these values according to your needs.
@@ -460,9 +510,11 @@ bamboo_dataset_url = "https://centaurus-datasets.s3.amazonaws.com/bamboo/dcapt-b
460510
# to kube-monitoring namespace. Defaults to false.
461511
# monitoring_enabled = true
462512

513+
# Create Grafana service of LoadBalancer type. Defaults to false. To restrict access to LB URL
463514
# Create Grafana service of LoadBalancer type. Defaults to false. To restrict access to LB URL
464515
# the list of CIRDs from whitelist_cidr will be automatically applied.
465516

517+
466518
# monitoring_grafana_expose_lb = true
467519

468520
# Command to select cluster:
@@ -472,6 +524,13 @@ bamboo_dataset_url = "https://centaurus-datasets.s3.amazonaws.com/bamboo/dcapt-b
472524
# Command to get grafana ulr: kubectl get svc -n kube-monitoring | grep grafana
473525
# Default grafana creds: admin/prom-operator
474526

527+
# Command to select cluster:
528+
# export ENVIRONMENT_NAME=your_environment_name
529+
# aws eks update-kubeconfig --region us-east-2 --name atlas-$ENVIRONMENT_NAME-cluster
530+
531+
# Command to get grafana ulr: kubectl get svc -n kube-monitoring | grep grafana
532+
# Default grafana creds: admin/prom-operator
533+
475534
# Prometheus Persistent Volume Claim size. Defaults to 10Gi.
476535
# Out of the box EKS cluster is created with gp2 storage class which does not allow volume expansion,
477536
# i.e. if you expect a high volume of metrics or metrics with high cardinality it is recommended

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ prettytable==3.9.0
1111
bzt==1.16.27
1212
boto3==1.34.14
1313
retry==0.9.2
14+
bzt==1.16.27
15+
boto3==1.34.14
16+
retry==0.9.2

0 commit comments

Comments
 (0)