Commit Graph

43 Commits

Author SHA1 Message Date
Fredrik Adelöw 105f7129c3 Merge pull request #17761 from backstage/freben/gitlab-readme
Update code in readme a bit
2023-05-17 00:30:27 +02:00
github-actions[bot] 73e7820731 Version Packages 2023-05-16 09:38:40 +00:00
Fredrik Adelöw f5a66052f0 Update code in readme a bit
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-05-11 18:14:38 +02:00
Andreas Berger f1496d4ab6 Fix input schema validation issue for gitlab actions.
Using zod intersections results in an invalid JsonSchema.
The issue has been reported at https://github.com/StefanTerdell/zod-to-json-schema/issues/64.

The following actions has been fixed:

- gitlab:group:ensureExists
- gitlab:projectAccessToken:create
- gitlab:projectDeployToken:create
- gitlab:projectVariable:create

resolves #17721

Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com>
2023-05-11 12:47:44 +02:00
github-actions[bot] 4f3076700a Version Packages (next) 2023-05-09 09:49:35 +00:00
Patrik Oldsberg 42d2d8c02d Merge pull request #16990 from Andy2003/feature/scaffolder-gitlab-ensure-group-exists-action
add new scaffolder action to ensure a gitlab group exists
2023-05-03 10:59:04 +02:00
github-actions[bot] 8b05da0912 Version Packages (next) 2023-05-02 13:41:12 +00:00
github-actions[bot] e04bb20bdc Version Packages (next) 2023-04-25 15:53:19 +00:00
github-actions[bot] 6141c31839 Version Packages 2023-04-18 12:36:06 +00:00
github-actions[bot] ab75a16da7 Version Packages (next) 2023-04-11 14:21:21 +00:00
Andreas Berger dff74223cf Adjustments ts after review
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com>
2023-04-05 14:41:22 +02:00
github-actions[bot] 9a5a1c4ba2 Version Packages (next) 2023-04-04 13:14:06 +00:00
github-actions[bot] e32dc5e79d Version Packages (next) 2023-03-28 16:01:25 +00:00
Andreas Berger a6cb0629bd Simplify generics after #16910 was merged
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com>
2023-03-28 15:52:57 +02:00
Andreas Berger 439e2986be add new scaffolder action to ensure a gitlab group exists
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com>
2023-03-28 15:42:52 +02:00
blam f7e8b8ba83 chore: simplify the types a little bit
Signed-off-by: blam <ben@blam.sh>
2023-03-28 14:52:46 +02:00
Andreas Berger 0da07e505b Distinguish between undefined and unknown action outputs
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com>
2023-03-28 13:30:22 +02:00
Andreas Berger a7eb36c6e3 Improve type-check for scaffolder output parameters
If an action uses zod to define the actions output schema, it is now ensured that `ctx.output` is using only the defined properties

Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com>
2023-03-28 13:29:01 +02:00
github-actions[bot] 5af2c4f412 Version Packages (next) 2023-03-21 13:38:30 +00:00
Dominik Pfaffenbauer 8f8d0641ce change readme
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-03-20 19:42:55 +01:00
Dominik Pfaffenbauer 4442b97fb5 rename actions
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-03-20 16:50:55 +01:00
Dominik Pfaffenbauer 242e84f20d rename gitlab scaffolder actions
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-03-20 16:50:55 +01:00
Dominik Pfaffenbauer d1debd0e99 fix schema definition for projectid and deploy token parsing
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-03-20 16:50:55 +01:00
Dominik Pfaffenbauer 2b05e68f13 add config
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-03-20 16:50:55 +01:00
Dominik Pfaffenbauer a968e7cb1d remove unneeded deps
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-03-20 16:50:24 +01:00
Dominik Pfaffenbauer d01f6c878d prettier
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-03-20 16:50:24 +01:00
Dominik Pfaffenbauer d8342311d1 update api-report
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-03-20 16:50:24 +01:00
Dominik bbe0c1f448 Update plugins/scaffolder-backend-module-gitlab/src/actions/createProjectVariable.ts
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:24 +01:00
Dominik d4df2927c8 Update plugins/scaffolder-backend-module-gitlab/src/actions/createProjectDeployToken.ts
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:23 +01:00
Dominik 6b36e7c895 Update plugins/scaffolder-backend-module-gitlab/src/actions/createProjectAccessToken.ts
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:23 +01:00
Dominik 5b68d7d361 Update plugins/scaffolder-backend-module-gitlab/src/actions/createProjectDeployToken.test.ts
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:23 +01:00
Dominik d8eb1f0707 Update plugins/scaffolder-backend-module-gitlab/src/actions/createProjectDeployToken.test.ts
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:23 +01:00
Dominik 37cfd93473 Update plugins/scaffolder-backend-module-gitlab/src/actions/createProjectVariable.ts
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:23 +01:00
Dominik 36e9f2faad Update plugins/scaffolder-backend-module-gitlab/src/actions/createProjectVariable.ts
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:22 +01:00
Dominik 758a8fc78e Update plugins/scaffolder-backend-module-gitlab/src/actions/createProjectDeployToken.ts
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:22 +01:00
Dominik 1471eba5e0 Update plugins/scaffolder-backend-module-gitlab/src/actions/createProjectDeployToken.ts
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:22 +01:00
Dominik 4a91ff8477 Update plugins/scaffolder-backend-module-gitlab/src/actions/createProjectAccessToken.ts
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:22 +01:00
Dominik 7f627ded9b Update plugins/scaffolder-backend-module-gitlab/src/actions/createProjectAccessToken.ts
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:22 +01:00
Dominik Pfaffenbauer 6068251a8e update gitlab scaffolder
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-03-20 16:50:21 +01:00
Dominik 7153033b86 Update plugins/scaffolder-backend-module-gitlab/package.json
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:21 +01:00
Dominik 3ea0370490 Update plugins/scaffolder-backend-module-gitlab/package.json
Co-authored-by: Andreas Berger <Andy2003@users.noreply.github.com>
Signed-off-by: Dominik <dominik@pfaffenbauer.at>
2023-03-20 16:50:21 +01:00
Dominik Pfaffenbauer a387dd6d89 Add API Report
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-03-20 16:50:21 +01:00
Dominik Pfaffenbauer 4c511b4c3f Add Gitlab Backend Scaffolder Plugin
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-03-20 16:50:15 +01:00