Commit Graph

44 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 7e7ed8eafb
Replace p-limit (#4394) 2025-01-08 13:56:27 +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 3741366d45
Upgrade to eslint/unicorn 54 (#4213) 2024-07-08 08:19:41 +02:00
Peter Hedenskog 59c99e9bf9
s3: add missing extra options (#4176) 2024-06-05 19:05:08 +02:00
Peter Hedenskog e57a84922d
AWS s3 v3 (#4138) 2024-04-29 07:57:39 +02:00
Peter Hedenskog b00d720f89
Update to AWS SDK 2.1591.0 (#4130) 2024-04-03 11:19:51 +02:00
Peter Hedenskog 8121117b82
Update linting packages to latest (#4125) 2024-04-03 08:56:55 +02:00
Peter Hedenskog 26e9026106
Fix S3 (#3780)
* Fix S3

* get rid of fsextra
2023-03-06 13:32:18 +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 6ba9d4bc5f
s3: upload latest screenshots (#3246) 2021-01-12 08:03:18 +01:00
Peter Hedenskog 05175cb9bd
Send a setup message when the plugin start. (#3101) 2020-07-24 17:16:07 +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
Jonathan Lee 33daee89e4 Fixes #2072 by adding endpoint as an configurable argument for s3 options (#2285) 2019-02-03 20:47:15 +01:00
Peter Hedenskog 117c3afc35
New S3 plugin (#2013)
Skip the old and outdated S3 plugin and use our own instead where you can configure
almost everything for your S3 instance/upload.
2018-05-05 08:36:01 +02:00
lbod 7692c97889 Add option to S3 plugin for ACL settings on put objects, this setting currently isn't provided by the s3 plugin. (#1937)
Closes #1935
2018-03-10 14:09:14 +01:00
soulgalore 11ec23b7d6 adding missing key and id 2017-12-12 16:05:48 +01:00
Peter Hedenskog 3892b695cf
fix SigV4 uploads for s3 #1689 (#1854) 2017-12-12 15:11:41 +01:00
Tobias Lidskog ac02f7549c Bump to latest prettier and reformat. (#1805) 2017-11-19 08:47:36 +01:00
soulgalore 67e8fa03ca make sure we are finished 2017-10-30 05:24:07 +01:00
Peter Hedenskog e81be5d689
Feed plugins with messageMaker (#1760) 2017-10-29 09:22:27 +01:00
Peter Hedenskog 9d18533579
Remove hooks and use messages instead (#1758)
* remove hooks and use messages instead
* remove hooks

* fix the ifs

* send
2017-10-29 08:24:18 +01:00
Tobias Lidskog 4b3fbb52e4 Bump fs-extra.
fs-extra now comes with a promise based API!
2017-09-29 21:25:06 +02:00
Tobias Lidskog bdc0947861 Less noisy logging. 2017-09-22 18:34:03 +02:00
Tobias Lidskog 3debfec0b4 Format code using the Prettier formatter. (#1677) 2017-07-20 21:24:12 +02:00
shakey2k2 7509a5bb96 Added support for --s3.storageClass option for user to be able to specify the default storage class of the objects getting put into s3. Valid options are STANDARD | REDUCED_REDUNDANCY | STANDARD_IA (#1623) 2017-05-23 22:09:23 +02:00
Tobias Lidskog 29fbcaa2db Refactor result storage/url handling, and tweak S3 (#1552)
* Allow S3 upload even when using custom outputFolder.
* Add new s3.path option, to override the default storage path in the S3 bucket.
* Change the default storage path in the S3 bucket to no longer include the prefix 'sitespeed-result’.
* Remove broken/not useful progress load for S3 upload (was producing 100000+ log lines.
* Extract result url building into separate module that’s made available to plugins via context.resultUrls.
2017-03-28 15:12:30 +02:00
Peter Hedenskog 1e528f65fd set sitespeedio as root name of all loggers (#1545) 2017-03-23 12:21:11 +01:00
Peter Hedenskog e46a7026eb Add log channel names per plugin thank you @jpvincent (#1544) 2017-03-23 08:57:03 +01:00
Tobias Lidskog 3525cd5414 Minor cleanup and tweaks to S3 plugin. (#1537)
* Avoid hang if fs.remove fails.
* Use defaults from s3 module for maxAsyncS3, s3RetryCount etc.
* Always set whichever of region, accessKeyId and secretAccessKey that are passed as options. That allows for an arbitrary mix of options and env. variables.
* Allow configuration of  S3 (such as s3RetryDelay) even when credentials aren’t passed as options.
* Use verbose logging instead of trace (since trace prints a stack trace).
2017-03-21 16:38:57 +01:00
Tobias Lidskog 720d3b93c2 Set plugin name by default when loading it 2017-03-13 17:40:29 +01:00
soulgalore c233ab84be move settings out of creation to fix #1486 2017-03-06 07:47:28 +01:00
soulgalore 41ceb3b101 only set region when you add the cli option, default without region can work 2017-02-23 08:29:41 +01:00
Jordan Jethwa 21c252f3c8 Add S3 region option (#1469) 2017-02-23 08:13:40 +01:00
soulgalore d676977acb make s3 upload more configurable #1456 2017-02-15 06:07:23 +01:00
soulgalore c100691b59 guard against outputFolder usage and S3 2017-02-11 12:07:57 +01:00
soulgalore 624f702912 better s3 logging 2017-02-10 11:37:09 +01:00
soulgalore 758d0ccb43 code cleanup 2017-02-10 11:19:07 +01:00
Jonathan Lee d52dce4a82 Making key and secret optional parameters so a user can take advantage of CredentialProviderChain #1349 2017-02-01 06:49:45 +01:00
Peter Hedenskog 0c1eaf677e Upload result folder to S3 (#1433) 2017-01-29 13:29:39 +01:00