@@ -273,12 +273,12 @@ let
273
273
constraint = {
274
274
attribute = "\ ${node.class}" ;
275
275
operator = "=" ;
276
- # For cloud benchmarking, dedicated static machines in the "perf"
277
- # class are used. We mimic that for local/test runs .
276
+ # Cloud jobs can run in the dedicated P&T Nomad cluster on AWS or in
277
+ # Cardano World Nomad cluster's "qa" class nodes .
278
278
# This default is just a precaution, like the top level namespace,
279
- # because there are also available "qa" Class nodes but usage of these
280
- # must be limited to short test and "infra" Class nodes are used for
281
- # HA jobs and must be avoided entirely.
279
+ # because "qa" Class nodes usage must be limited to short test and
280
+ # "infra" Class nodes, that are used for HA jobs, must be avoided
281
+ # entirely.
282
282
value = "perf" ;
283
283
} ;
284
284
412
412
} ;
413
413
414
414
# Sensible defaults to run cloud version of "default", "ci-test" and
415
- # "ci-bench" in cardano-world qa class Nomad nodes.
416
- # For benchmarking dedicated static machines in the "perf" class are
417
- # used and this value should be updated accordingly.
415
+ # "ci-bench" in Cardano World Nomad cluster's "qa" class nodes.
416
+ # For benchmarking the dedicated P&T Nomad cluster on AWS is used and
417
+ # this value should be updated accordingly.
418
418
resources = {
419
419
# Task can only ask for 'cpu' or 'cores' resource but not both.
420
420
cores = 2 ; # cpu = 512;
@@ -450,10 +450,10 @@ let
450
450
# address of an AWS EC2 instance set this to
451
451
# ${attr.unique.platform.aws.public-ipv4}.
452
452
address =
453
- # When using Cardano World (nomad.world.dev.cardano.org) "perf"
454
- # class nodes we use public IPs/routing, all the other cloud runs
455
- # are behind a VPC/firewall. Local runs just use 12.0.0.1.
456
- if lib . strings . hasInfix "cw-perf " profileData . profileName
453
+ # When using the dedicated P&T Nomad cluster on AWS we use public
454
+ # IPs/routing, all the other cloud runs are behind a VPC/firewall.
455
+ # Local runs just use 12.0.0.1.
456
+ if lib . strings . hasInfix "-nomadperf " profileData . profileName
457
457
then "\ ${attr.unique.platform.aws.public-ipv4}"
458
458
else ""
459
459
;
@@ -1180,17 +1180,17 @@ let
1180
1180
# Port string from
1181
1181
''--port ${ toString nodeSpec . port } ''
1182
1182
]
1183
- # On cloud deployments to SRE-managed Nomad, that uses AWS, the hosts at
1184
- # Linux level may not be aware of the EIP public address they have so we
1185
- # can't bind to the public IP (that we can resolve to using templates).
1186
- # The only options available are to bind to the "all-weather" 0.0.0.0 or
1187
- # use the private IP provided by AWS. We use the latter in case the Nomad
1188
- # Client was not started with the correct `-network-interface XX`
1189
- # parameter.
1183
+ # On cloud deployments to SRE-managed / dedicated P&T Nomad cluster, that
1184
+ # uses AWS, the hosts at Linux level may not be aware of the EIP public
1185
+ # address they have so we can't bind to the public IP (that we can resolve
1186
+ # to using templates). The only options available are to bind to the
1187
+ # "all-weather" 0.0.0.0 or use the private IP provided by AWS. We use the
1188
+ # latter in case the Nomad Client was not started with the correct
1189
+ # `-network-interface XX` parameter.
1190
1190
[
1191
1191
# Address string to
1192
1192
(
1193
- if lib . strings . hasInfix "cw-perf " profileData . profileName
1193
+ if lib . strings . hasInfix "-nomadperf " profileData . profileName
1194
1194
then ''--host-addr {{ env "attr.unique.platform.aws.local-ipv4" }}''
1195
1195
else ''--host-addr 0.0.0.0''
1196
1196
)
0 commit comments