File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ Metadata:
56
56
- MinSize
57
57
- MaxSize
58
58
- ScaleOutFactor
59
- - ScaleInFactor
60
59
- ScaleInIdlePeriod
60
+ - ScaleOutForWaitingJobs
61
61
- InstanceCreationTimeout
62
62
63
63
- Label :
@@ -224,16 +224,19 @@ Parameters:
224
224
Type : Number
225
225
Default : 1.0
226
226
227
- ScaleInFactor :
228
- Description : A decimal factor to apply to scale in changes to speed up or slow down scale-out
229
- Type : Number
230
- Default : 1.0
231
-
232
227
ScaleInIdlePeriod :
233
228
Description : Number of seconds an agent must be idle before terminating
234
229
Type : Number
235
230
Default : 600
236
231
232
+ ScaleOutForWaitingJobs :
233
+ Type : String
234
+ Description : Whether to scale-out for steps behind wait steps. Make sure you have a long enough idle period!
235
+ AllowedValues :
236
+ - " true"
237
+ - " false"
238
+ Default : " false"
239
+
237
240
InstanceCreationTimeout :
238
241
Description : Timeout period for Autoscaling Group Creation Policy
239
242
Type : String
@@ -910,7 +913,7 @@ Resources:
910
913
Properties :
911
914
Code :
912
915
S3Bucket : { 'Fn::FindInMap': [LambdaBucket, !Ref 'AWS::Region', 'Bucket'] }
913
- S3Key : " buildkite-agent-scaler/v0.4.1 /handler.zip"
916
+ S3Key : " buildkite-agent-scaler/v1.0.0 /handler.zip"
914
917
Role : !GetAtt AutoscalingLambdaExecutionRole.Arn
915
918
Timeout : 120
916
919
Handler : handler
@@ -926,6 +929,8 @@ Resources:
926
929
ASG_NAME : !Ref AgentAutoScaleGroup
927
930
MIN_SIZE : !Ref MinSize
928
931
MAX_SIZE : !Ref MaxSize
932
+ SCALE_OUT_FACTOR : !Ref ScaleOutFactor
933
+ INCLUDE_WAITING : !Ref ScaleOutForWaitingJobs
929
934
LAMBDA_TIMEOUT : " 50s"
930
935
LAMBDA_INTERVAL : " 10s"
931
936
You can’t perform that action at this time.
0 commit comments