Commit Graph

71 Commits

Author SHA1 Message Date
parmar-abhinav ffc73ec950 Add examples for gitlab:repo:push scaffolder action & improve related tests
Signed-off-by: parmar-abhinav <abhinavparmar147@gmail.com>
2024-04-22 08:46:34 +05:30
Patrik Oldsberg 56ce1b0a81 scaffolder-backend-module-gitlap: remove use of jest-date-mock
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-04-13 16:52:58 +02:00
Patrik Oldsberg 07341c2ef0 Merge pull request #24022 from parmar-abhinav/master-feature
Add examples for gitlab:projectDeployToken:create scaffolder action & improved related tests
2024-04-13 15:57:09 +02:00
Ben Lambert d5fce5d697 Merge pull request #24021 from parmar-abhinav/master-new
Add examples for `publish:gitlab:merge-request` scaffolder action & improve related tests
2024-04-11 16:27:15 +02:00
Ben Lambert 512771d828 Merge pull request #24063 from parmar-abhinav/master-group
Add examples for gitlab:group:ensureExists scaffolder action and improved related tests
2024-04-11 16:26:52 +02:00
parmar-abhinav 52f40ea81a Add examples for gitlab:group:ensureExists scaffolder action and improve related tests
Signed-off-by: parmar-abhinav <abhinavparmar147@gmail.com>
2024-04-07 10:23:10 +05:30
parmar-abhinav d1122256a3 Add examples for gitlab:projectDeployToken:create scaffolder action & improve related tests
Signed-off-by: parmar-abhinav <abhinavparmar147@gmail.com>
2024-04-06 16:36:38 +05:30
parmar-abhinav aa514d12e0 Add examples for scaffolder action & improve related tests
Signed-off-by: parmar-abhinav <abhinavparmar147@gmail.com>
2024-04-06 15:47:02 +05:30
Billy Michael 06c25ed58f chore: fix casing of gitlab and github
Signed-off-by: Billy Michael <billy_michael@outlook.com>
2024-04-05 19:18:04 +01:00
Billy Michael 7f8a5ad528 chore: fix casing of gitlab and github
Signed-off-by: Billy Michael <billy_michael@outlook.com>
2024-04-05 19:16:31 +01:00
Billy Michael 55bffb2ab1 Apply suggestions from code review
Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
Signed-off-by: Billy Michael <billy_michael@outlook.com>
2024-04-01 16:21:48 +01:00
Billy Michael c5864b7d53 chore: improve consistency of all publish action examples
Signed-off-by: Billy Michael <billy_michael@outlook.com>
2024-04-01 14:26:51 +01:00
Thomas GRUSON 6bfb7b1b5a feat(plugin-scaffolder-backend-module-gitlab): add gitlab issue iid in the output
Signed-off-by: Thomas GRUSON <thomgrus@gmail.com>
2024-03-08 12:35:20 +01:00
bnechyporenko 4f25522da9 wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-27 13:07:35 +01:00
bnechyporenko 85a9bba49d wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-27 13:07:35 +01:00
Patrik Oldsberg bd37c85bfa scaffolder-backend-module-gitlab: clear mocks in test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-02-26 10:53:45 +01:00
blam ff3057c5af chore: tweak the action a little bit
Signed-off-by: blam <ben@blam.sh>
2024-02-13 13:26:21 +01:00
blam a9027dd983 chore: fixing typescript warnings
Signed-off-by: blam <ben@blam.sh>
2024-02-13 13:18:28 +01:00
Thomas Troschke a14c084cad changed to older Gitbeaker version
Signed-off-by: Thomas Troschke <thomas.troschke@deutschebahn.com>
2024-02-08 13:32:00 +01:00
ThomasTroschke 1cd2740402 Added some patches to the plugin-scaffolder-backend-module-gitlab Part2
Signed-off-by: thomastroschke <thomas.troschke89@googlemail.com>
2024-02-08 13:31:35 +01:00
blam ca4e779ec5 chore: make public
Signed-off-by: blam <ben@blam.sh>
2024-01-23 13:01:33 +01:00
blam 3fb814b464 chore: promote modules to stable API
Signed-off-by: blam <ben@blam.sh>
2024-01-23 12:56:56 +01:00
blam 84c80636e7 feat: gerrit, github, gitlab ported
Signed-off-by: blam <ben@blam.sh>
2024-01-19 10:03:42 +01:00
Ben Lambert d013bcb430 Merge pull request #21977 from gavlyukovskiy/gitlab-push-action
feat: Add 'gitlab:repo:push' scaffolder action
2024-01-11 09:36:37 +01:00
Arthur Gavlyukovskiy 7a39edd3f9 Remove nested try-catch
Signed-off-by: Arthur Gavlyukovskiy <agavlyukovskiy@gmail.com>
2024-01-09 12:01:29 +01:00
Elaine Mattos fd3d01c946 fix: add api-report
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-26 10:07:57 +01:00
Elaine Mattos 578a529865 fix: export enum type
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-25 19:06:01 +01:00
Elaine Mattos 728e1a0b48 fix: change test input type
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-25 18:52:47 +01:00
Elaine Mattos 2a3360a77f feat: change simple enum to zod native enums
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-25 18:32:27 +01:00
Arthur Gavlyukovskiy 7c522c5ef8 feat: Add 'gitlab:repo:push' scaffolder action
Signed-off-by: Arthur Gavlyukovskiy <agavlyukovskiy@gmail.com>
2023-12-21 21:42:39 +01:00
Elaine Mattos e61ed0901c fix: add public decorator
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-19 19:03:14 +01:00
Elaine Mattos 3aa043af06 chore: run prettier
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-19 14:32:20 +01:00
Elaine Mattos 53e646e80c Merge branch 'master' into feature/gitlab-issues
Signed-off-by: Elaine Mattos <79633988+elaine-mattos@users.noreply.github.com>
2023-12-19 14:01:06 +01:00
Elaine Mattos 604c9ddeef fix: add barrel file and fix typos
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-19 10:01:31 +01:00
Elaine De-Mattos-Silva-Bezerra 0404e98e5e feat: restore space
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-18 23:30:08 +01:00
Elaine De-Mattos-Silva-Bezerra 99b109849d feat: remove unused code
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-18 23:30:08 +01:00
Elaine De-Mattos-Silva-Bezerra 40dcabc994 feat: add epic scope tests
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-18 23:30:08 +01:00
Elaine De-Mattos-Silva-Bezerra 31904c79e4 feat: add new tests
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-18 23:30:08 +01:00
Elaine De-Mattos-Silva-Bezerra ab53440866 wip: add some more tests
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-18 23:30:08 +01:00
Elaine De-Mattos-Silva-Bezerra b24b0a2d30 feat: added initial tests
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-18 23:30:08 +01:00
Elaine De-Mattos-Silva-Bezerra 8d5867e781 wip: add features
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-18 23:30:08 +01:00
Elaine De-Mattos-Silva-Bezerra 96b8bf417c fix: fixed some issues
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-18 23:30:07 +01:00
Elaine De-Mattos-Silva-Bezerra d5ede226d6 feat: add gitlab create issues custom action
Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
2023-12-18 23:30:07 +01:00
blam 04559e3422 chore: update API reports
Signed-off-by: blam <ben@blam.sh>
2023-12-06 14:29:03 +01:00
blam 88c9a158c2 chore: added gitlab module
Signed-off-by: blam <ben@blam.sh>
2023-12-06 12:45:30 +01:00
parmar-abhinav 26ca97ebaa Add examples for gitlab:projectAccessToken:create scaffolder action
Signed-off-by: parmar-abhinav <abhi171b010@gmail.com>
2023-10-21 19:51:47 +05:30
Andreas Berger dd367967e2 Fixed a bug in gitlab:group:ensureExists where repos was always set as the root group.
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com>
2023-07-06 09:23:47 +02:00
Patrik Oldsberg 894627f7d0 Merge pull request #17750 from Andy2003/feature/support-dry-run-for-gitlab-group-ensureExists
Add support for dry run for `gitlab:group:ensureExists` action.
2023-05-31 20:08:15 +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
Andreas Berger 30e6edd7f6 Add support for dry run for gitlab:group:ensureExists action.
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com>
2023-05-11 12:43:21 +02:00