Commit Graph

19 Commits

Author SHA1 Message Date
Peter Hedenskog 05559a1325
Bugfix: Fix how we handle paths when uploading (#4410)
* Bugfix: Fix how we handle paths when uploading

* lint
2025-01-23 08:27:58 +01:00
Peter Hedenskog 1d44f05e8f
s3: ignore dirs (#4382) 2025-01-07 09:51:41 +01:00
Peter Hedenskog b9456eef6e
Replace intel with sitespeed.io/log (#4381)
* Replace intel with sitespeed.io/log
2025-01-07 08:53:48 +01:00
Peter Hedenskog 398f14d921
Replace recursive readdir (#4377)
* Replace recursive readdir

* lint
2024-12-29 22:35:46 +01:00
Peter Hedenskog 8c3730f27f
gcs: run github action test against GCS (#4362) 2024-12-27 18:21:11 +01:00
Peter Hedenskog c15ace1be5
Add support for setting gcp endpoint for easier testing (#3785)
* Add support for setting gcp endpoint for easier testing
2024-12-27 09:32:01 +01:00
Peter Hedenskog 3741366d45
Upgrade to eslint/unicorn 54 (#4213) 2024-07-08 08:19:41 +02:00
Peter Hedenskog 8121117b82
Update linting packages to latest (#4125) 2024-04-03 08:56:55 +02:00
Peter Hedenskog 958c4a21ce
gcs fixes (#3782) 2023-03-06 13:45:31 +01:00
soulgalore 8211445c01 fix fs-extra lib 2023-02-28 15:22:45 +01:00
Peter Hedenskog 631271126f
New plugins structure and esmodule (#3769)
* New plugins structure and esmodule
2023-02-25 11:16:58 +01:00
Peter Hedenskog 1e9bea8bf0
Update to latest prettier/eslint setup (#3478) 2021-10-11 18:44:59 +02:00
Peter Hedenskog 8899f5d424
Support upload latest file for GCS. (#3258)
* Support upload latest file for GCS.

* Cache time
2021-01-18 15:53:40 +01:00
Peter Hedenskog 05175cb9bd
Send a setup message when the plugin start. (#3101) 2020-07-24 17:16:07 +02:00
Stephan Scheying a1f40f9da5
Be less strict about GCS options in respect of ADC (#3087)
Within Google Cloud, services can make use of Credentials-"Auto Discovery" (ADC). The @google-cloud/storage library supports this and tries an automatic discovery when keyFilename is unset. In an auto-discover scenario projectId is discovered as well so this should also be allowed to not be set. The --gcs.bucketname option could be kept as a (mandatory) signal to use GCS at all.

Co-authored-by: Peter Hedenskog <peter@soulgalore.com>
2020-07-18 14:42:47 +02:00
Peter Hedenskog e7ca4223ee
Post error message in the queue if upload fails. (#2774)
The message will be visible in the HTML and makse the exit code an
error. #2769
2019-11-09 22:36:53 +01:00
Sumeet Rohra e9dfe12288 Refactor: duplicate function calls in gcs (#2639)
ISSUES CLOSED: #2638
2019-09-13 18:54:19 +02:00
Markus Liljedahl 6b3209e4b3 Fixes/gcs fixes (#2438)
* Ensure only files are uploaded since the node lib does not support uloading folders directly

* Addig flag for enabeling gzip metadata encoding and disabled resumable upload since to many connecteins are opened some times.

* Running the linter to late as usual
2019-04-26 12:54:17 +02:00
Markus Liljedahl 3964a2a38b Fat fingers correction of folder placement for GCS plugin (#2368) 2019-03-07 15:56:12 +01:00