Commit Graph

188 Commits

Author SHA1 Message Date
Mert Can Bilgiç 75ec0e2358 mocked openstackswift publisher and created mocks first test
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:46:15 +03:00
erdoganoksuz e36ef00fd0 router case added and hasDocsBeenGenerated fixed
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:46:12 +03:00
erdoganoksuz ed3afb80bc tests setup added
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:46:10 +03:00
erdoganoksuz a42972e8f3 remove prop
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:46:08 +03:00
erdoganoksuz 0d3f211a24 console
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:46:05 +03:00
erdoganoksuz de313a1c94 swift publisher
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:46:02 +03:00
Patrik Oldsberg a7c5e8a009 Merge pull request #4762 from backstage/rugvip/win
scaffolder-backend: fix action tests on windows
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:45:58 +03:00
Patrik Oldsberg 570d310c90 Merge pull request #4621 from nhidtran/enhancement/4423
Enhancement/4423: remove the usage of res.send() for res.json()
2021-03-01 17:54:09 +01:00
Joel Low 61299519fb Replace S3 read-store-upload loop with file streams
This no longer buffers file contents in memory and limits the maximum
number of file descriptors open concurrently.

Signed-off-by: Joel Low <joel@joelsplace.sg>
2021-02-26 15:22:17 +08:00
github-actions[bot] 4ae0467c2f Version Packages 2021-02-23 10:31:40 +01:00
NHI TRAN ac67aab5dd PR updates
PR updates

fix failing test
2021-02-22 10:23:26 -05:00
Fredrik Adelöw 6ba3a6d39f Merge pull request #4500 from backjo/feature/aws-assume-role
feat: add support for assuming role in plugins that use AWS
2021-02-22 08:32:52 +01:00
NHI TRAN e6fe13c675 upstream master 2021-02-21 13:21:37 -05:00
NHI TRAN f43192207a enhancement: 4423 switch sending back data from server to res.json() instead of res.send()
changeset
2021-02-19 17:05:14 -05:00
Himanshu Mishra 75b63e92b0 Merge pull request #4587 from backstage/orkohunter/techdocs-fix-publishers-on-windows 2021-02-19 11:29:06 +01:00
Himanshu Mishra 5851bd5d2b TechDocs: Use expect.assertions to make sure the error messages are checked 2021-02-19 11:06:27 +01:00
Himanshu Mishra 346a0feecf TechDocs: Fallback to ENTITY_DEFAULT_NAMESPACE when namespace is undefined 2021-02-19 10:58:53 +01:00
Himanshu Mishra 1520308958 TechDocs/GCS: Improve test coverage by testing other two methods 2021-02-18 23:19:33 +01:00
Himanshu Mishra b032111f37 TechDocs: Clarify differences in sourceFile Path among publishers 2021-02-18 22:32:43 +01:00
Himanshu Mishra 0084248dc0 TechDocs/Azure: mockFs inserts unexpected characters in windows path 2021-02-18 22:19:29 +01:00
Himanshu Mishra b0fc3549e6 TechDocs/Azure: Update mock library tests to work with Windows 2021-02-18 22:16:48 +01:00
Himanshu Mishra 837ce612de TechDocs/Publishers: Use path.normalize 2021-02-18 21:59:02 +01:00
Himanshu Mishra 6c36689039 TechDocs/Azure: Fix publisher to work with Windows file paths 2021-02-18 21:58:44 +01:00
Himanshu Mishra 9ff646b6a8 TechDocs/GCS: Use async/await and add more test 2021-02-18 21:33:53 +01:00
Himanshu Mishra 4b3500021c TechDocs/GCS: Fix publisher to work with Windows file path 2021-02-18 20:55:35 +01:00
Himanshu Mishra 1966cc1802 TechDocs: AWS Publisher - fix upload path to be OS agnostic 2021-02-18 20:03:47 +01:00
github-actions[bot] 4188c2ccb4 Version Packages 2021-02-18 13:23:19 +00:00
Himanshu Mishra 35952103d6 TechDocs: AWS Publisher - add tests that fail on Windows 2021-02-18 13:38:45 +01:00
Jonah Back f41ac17b29 Merge branch 'master' into feature/aws-assume-role 2021-02-17 12:39:25 -08:00
Jonah Back 01bbdeef38 address review comments, fix merge conflict 2021-02-17 12:35:47 -08:00
Himanshu Mishra 83f6e6bb29 Merge pull request #4562 from backstage/orkohunter/techdocs-run-container-with-user-permissions 2021-02-17 17:41:30 +01:00
Himanshu Mishra 6190ba75a3 Merge pull request #4539 from taras/tm/techdocs-azure-publisher-error-reporting 2021-02-17 13:59:56 +01:00
Himanshu Mishra 5795f2dc93 TechDocs: Pass user and group ID when invoking docker container
Without this, files generated by Docker container will be restricted to the root  user
2021-02-17 12:40:36 +01:00
Jonah Back 6a9e17dbdd Merge branch 'master' into feature/aws-assume-role 2021-02-16 22:59:25 -08:00
Himanshu Mishra a2518e3dbe docs(TechDocs): Update docs around AWS SDK downgrade to v2 2021-02-16 19:03:07 +01:00
Taras d1af7b4fbc Remove unnecessary import 2021-02-16 12:58:26 -05:00
Taras 02c5ce979c Throwing errors 2021-02-16 12:52:32 -05:00
Taras 4de00ead38 Report errors when creating AzureBlobPublisher and requirements are not satisfied 2021-02-16 09:00:17 -05:00
Himanshu Mishra 02109ea642 Merge pull request #4540 from backstage/orkohunter/techdocs-store-etag-in-filesystem-based-cache 2021-02-16 11:16:16 +01:00
Taras 4d483cbc10 Add tests for error reporting 2021-02-15 21:52:54 -05:00
Taras ef5a18a9f9 Remove unnecessary array of promises 2021-02-15 18:30:55 -05:00
Patrik Oldsberg 49299a1faf Merge pull request #4541 from backstage/rugvip/gh-auth
integrations: switch to using x-access-token for github git auth
2021-02-15 21:16:02 +01:00
Patrik Oldsberg fb28da2123 integrations: switch to using x-access-token for github git auth 2021-02-15 20:27:26 +01:00
Himanshu Mishra b16b096f58 TechDocs: Add etag to techdocs_metadata.json 2021-02-15 19:38:07 +01:00
Taras c2dfd1cf01 Added fail test for error reporting when accountKey is missing 2021-02-15 12:18:25 -05:00
Himanshu Mishra 67b6221a2a Merge pull request #4509 from backstage/mob/techdocs-build-timestamp-metadata 2021-02-15 16:12:58 +01:00
Himanshu Mishra 07bca64b07 techdocs: remove invalid comment 2021-02-15 15:50:43 +01:00
Himanshu Mishra 3914453850 chore: TechDocs publisher does not work well with Windows paths 2021-02-14 19:52:48 +01:00
Himanshu Mishra d27c9a86ed techdocs: avoid collision with existing /tmp dir 2021-02-12 11:34:36 +01:00
Himanshu Mishra 4ddc18c849 techdocs: cleanup mock fs before mounting 2021-02-12 11:17:32 +01:00