screwdriver-api 4.1.296 → 5.0.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/bin/server
CHANGED
|
@@ -116,8 +116,7 @@ const bookend = new Bookend(
|
|
|
116
116
|
'screwdriver-coverage-bookend': coverage,
|
|
117
117
|
'screwdriver-cache-bookend': cache
|
|
118
118
|
},
|
|
119
|
-
bookends
|
|
120
|
-
bookends.teardown || [] // plugins required for the teardown-steps
|
|
119
|
+
bookends
|
|
121
120
|
);
|
|
122
121
|
|
|
123
122
|
// Setup Pipeline Factory for Executor
|
|
@@ -360,14 +360,21 @@ webhooks:
|
|
|
360
360
|
maxBytes: WEBHOOK_MAX_BYTES
|
|
361
361
|
|
|
362
362
|
bookends:
|
|
363
|
-
#
|
|
364
|
-
setup
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
#
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
363
|
+
# Object keyed by cluster name with value setup/teardown bookend.
|
|
364
|
+
# Value of setup/teardown is list of module names, or objects { name, config } for instantiation to use in sd-setup/sd-teardown.
|
|
365
|
+
# Example:
|
|
366
|
+
# {
|
|
367
|
+
# "default": {
|
|
368
|
+
# "setup": ["scm", "screwdriver-cache-bookend", "foo"],
|
|
369
|
+
# "teardown": ["screwdriver-artifact-bookend", "screwdriver-cache-bookend"]
|
|
370
|
+
# },
|
|
371
|
+
# "clusterA": {
|
|
372
|
+
# "setup": ["scm", "screwdriver-cache-bookend", "foo", "bar"],
|
|
373
|
+
# "teardown": ["screwdriver-cache-bookend", {"name": "baz", "config": {}, "alias": "qux"}]
|
|
374
|
+
# }
|
|
375
|
+
# }
|
|
376
|
+
__name: BOOKENDS
|
|
377
|
+
__format: json
|
|
371
378
|
|
|
372
379
|
notifications:
|
|
373
380
|
__name: NOTIFICATIONS
|
package/config/default.yaml
CHANGED
|
@@ -286,12 +286,13 @@ unzipArtifacts:
|
|
|
286
286
|
|
|
287
287
|
bookends:
|
|
288
288
|
# Plugins for build setup
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
289
|
+
default:
|
|
290
|
+
setup:
|
|
291
|
+
- scm
|
|
292
|
+
- screwdriver-cache-bookend
|
|
293
|
+
teardown:
|
|
294
|
+
- screwdriver-artifact-bookend
|
|
295
|
+
- screwdriver-cache-bookend
|
|
295
296
|
|
|
296
297
|
notifications:
|
|
297
298
|
options:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "screwdriver-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "API server for the Screwdriver.cd service",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"prom-client": "^12.0.0",
|
|
100
100
|
"redlock": "^4.1.0",
|
|
101
101
|
"screwdriver-artifact-bookend": "^1.2.0",
|
|
102
|
-
"screwdriver-build-bookend": "^
|
|
102
|
+
"screwdriver-build-bookend": "^3.0.0",
|
|
103
103
|
"screwdriver-cache-bookend": "^2.0.2",
|
|
104
104
|
"screwdriver-command-validator": "^2.1.0",
|
|
105
105
|
"screwdriver-config-parser": "^7.6.0",
|