screwdriver-data-schema 21.16.0 → 21.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/annotations.js +2 -1
- package/config/provider.js +43 -2
- package/package.json +5 -5
package/config/annotations.js
CHANGED
|
@@ -29,7 +29,8 @@ const RESERVED_PIPELINE_ANNOTATIONS = [
|
|
|
29
29
|
'screwdriver.cd/buildCluster',
|
|
30
30
|
'screwdriver.cd/restrictPR',
|
|
31
31
|
'screwdriver.cd/chainPR',
|
|
32
|
-
'screwdriver.cd/pipelineDescription'
|
|
32
|
+
'screwdriver.cd/pipelineDescription',
|
|
33
|
+
'screwdriver.cd/useDeployKey'
|
|
33
34
|
];
|
|
34
35
|
|
|
35
36
|
/**
|
package/config/provider.js
CHANGED
|
@@ -69,8 +69,49 @@ const SCHEMA_PROVIDER = Joi.object().keys({
|
|
|
69
69
|
.example('eks'),
|
|
70
70
|
clusterName: Joi.string()
|
|
71
71
|
.max(128)
|
|
72
|
-
.description('Cluster name')
|
|
73
|
-
.example('sd-build-eks')
|
|
72
|
+
.description('Cluster name required if executor is eks')
|
|
73
|
+
.example('sd-build-eks'),
|
|
74
|
+
cpuLimit: Joi.string()
|
|
75
|
+
.max(4)
|
|
76
|
+
.description('CPU Limit for pod in EKS Cluster')
|
|
77
|
+
.example('2Gi'),
|
|
78
|
+
memoryLimit: Joi.string()
|
|
79
|
+
.max(4)
|
|
80
|
+
.description('Memory Limit for pod in EKS Cluster')
|
|
81
|
+
.example('4Gi'),
|
|
82
|
+
executorLogs: Joi.boolean()
|
|
83
|
+
.optional()
|
|
84
|
+
.default(false)
|
|
85
|
+
.description('Enable debug logs for executor codebuild'),
|
|
86
|
+
launcherImage: Joi.string()
|
|
87
|
+
.description('Screwdriver launcher image in user Registry')
|
|
88
|
+
.example('123456789012.dkr.ecr.us-east-2.amazonaws.com/screwdriver-hub:launcherv6.4'),
|
|
89
|
+
launcherVersion: Joi.string()
|
|
90
|
+
.description('Screwdriver launcher version')
|
|
91
|
+
.example('v6.4'),
|
|
92
|
+
privilegedMode: Joi.boolean()
|
|
93
|
+
.optional()
|
|
94
|
+
.default(false)
|
|
95
|
+
.description('Enable privileged mode for container'),
|
|
96
|
+
computeType: Joi.string()
|
|
97
|
+
.valid(
|
|
98
|
+
'BUILD_GENERAL1_SMALL',
|
|
99
|
+
'BUILD_GENERAL1_LARGE',
|
|
100
|
+
'BUILD_GENERAL1_MEDIUM',
|
|
101
|
+
'BUILD_GENERAL1_LARGE',
|
|
102
|
+
'BUILD_GENERAL1_2XLARGE',
|
|
103
|
+
'BUILD_GENERAL1_LARGE',
|
|
104
|
+
'BUILD_GENERAL1_MEDIUM',
|
|
105
|
+
'BUILD_GENERAL1_LARGE'
|
|
106
|
+
)
|
|
107
|
+
.optional()
|
|
108
|
+
.default('BUILD_GENERAL1_SMALL')
|
|
109
|
+
.description('CodeBuild compute type'),
|
|
110
|
+
environment: Joi.string()
|
|
111
|
+
.optional()
|
|
112
|
+
.valid('ARM_CONTAINER', 'LINUX_CONTAINER', 'LINUX_GPU_CONTAINER')
|
|
113
|
+
.default('LINUX_CONTAINER')
|
|
114
|
+
.description('CodeBuild environment type')
|
|
74
115
|
});
|
|
75
116
|
|
|
76
117
|
module.exports = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "screwdriver-data-schema",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.19.0",
|
|
4
4
|
"description": "Internal Data Schema of Screwdriver",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"mysql2": "^1.7.0",
|
|
50
50
|
"nyc": "^15.0.0",
|
|
51
51
|
"pg": "^7.18.2",
|
|
52
|
-
"sequelize": "^5.22.
|
|
52
|
+
"sequelize": "^5.22.5",
|
|
53
53
|
"sequelize-cli": "^5.5.1",
|
|
54
|
-
"sqlite3": "^
|
|
54
|
+
"sqlite3": "^5.0.0"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"cron-parser": "^2.
|
|
58
|
-
"joi": "^17.
|
|
57
|
+
"cron-parser": "^4.2.1",
|
|
58
|
+
"joi": "^17.5.0"
|
|
59
59
|
}
|
|
60
60
|
}
|