Commit Graph

83 Commits

Author SHA1 Message Date
Camila Belo 1a23421cec feat(scaffolder): add git proxy protection
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-11-29 12:26:06 +01:00
Ben Lambert d8118e51c8 Merge pull request #27367 from swnia/repopicker-gitlab-autocomplete
Add autocomplete to GitlabRepoUrlPicker
2024-11-26 11:59:47 +01:00
blam b402097db3 chore: rename type parameter as it's not a union
Signed-off-by: blam <ben@blam.sh>
2024-11-14 10:06:30 -07:00
blam 5483d43b0d chore: api-reports + revert optional key change
Signed-off-by: blam <ben@blam.sh>
2024-11-14 10:01:45 -07:00
blam d674371495 chore: adjusting the types of the checkpoint interface slightly
Signed-off-by: blam <ben@blam.sh>
2024-11-14 09:20:05 -07:00
Severin Wischmann 38682faf86 Make id mandatory and title optional
Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>
2024-11-13 15:43:02 +01:00
Severin Wischmann be6de37e4d Add autocomplete to GitlabRepoUrlPicker
Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>
2024-11-13 15:43:02 +01:00
RJ Decilos III d103a48fa3 fix: createBranch gitHelper function
Signed-off-by: RJ Decilos III <decilos_rj@yahoo.com>
2024-10-04 14:47:41 +08:00
bnechyporenko 58410465bb Adding manual scaffolder retry
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-09-24 10:18:35 +02:00
Heikki Hellgren 3ec4e6d891 feat: allow scaffolder tasks pagination in the backend
Still requires the UI to take use of this. Relates to #25856

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-09-17 10:40:28 +03:00
Johan Haals 38f3827e5a Remove deprecated UrlReaders and update usages
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-15 13:28:21 +02:00
Heikki Hellgren c544f811b8 feat: add support for status filtering in scaffolder endpoint
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-07-30 11:23:36 +03:00
blam b61503b2ba feat: fix up the branch
Signed-off-by: blam <ben@blam.sh>
2024-06-25 14:41:42 +02:00
bnechyporenko 47b7ac5ade wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-06-25 14:30:46 +02:00
bnechyporenko 38875ed1c1 Storing the serialized workspace into google cloud bucket
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-06-25 14:30:44 +02:00
Ben Lambert a2f12dc2a3 Merge pull request #25132 from benjidotsh/feat/scaffolder-bitbucket-autocomplete
feat(scaffolder): add autocompletion for Bitbucket
2024-06-25 11:00:28 +02:00
Veith M. Bürgerhoff 661b354277 Fixed validation for RepoUrlPicker
Signed-off-by: Veith M. Bürgerhoff <veith.buergerhoff@gmail.com>
2024-06-24 14:17:19 +02:00
blam 1fbd77fb56 chore: small refactor to move the handlers out into an extension point
Signed-off-by: blam <ben@blam.sh>
2024-06-19 17:09:53 +02:00
blam a82cbab3c4 chore: starting to refactor a little bit]
Signed-off-by: blam <ben@blam.sh>
2024-06-19 10:25:42 +02:00
Camila Belo eb34b87d5a refactor: stop using getVoidLogger in tests
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-05-16 09:21:54 +02:00
Patrik Oldsberg 6c8fcf16a6 Merge pull request #24544 from backstage/camilaibs/nbs10-extract-common-test-utilities
[NBS 1.0] Extract common `test-utilities` to the plugin api package
2024-05-14 10:59:14 +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
Camila Belo 57f692e66c refactor(backend-common): deprecate isomorphic git class
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-05-13 10:17:55 +02:00
bnechyporenko 21aa820c3c wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-05-06 18:23:35 +02:00
bnechyporenko e4b50ab39b Scaffolder workspace serialization
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-04-30 21:10:30 +02:00
bnechyporenko e5f26f9f2d Fixing the lost of the initial state after a task recovery.
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-03-13 09:01:56 +01:00
blam 9f03f04916 chore: duplicate some of the logging work
Signed-off-by: blam <ben@blam.sh>
2024-03-11 16:20:06 +01:00
blam 02ee4665a0 chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2024-03-11 16:20:06 +01:00
blam f02e445cf5 chore: use redactor
Signed-off-by: blam <ben@blam.sh>
2024-03-11 16:20:06 +01:00
Camila Belo 4fd8dffdd9 refactor: apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-03-05 11:18:20 +01:00
Camila Belo 0139e4c36e feat(scaffolder-backend): start migrating to use new auth services
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-03-05 11:18:18 +01:00
Bogdan Nechyporenko bbd1fe19ab Made "checkpoint" on scaffolder action context non-optional (#23291)
* Made "checkpoint" on scaffolder action context non-optional
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-29 10:41:34 +01:00
Fredrik Adelöw 3bb30d272d Merge pull request #23289 from RedlineTriad/fix-fetch-for-binary-files
fix!: avoid binary file corruption in fetch action
2024-02-27 16:51:17 +01:00
RedlineTriad 85f4723b1b fix!: avoid binary file corruption in fetch action
The `.toString()` caused all non utf-8 data to be corrupted on disk.
This caused issues when downloading binary files such as zip archives.

Fixes #22899

Signed-off-by: RedlineTriad <39059512+RedlineTriad@users.noreply.github.com>
2024-02-27 16:26:38 +01:00
bnechyporenko 2d40f79c44 wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-18 11:32:42 +01:00
bnechyporenko 562270b6dd wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-17 15:08:35 +01:00
bnechyporenko f0c50af246 Merge remote-tracking branch 'origin/master' into task-action-idempotency 2024-02-17 15:06:42 +01:00
cmoulliard f6426a32f9 WIP. Create action to publish on gitea server
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:43 +01:00
bnechyporenko f94cd8bf3e + unit test
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-11 23:14:05 +01:00
bnechyporenko 4a460034da wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-10 14:41:10 +01:00
bnechyporenko 2b900fee6d wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-10 14:34:14 +01:00
bnechyporenko a2ee37bc6d wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-08 21:20:16 +01:00
bnechyporenko 92582f17a0 wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-08 20:43:27 +01:00
bnechyporenko ca7ec6a0cb Checkpoint
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-06 20:30:27 +01:00
bnechyporenko 07c2c2e7a7 Checkpoint
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-04 21:30:32 +01:00
bnechyporenko 245617991c Checkpoint
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-04 20:43:59 +01:00
bnechyporenko acb684e1c6 Checkpoint
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-02-04 19:55:02 +01:00
blam 75dd39d084 chore: support passing through token in fetchContents and fetchFile
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2024-01-29 11:43:42 +01:00
bnechyporenko 0fbebb3788 Merge remote-tracking branch 'origin/master' into rec-tasks-version-1 2024-01-23 13:01:39 +01:00
Jason Froehlich f7cc86f9dd clean-up code, fixed issue number and added import
Signed-off-by: Jason Froehlich <jfroehlich12@gmail.com>
2024-01-23 11:32:19 +01:00