Commit Graph

161 Commits

Author SHA1 Message Date
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
Himanshu Mishra 35952103d6 TechDocs: AWS Publisher - add tests that fail on Windows 2021-02-18 13:38:45 +01: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
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
Himanshu Mishra ec7ba00581 techdocs: Add build timestamp to techdocs_metadata.json
Co-authored-by: Raghunandan Balachandran <soapraj@gmail.com>
2021-02-12 10:56:57 +01:00
github-actions[bot] aa49ca2284 Version Packages 2021-02-11 10:15:47 +00:00
Joel Low 7623778385 Revert "Merge pull request #3953 from ayshiff/feature/techdocs-aws-sdkv3"
This reverts commit 1c7771871e, reversing
changes made to 65d5c8e6fe.
2021-02-11 13:25:08 +08:00
Himanshu Mishra 9e6e4b89a8 techdocs: meaningful logs when readTree starts 2021-02-10 13:14:52 +01:00
Himanshu Mishra 4ed4d44cca TechDocs: Implement caching for dir preparer 2021-02-10 11:02:40 +01:00
Himanshu Mishra df130db759 TechDocs: Deduplicate git clone for cache check
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-02-10 11:02:40 +01:00
Himanshu Mishra 50fcdc48b4 TechDocs: Warn when using legacy git preparer and dir preparer in backstage.io/techdocs-ref
Context: https://github.com/backstage/backstage/issues/4409
2021-02-10 11:02:40 +01:00
Himanshu Mishra 057af3cac0 TechDocs: Implement etag based caching for git preparer
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-02-10 11:02:40 +01:00
Himanshu Mishra 97a9a7365f TechDocs: Implement etag based caching for url preparer
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-02-10 11:02:38 +01:00
Himanshu Mishra 66944ec7bf TechDocs: Preparers will take and return an etag for cache invalidation 2021-02-10 11:01:18 +01:00
Fredrik Adelöw 5a51635197 backend-common: implement UrlReader.search that does glob matching 2021-02-09 12:16:12 +01:00
github-actions[bot] 6794967d20 Version Packages 2021-02-04 13:02:30 +00:00
Debajyoti Halder 5f5cf2acfb Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-02-03 11:05:45 +05:30
Himanshu Mishra 1ca98d7df8 TechDocs: Use mockFs for tests instead of real filesystem 2021-02-02 23:50:23 +01:00
Himanshu Mishra ae893e99f9 TechDocs: Update tests to reflect requestUrl change 2021-02-02 13:52:47 +01:00
Himanshu Mishra 5d94132bf9 TechDocs: Suppress ts error of config not being used 2021-02-02 13:51:05 +01:00
Himanshu Mishra 3927e79c29 techdocs: local publisher should directly access file system 2021-02-02 13:51:05 +01:00
Himanshu Mishra 38469b66bf techdocs: fix tests by reusing the instantiated discovery 2021-02-02 13:51:05 +01:00
Parth Shandilya e44925723e TechDocs: Make requestUrl and storageUrl optional configs by using discovery APIs
closes #3715

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-02-02 13:51:04 +01:00
Debajyoti Halder 39e7f4a81e Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-02-02 17:02:33 +05:30
Himanshu Mishra 3bdd6eac07 techdocs: Fix broken tests on Windows
https://github.com/backstage/backstage/runs/1805649470\?check_suite_focus\=true
2021-02-01 13:36:46 +01:00
Himanshu Mishra 8eb862c58e Merge pull request #4017 from viavarejo/feature/techdocs-azure-storage 2021-01-31 16:03:24 +01:00
Debajyoti Halder e0fb5dfccf Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-01-29 16:34:22 +05:30
Debajyoti Halder 4dad818e01 Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-01-29 14:05:27 +05:30