@backstage/plugin-scaffolder-backend 1.8.0-next.2 → 1.8.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/CHANGELOG.md +62 -0
- package/alpha/package.json +1 -1
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend
|
|
2
2
|
|
|
3
|
+
## 1.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ea14eb62a2: Added a set of default Prometheus metrics around scaffolding. See below for a list of metrics and an explanation of their labels:
|
|
8
|
+
|
|
9
|
+
- `scaffolder_task_count`: Tracks successful task runs.
|
|
10
|
+
|
|
11
|
+
Labels:
|
|
12
|
+
|
|
13
|
+
- `template`: The entity ref of the scaffolded template
|
|
14
|
+
- `user`: The entity ref of the user that invoked the template run
|
|
15
|
+
- `result`: A string describing whether the task ran successfully, failed, or was skipped
|
|
16
|
+
|
|
17
|
+
- `scaffolder_task_duration`: a histogram which tracks the duration of a task run
|
|
18
|
+
|
|
19
|
+
Labels:
|
|
20
|
+
|
|
21
|
+
- `template`: The entity ref of the scaffolded template
|
|
22
|
+
- `result`: A boolean describing whether the task ran successfully
|
|
23
|
+
|
|
24
|
+
- `scaffolder_step_count`: a count that tracks each step run
|
|
25
|
+
|
|
26
|
+
Labels:
|
|
27
|
+
|
|
28
|
+
- `template`: The entity ref of the scaffolded template
|
|
29
|
+
- `step`: The name of the step that was run
|
|
30
|
+
- `result`: A string describing whether the task ran successfully, failed, or was skipped
|
|
31
|
+
|
|
32
|
+
- `scaffolder_step_duration`: a histogram which tracks the duration of each step run
|
|
33
|
+
|
|
34
|
+
Labels:
|
|
35
|
+
|
|
36
|
+
- `template`: The entity ref of the scaffolded template
|
|
37
|
+
- `step`: The name of the step that was run
|
|
38
|
+
- `result`: A string describing whether the task ran successfully, failed, or was skipped
|
|
39
|
+
|
|
40
|
+
You can find a guide for running Prometheus metrics here: https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md
|
|
41
|
+
|
|
42
|
+
- 5921b5ce49: - The GitLab Project ID for the `publish:gitlab:merge-request` action is now passed through the query parameter `project` in the `repoUrl`. It still allows people to not use the `projectid` and use the `repoUrl` with the `owner` and `repo` query parameters instead. This makes it easier to publish to repositories instead of writing the full path to the project.
|
|
43
|
+
- 5025d2e8b6: Adds the ability to pass (an optional) array of strings that will be applied to the newly scaffolded repository as topic labels.
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- 7573b65232: Internal refactor of imports to avoid circular dependencies
|
|
48
|
+
- 969a8444ea: Updated dependency `esbuild` to `^0.15.0`.
|
|
49
|
+
- 9ff4ff3745: Implement "Branch protection rules" support for "publish:github" action
|
|
50
|
+
- Updated dependencies
|
|
51
|
+
- @backstage/backend-common@0.16.0
|
|
52
|
+
- @backstage/plugin-catalog-backend@1.5.1
|
|
53
|
+
- @backstage/integration@1.4.0
|
|
54
|
+
- @backstage/backend-tasks@0.3.7
|
|
55
|
+
- @backstage/catalog-model@1.1.3
|
|
56
|
+
- @backstage/plugin-auth-node@0.2.7
|
|
57
|
+
- @backstage/types@1.0.1
|
|
58
|
+
- @backstage/backend-plugin-api@0.1.4
|
|
59
|
+
- @backstage/plugin-catalog-node@1.2.1
|
|
60
|
+
- @backstage/catalog-client@1.1.2
|
|
61
|
+
- @backstage/config@1.0.4
|
|
62
|
+
- @backstage/errors@1.1.3
|
|
63
|
+
- @backstage/plugin-scaffolder-common@1.2.2
|
|
64
|
+
|
|
3
65
|
## 1.8.0-next.2
|
|
4
66
|
|
|
5
67
|
### Minor Changes
|
package/alpha/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-backend",
|
|
3
3
|
"description": "The Backstage backend plugin that helps you create new things",
|
|
4
|
-
"version": "1.8.0
|
|
4
|
+
"version": "1.8.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
"build:assets": "node scripts/build-nunjucks.js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@backstage/backend-common": "^0.16.0
|
|
38
|
-
"@backstage/backend-plugin-api": "^0.1.4
|
|
39
|
-
"@backstage/backend-tasks": "^0.3.7
|
|
40
|
-
"@backstage/catalog-client": "^1.1.2
|
|
41
|
-
"@backstage/catalog-model": "^1.1.3
|
|
42
|
-
"@backstage/config": "^1.0.4
|
|
43
|
-
"@backstage/errors": "^1.1.3
|
|
44
|
-
"@backstage/integration": "^1.4.0
|
|
45
|
-
"@backstage/plugin-auth-node": "^0.2.7
|
|
46
|
-
"@backstage/plugin-catalog-backend": "^1.5.1
|
|
47
|
-
"@backstage/plugin-catalog-node": "^1.2.1
|
|
48
|
-
"@backstage/plugin-scaffolder-common": "^1.2.2
|
|
49
|
-
"@backstage/types": "^1.0.1
|
|
37
|
+
"@backstage/backend-common": "^0.16.0",
|
|
38
|
+
"@backstage/backend-plugin-api": "^0.1.4",
|
|
39
|
+
"@backstage/backend-tasks": "^0.3.7",
|
|
40
|
+
"@backstage/catalog-client": "^1.1.2",
|
|
41
|
+
"@backstage/catalog-model": "^1.1.3",
|
|
42
|
+
"@backstage/config": "^1.0.4",
|
|
43
|
+
"@backstage/errors": "^1.1.3",
|
|
44
|
+
"@backstage/integration": "^1.4.0",
|
|
45
|
+
"@backstage/plugin-auth-node": "^0.2.7",
|
|
46
|
+
"@backstage/plugin-catalog-backend": "^1.5.1",
|
|
47
|
+
"@backstage/plugin-catalog-node": "^1.2.1",
|
|
48
|
+
"@backstage/plugin-scaffolder-common": "^1.2.2",
|
|
49
|
+
"@backstage/types": "^1.0.1",
|
|
50
50
|
"@gitbeaker/core": "^35.6.0",
|
|
51
51
|
"@gitbeaker/node": "^35.1.0",
|
|
52
52
|
"@octokit/webhooks": "^10.0.0",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"zod": "^3.11.6"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@backstage/backend-test-utils": "^0.1.30
|
|
85
|
-
"@backstage/cli": "^0.21.0
|
|
84
|
+
"@backstage/backend-test-utils": "^0.1.30",
|
|
85
|
+
"@backstage/cli": "^0.21.0",
|
|
86
86
|
"@types/command-exists": "^1.2.0",
|
|
87
87
|
"@types/fs-extra": "^9.0.1",
|
|
88
88
|
"@types/git-url-parse": "^9.0.0",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"esbuild": "^0.15.0",
|
|
94
94
|
"jest-when": "^3.1.0",
|
|
95
95
|
"mock-fs": "^5.1.0",
|
|
96
|
-
"msw": "^0.
|
|
96
|
+
"msw": "^0.48.0",
|
|
97
97
|
"supertest": "^6.1.3",
|
|
98
98
|
"yaml": "^2.0.0"
|
|
99
99
|
},
|