Skip to content

Commit 63c6548

Browse files
authored
Merge pull request #25 from screwdriver-cd/custom
fix: pull in new executor-k8s-vm with custom cpu and ram
2 parents dfdabe7 + 3b8a809 commit 63c6548

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

config/custom-environment-variables.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,16 @@ executor:
7979
low: K8S_CPU_LOW
8080
high: K8S_CPU_HIGH
8181
turbo: K8S_CPU_TURBO
82+
# upper bound for user custom cpu
83+
max: K8S_CPU_MAX
8284
# Memory in GB
8385
memory:
8486
micro: K8S_MEMORY_MICRO
8587
low: K8S_MEMORY_LOW
8688
high: K8S_MEMORY_HIGH
8789
turbo: K8S_MEMORY_TURBO
90+
# upper bound for user custom memory
91+
max: K8S_MEMORY_MAX
8892
disk:
8993
high: K8S_DISK_LABEL
9094
speed: K8S_DISK_SPEED_LABEL

config/default.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,16 @@ executor:
5151
low: 2
5252
high: 6
5353
turbo: 12
54+
# upper bound for user custom cpu
55+
max: 12
5456
memory:
5557
# Memory in GB
5658
micro: 1
5759
low: 2
5860
high: 12
5961
turbo: 16
62+
# upper bound for user custom memory
63+
max: 16
6064
# Default build timeout for all builds in this cluster
6165
buildTimeout: 90
6266
# Default max build timeout

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"eslint-config-screwdriver": "^3.0.0",
3838
"jenkins-mocha": "^6.0.0",
3939
"mockery": "^2.1.0",
40-
"sinon": "^7.1.1"
40+
"sinon": "^7.2.5"
4141
},
4242
"dependencies": {
4343
"amqp-connection-manager": "^2.2.0",
@@ -49,10 +49,9 @@
4949
"request": "^2.88.0",
5050
"screwdriver-executor-k8s": "^13.3.5",
5151
"screwdriver-executor-k8s-vm": "^2.8.4",
52-
"screwdriver-executor-router": "^1.0.8",
53-
"sinon": "^7.1.1",
54-
"threads": "^0.12.0",
55-
"winston": "^3.1.0"
52+
"screwdriver-executor-router": "^1.0.11",
53+
"threads": "^0.12.1",
54+
"winston": "^3.2.1"
5655
},
5756
"release": {
5857
"debug": false,

0 commit comments

Comments
 (0)