@backstage/plugin-scaffolder-backend-module-gitlab 0.9.4 → 0.9.5

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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # @backstage/plugin-scaffolder-backend-module-gitlab
2
2
 
3
+ ## 0.9.5
4
+
5
+ ### Patch Changes
6
+
7
+ - a84ddea: The log message now indicates that the pipeline trigger token was deleted and not pipeline itself.
8
+ - Updated dependencies
9
+ - @backstage/integration@1.18.0
10
+ - @backstage/backend-plugin-api@1.4.3
11
+ - @backstage/plugin-scaffolder-node@0.11.1
12
+
13
+ ## 0.9.5-next.0
14
+
15
+ ### Patch Changes
16
+
17
+ - a84ddea: The log message now indicates that the pipeline trigger token was deleted and not pipeline itself.
18
+ - Updated dependencies
19
+ - @backstage/integration@1.18.0-next.0
20
+ - @backstage/plugin-scaffolder-node@0.11.1-next.0
21
+ - @backstage/backend-plugin-api@1.4.3-next.0
22
+
3
23
  ## 0.9.4
4
24
 
5
25
  ### Patch Changes
@@ -103,11 +103,14 @@ const createTriggerGitlabPipelineAction = (options) => {
103
103
  }
104
104
  });
105
105
  ctx.logger.info(
106
- `Deleted pipeline with token id ${pipelineTriggerId}.`
106
+ // in version 18.0 of gitlab this was also deleting the pipeline
107
+ // this is a problem in gitlab which is fixed in version 18.1
108
+ // https://gitlab.com/gitlab-org/gitlab/-/issues/546669
109
+ `Deleted pipeline trigger token with token id: ${pipelineTriggerId}.`
107
110
  );
108
111
  } catch (error) {
109
112
  ctx.logger.error(
110
- `Failed to delete pipeline with token id ${pipelineTriggerId}.`
113
+ `Failed to delete pipeline trigger token with token id: ${pipelineTriggerId}.`
111
114
  );
112
115
  }
113
116
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gitlabPipelineTrigger.cjs.js","sources":["../../src/actions/gitlabPipelineTrigger.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { InputError } from '@backstage/errors';\nimport { ScmIntegrationRegistry } from '@backstage/integration';\nimport { createTemplateAction } from '@backstage/plugin-scaffolder-node';\nimport {\n ExpandedPipelineSchema,\n PipelineTriggerTokenSchema,\n} from '@gitbeaker/rest';\nimport { getClient, parseRepoUrl } from '../util';\nimport { examples } from './gitlabPipelineTrigger.examples';\nimport { getErrorMessage } from './helpers';\n\n/**\n * Creates a `gitlab:pipeline:trigger` Scaffolder action.\n *\n * @param options - Templating configuration.\n * @public\n */\nexport const createTriggerGitlabPipelineAction = (options: {\n integrations: ScmIntegrationRegistry;\n}) => {\n const { integrations } = options;\n return createTemplateAction({\n id: 'gitlab:pipeline:trigger',\n description: 'Triggers a GitLab Pipeline.',\n examples,\n schema: {\n input: {\n repoUrl: z =>\n z.string({\n description: `Accepts the format 'gitlab.com?repo=project_name&owner=group_name' where 'project_name' is the repository name and 'group_name' is a group or username`,\n }),\n token: z =>\n z\n .string({\n description: 'The token to use for authorization to GitLab',\n })\n .optional(),\n projectId: z =>\n z.number({\n description: 'Project Id',\n }),\n tokenDescription: z =>\n z.string({\n description: 'Pipeline token description',\n }),\n branch: z =>\n z.string({\n description: 'Project branch',\n }),\n variables: z =>\n z\n .record(z.string(), z.string(), {\n description:\n 'A object/record of key-valued strings containing the pipeline variables.',\n })\n .optional(),\n },\n output: {\n pipelineUrl: z =>\n z.string({\n description: 'Pipeline Url',\n }),\n },\n },\n async handler(ctx) {\n let pipelineTriggerToken: string | undefined = undefined;\n let pipelineTriggerId: number | undefined = undefined;\n\n const { repoUrl, projectId, tokenDescription, token, branch, variables } =\n ctx.input;\n\n const { host } = parseRepoUrl(repoUrl, integrations);\n const api = getClient({ host, integrations, token });\n\n try {\n ({ pipelineTriggerToken, pipelineTriggerId } = await ctx.checkpoint({\n key: `create.pipeline.token.${projectId}`,\n fn: async () => {\n const res = (await api.PipelineTriggerTokens.create(\n projectId,\n tokenDescription,\n )) as PipelineTriggerTokenSchema;\n return {\n pipelineTriggerToken: res.token,\n pipelineTriggerId: res.id,\n };\n },\n }));\n\n if (!pipelineTriggerToken) {\n ctx.logger.error(\n `Failed to create pipeline token for project ${projectId}.`,\n );\n return;\n }\n ctx.logger.info(\n `Pipeline token id ${pipelineTriggerId} created for project ${projectId}.`,\n );\n\n // Use the pipeline token to trigger the pipeline in the project\n const pipelineTriggerResponse =\n (await api.PipelineTriggerTokens.trigger(\n projectId,\n branch,\n pipelineTriggerToken,\n { variables },\n )) as ExpandedPipelineSchema;\n\n if (!pipelineTriggerResponse.id) {\n ctx.logger.error(\n `Failed to trigger pipeline for project ${projectId}.`,\n );\n return;\n }\n\n ctx.logger.info(\n `Pipeline id ${pipelineTriggerResponse.id} for project ${projectId} triggered.`,\n );\n\n ctx.output('pipelineUrl', pipelineTriggerResponse.web_url);\n } catch (error: any) {\n // Handling other errors\n throw new InputError(\n `Failed to trigger Pipeline: ${getErrorMessage(error)}`,\n );\n } finally {\n // Delete the pipeline token if it was created\n if (pipelineTriggerId) {\n try {\n await ctx.checkpoint({\n key: `create.delete.token.${projectId}`,\n fn: async () => {\n if (pipelineTriggerId) {\n // to make the current version of TypeScript happy\n await api.PipelineTriggerTokens.remove(\n projectId,\n pipelineTriggerId,\n );\n }\n },\n });\n ctx.logger.info(\n `Deleted pipeline with token id ${pipelineTriggerId}.`,\n );\n } catch (error: any) {\n ctx.logger.error(\n `Failed to delete pipeline with token id ${pipelineTriggerId}.`,\n );\n }\n }\n }\n },\n });\n};\n"],"names":["createTemplateAction","examples","parseRepoUrl","getClient","InputError","getErrorMessage"],"mappings":";;;;;;;;AAiCO,MAAM,i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QACF;AAEA,QAAA,GAAA,CAAI,MAAA,CAAO,IAAA;AAAA,UACT,CAAA,YAAA,EAAe,uBAAA,CAAwB,EAAE,CAAA,aAAA,EAAgB,SAAS,CAAA,WAAA;AAAA,SACpE;AAEA,QAAA,GAAA,CAAI,MAAA,CAAO,aAAA,EAAe,uBAAA,CAAwB,OAAO,CAAA;AAAA,MAC3D,SAAS,KAAA,EAAY;AAEnB,QAAA,MAAM,IAAIC,iBAAA;AAAA,UACR,CAAA,4BAAA,EAA+BC,uBAAA,CAAgB,KAAK,CAAC,CAAA;AAAA,SACvD;AAAA,MACF,CAAA,SAAE;AAEA,QAAA,IAAI,iBAAA,EAAmB;AACrB,UAAA,IAAI;AACF,YAAA,MAAM,IAAI,UAAA,CAAW;AAAA,cACnB,GAAA,EAAK,uBAAuB,SAAS,CAAA,CAAA;AAAA,cACrC,IAAI,YAAY;AACd,gBAAA,IAAI,iBAAA,EAAmB;AAErB,kBAAA,MAAM,IAAI,qBAAA,CAAsB,MAAA;AAAA,oBAC9B,SAAA;AAAA,oBACA;AAAA,mBACF;AAAA,gBACF;AAAA,cACF;AAAA,aACD,CAAA;AACD,YAAA,GAAA,CAAI,MAAA,CAAO,IAAA;AAAA,cACT,kCAAkC,iBAAiB,CAAA,CAAA;AAAA,aACrD;AAAA,UACF,SAAS,KAAA,EAAY;AACnB,YAAA,GAAA,CAAI,MAAA,CAAO,KAAA;AAAA,cACT,2CAA2C,iBAAiB,CAAA,CAAA;AAAA,aAC9D;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,GACD,CAAA;AACH;;;;"}
1
+ {"version":3,"file":"gitlabPipelineTrigger.cjs.js","sources":["../../src/actions/gitlabPipelineTrigger.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { InputError } from '@backstage/errors';\nimport { ScmIntegrationRegistry } from '@backstage/integration';\nimport { createTemplateAction } from '@backstage/plugin-scaffolder-node';\nimport {\n ExpandedPipelineSchema,\n PipelineTriggerTokenSchema,\n} from '@gitbeaker/rest';\nimport { getClient, parseRepoUrl } from '../util';\nimport { examples } from './gitlabPipelineTrigger.examples';\nimport { getErrorMessage } from './helpers';\n\n/**\n * Creates a `gitlab:pipeline:trigger` Scaffolder action.\n *\n * @param options - Templating configuration.\n * @public\n */\nexport const createTriggerGitlabPipelineAction = (options: {\n integrations: ScmIntegrationRegistry;\n}) => {\n const { integrations } = options;\n return createTemplateAction({\n id: 'gitlab:pipeline:trigger',\n description: 'Triggers a GitLab Pipeline.',\n examples,\n schema: {\n input: {\n repoUrl: z =>\n z.string({\n description: `Accepts the format 'gitlab.com?repo=project_name&owner=group_name' where 'project_name' is the repository name and 'group_name' is a group or username`,\n }),\n token: z =>\n z\n .string({\n description: 'The token to use for authorization to GitLab',\n })\n .optional(),\n projectId: z =>\n z.number({\n description: 'Project Id',\n }),\n tokenDescription: z =>\n z.string({\n description: 'Pipeline token description',\n }),\n branch: z =>\n z.string({\n description: 'Project branch',\n }),\n variables: z =>\n z\n .record(z.string(), z.string(), {\n description:\n 'A object/record of key-valued strings containing the pipeline variables.',\n })\n .optional(),\n },\n output: {\n pipelineUrl: z =>\n z.string({\n description: 'Pipeline Url',\n }),\n },\n },\n async handler(ctx) {\n let pipelineTriggerToken: string | undefined = undefined;\n let pipelineTriggerId: number | undefined = undefined;\n\n const { repoUrl, projectId, tokenDescription, token, branch, variables } =\n ctx.input;\n\n const { host } = parseRepoUrl(repoUrl, integrations);\n const api = getClient({ host, integrations, token });\n\n try {\n ({ pipelineTriggerToken, pipelineTriggerId } = await ctx.checkpoint({\n key: `create.pipeline.token.${projectId}`,\n fn: async () => {\n const res = (await api.PipelineTriggerTokens.create(\n projectId,\n tokenDescription,\n )) as PipelineTriggerTokenSchema;\n return {\n pipelineTriggerToken: res.token,\n pipelineTriggerId: res.id,\n };\n },\n }));\n\n if (!pipelineTriggerToken) {\n ctx.logger.error(\n `Failed to create pipeline token for project ${projectId}.`,\n );\n return;\n }\n ctx.logger.info(\n `Pipeline token id ${pipelineTriggerId} created for project ${projectId}.`,\n );\n\n // Use the pipeline token to trigger the pipeline in the project\n const pipelineTriggerResponse =\n (await api.PipelineTriggerTokens.trigger(\n projectId,\n branch,\n pipelineTriggerToken,\n { variables },\n )) as ExpandedPipelineSchema;\n\n if (!pipelineTriggerResponse.id) {\n ctx.logger.error(\n `Failed to trigger pipeline for project ${projectId}.`,\n );\n return;\n }\n\n ctx.logger.info(\n `Pipeline id ${pipelineTriggerResponse.id} for project ${projectId} triggered.`,\n );\n\n ctx.output('pipelineUrl', pipelineTriggerResponse.web_url);\n } catch (error: any) {\n // Handling other errors\n throw new InputError(\n `Failed to trigger Pipeline: ${getErrorMessage(error)}`,\n );\n } finally {\n // Delete the pipeline token if it was created\n if (pipelineTriggerId) {\n try {\n await ctx.checkpoint({\n key: `create.delete.token.${projectId}`,\n fn: async () => {\n if (pipelineTriggerId) {\n // to make the current version of TypeScript happy\n await api.PipelineTriggerTokens.remove(\n projectId,\n pipelineTriggerId,\n );\n }\n },\n });\n ctx.logger.info(\n // in version 18.0 of gitlab this was also deleting the pipeline\n // this is a problem in gitlab which is fixed in version 18.1\n // https://gitlab.com/gitlab-org/gitlab/-/issues/546669\n `Deleted pipeline trigger token with token id: ${pipelineTriggerId}.`,\n );\n } catch (error: any) {\n ctx.logger.error(\n `Failed to delete pipeline trigger token with token id: ${pipelineTriggerId}.`,\n );\n }\n }\n }\n },\n });\n};\n"],"names":["createTemplateAction","examples","parseRepoUrl","getClient","InputError","getErrorMessage"],"mappings":";;;;;;;;AAiCO,MAAM,i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QACF;AAEA,QAAA,GAAA,CAAI,MAAA,CAAO,IAAA;AAAA,UACT,CAAA,YAAA,EAAe,uBAAA,CAAwB,EAAE,CAAA,aAAA,EAAgB,SAAS,CAAA,WAAA;AAAA,SACpE;AAEA,QAAA,GAAA,CAAI,MAAA,CAAO,aAAA,EAAe,uBAAA,CAAwB,OAAO,CAAA;AAAA,MAC3D,SAAS,KAAA,EAAY;AAEnB,QAAA,MAAM,IAAIC,iBAAA;AAAA,UACR,CAAA,4BAAA,EAA+BC,uBAAA,CAAgB,KAAK,CAAC,CAAA;AAAA,SACvD;AAAA,MACF,CAAA,SAAE;AAEA,QAAA,IAAI,iBAAA,EAAmB;AACrB,UAAA,IAAI;AACF,YAAA,MAAM,IAAI,UAAA,CAAW;AAAA,cACnB,GAAA,EAAK,uBAAuB,SAAS,CAAA,CAAA;AAAA,cACrC,IAAI,YAAY;AACd,gBAAA,IAAI,iBAAA,EAAmB;AAErB,kBAAA,MAAM,IAAI,qBAAA,CAAsB,MAAA;AAAA,oBAC9B,SAAA;AAAA,oBACA;AAAA,mBACF;AAAA,gBACF;AAAA,cACF;AAAA,aACD,CAAA;AACD,YAAA,GAAA,CAAI,MAAA,CAAO,IAAA;AAAA;AAAA;AAAA;AAAA,cAIT,iDAAiD,iBAAiB,CAAA,CAAA;AAAA,aACpE;AAAA,UACF,SAAS,KAAA,EAAY;AACnB,YAAA,GAAA,CAAI,MAAA,CAAO,KAAA;AAAA,cACT,0DAA0D,iBAAiB,CAAA,CAAA;AAAA,aAC7E;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,GACD,CAAA;AACH;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend-module-gitlab",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "backstage": {
5
5
  "role": "backend-plugin-module",
6
6
  "pluginId": "scaffolder",
@@ -53,11 +53,11 @@
53
53
  "test": "backstage-cli package test"
54
54
  },
55
55
  "dependencies": {
56
- "@backstage/backend-plugin-api": "^1.4.2",
56
+ "@backstage/backend-plugin-api": "^1.4.3",
57
57
  "@backstage/config": "^1.3.3",
58
58
  "@backstage/errors": "^1.2.7",
59
- "@backstage/integration": "^1.17.1",
60
- "@backstage/plugin-scaffolder-node": "^0.11.0",
59
+ "@backstage/integration": "^1.18.0",
60
+ "@backstage/plugin-scaffolder-node": "^0.11.1",
61
61
  "@gitbeaker/requester-utils": "^41.2.0",
62
62
  "@gitbeaker/rest": "^41.2.0",
63
63
  "luxon": "^3.0.0",
@@ -66,8 +66,8 @@
66
66
  "zod": "^3.22.4"
67
67
  },
68
68
  "devDependencies": {
69
- "@backstage/backend-test-utils": "^1.8.0",
70
- "@backstage/cli": "^0.34.0",
71
- "@backstage/plugin-scaffolder-node-test-utils": "^0.3.2"
69
+ "@backstage/backend-test-utils": "^1.9.0",
70
+ "@backstage/cli": "^0.34.2",
71
+ "@backstage/plugin-scaffolder-node-test-utils": "^0.3.3"
72
72
  }
73
73
  }