Commit Graph

101 Commits

Author SHA1 Message Date
Fredrik Adelöw a1f76b9e2c fix test race
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-26 13:46:04 +02:00
parmar-abhinav ce40e48bf6 Merge branch 'master' of https://github.com/backstage/backstage into master-code-6 2024-07-23 21:09:34 +05:30
Yghore 422f883e4e add: test for auto commited action
Signed-off-by: Yghore <yhgore@gmail.com>
2024-07-23 10:18:51 +02:00
Yghore 9281a5e9bd fix(filepath if targetPath is set), fix(default commitAction not retrieve repo files)
Signed-off-by: Yghore <yhgore@gmail.com>
2024-07-23 10:18:51 +02:00
Yghore 3afa2966b2 fix: remote file was always fetched even without auto commit action
Signed-off-by: Yghore <yhgore@gmail.com>
2024-07-23 10:18:51 +02:00
Yghore ed0bea5d93 fix(default action) create -> auto
Signed-off-by: Yghore <yhgore@gmail.com>
2024-07-23 10:18:51 +02:00
Yghore a6603e4f34 feat: add automatic commited action for merge-request gitlab
Signed-off-by: Yghore <yhgore@gmail.com>
2024-07-23 10:18:51 +02:00
Thomas Cardonne 3ca333b683 test(scaffolder-backend-module-gitlab): fix tests for gitlabProjectAccessTokenCreate examples
Fixes tests created in #25713

Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
2024-07-22 22:19:22 +02:00
Ben Lambert 5d873b8ccc Merge pull request #25710 from parmar-abhinav/master-code-8
Added test cases for gitlab:issue:edit examples
2024-07-22 16:25:36 +02:00
Ben Lambert 729e3bd46d Merge pull request #25711 from parmar-abhinav/master-code-9
Added test cases for gitlab:pipeline:trigger examples
2024-07-22 16:25:05 +02:00
parmar-abhinav da971316ae Added test cases for gitlab:issues:create examples
Signed-off-by: parmar-abhinav <abhinav.parmar@infosys.com>
2024-07-21 14:01:44 +05:30
parmar-abhinav ef742dc56e Added test cases for gitlab:projectAccessToken:create example
Signed-off-by: parmar-abhinav <abhinav.parmar@infosys.com>
2024-07-21 12:29:54 +05:30
parmar-abhinav 1ba4c2f6da Added test cases for gitlab:pipeline:trigger examples
Signed-off-by: parmar-abhinav <abhinav.parmar@infosys.com>
2024-07-21 10:59:49 +05:30
parmar-abhinav aab708eb27 Added test cases for gitlab:issue:edit examples
Signed-off-by: parmar-abhinav <abhinav.parmar@infosys.com>
2024-07-21 10:14:29 +05:30
ElaineDeMattosSilvaB fad1b903a8 feat: allow the oauth token to be used in the gitlab:projectVariableAction:create action
Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
2024-07-03 19:47:37 +02:00
John Redwood 2fb0eb88b7 fix: allow gitlab pipeline triggers to include variables
Signed-off-by: John Redwood <john.r.k.redwood@gmail.com>
2024-06-30 10:31:15 +10:00
César Sepúlveda 792612b46d Update gitlab.examples.ts
documentation fix.
The correct name is `protect`.
`protected` is use for variables.

Signed-off-by: César Sepúlveda <cesar.sepulveda.b@gmail.com>
2024-06-10 17:13:49 -04:00
John Redwood 4723da321d update plurals for action name
Signed-off-by: John Redwood <john.r.k.redwood@gmail.com>
2024-05-29 09:50:14 +00:00
John Redwood cf96041109 feat: add new edit issue gitlab action
Signed-off-by: John Redwood <john.r.k.redwood@gmail.com>
2024-05-28 02:06:20 +00:00
ElaineDeMattosSilvaB 5c5622290e chore: rename files in the gitlab module
Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
2024-05-27 12:06:05 +02:00
ElaineDeMattosSilvaB c22bc6d5a2 feat: add tests
Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
2024-05-27 12:04:01 +02:00
ElaineDeMattosSilvaB 31ecd983a0 feat: add logs and finally block
Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
2024-05-27 12:03:11 +02:00
ElaineDeMattosSilvaB eff06359a8 feat: add scaffolder action to trigger gitlab pipelines
Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
2024-05-24 17:05:49 +02:00
Camila Belo d229dc49ad refator(backend-common): extract path utilities to plugin api
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-05-13 13:23:45 +02:00
Zhi Liang 69c5759085 prettier
Signed-off-by: Zhi Liang <zliang@roku.com>
2024-05-06 15:38:14 +02:00
Zhi Liang e11a28631a fix up enum and typos
Signed-off-by: Zhi Liang <zliang@roku.com>
2024-05-06 15:38:14 +02:00
Zhi Liang f884b3d6ab add example for ff merge and squash
Signed-off-by: Zhi Liang <zliang@roku.com>
2024-05-06 15:38:14 +02:00
Ken Liang 7ed2f0d500 Add additional settings
Add squash options and merge method to scaffolder

Signed-off-by: Ken Liang <zliang@roku.com>
Signed-off-by: Zhi Liang <zliang@roku.com>
2024-05-06 15:38:13 +02:00
Fredrik Adelöw d5141207e8 Merge pull request #24536 from JeevaRamanathan/issue18832/projectvariable
Added examples for  gitlab:projectVariable:create scaffolder action & improve related tests
2024-05-04 23:21:15 +02:00
JeevaRamanathan 18f736ffc5 Add examples for scaffolder action & improve related tests
Signed-off-by: JeevaRamanathan <jeevaramanathan.m@infosys.com>
2024-04-27 22:22:06 +05:30
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