question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Google Cloud Storage publisher

See original GitHub issue

Preflight Checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description

It is impossible to use @electron-forge/publisher-s3 with Google Cloud Storage. Documentation: https://cloud.google.com/storage/docs/interoperability

An unhandled error has occurred inside Forge:
Invalid argument.
InvalidArgument: Invalid argument.
{
  Code: 'InvalidArgument',
  Message: 'Invalid argument.',
  Details: 'POST object expects Content-Type multipart/form-data'
}

Proposed Solution

I think it is possible to make @electron-forge/publisher-s3 compatible with Google Cloud Storage.

Alternatives Considered

GCS publisher.

Additional Information

"publishers": [
        {
          "name": "@electron-forge/publisher-s3",
          "config": {
            "bucket": "my-backet",
            "endpoint": "https://storage.googleapis.com",
            "public": false
          }
        }
      ]

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
maleptcommented, Jun 9, 2020

@mahnunchik it already uses PUT.

0reactions
maccmancommented, Feb 17, 2021

This would be cool to get merged.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Publish messages to topics | Cloud Pub/Sub - Google Cloud
A publisher application creates and sends messages to a topic. Pub/Sub offers at-least-once message delivery and best-effort ordering to existing subscribers.
Read more >
Add Google Cloud Storage publisher #1751 - electron/forge
I think it is possible to make @electron-forge/publisher-s3 compatible with Google Cloud Storage. Alternatives Considered. GCS publisher.
Read more >
How do I deploy a Google Cloud Function (2nd generation)?
I am convinced at this point that you are adding the Publisher role to the wrong service account. Please review the Cloud Storage...
Read more >
Triggering Event Processing from Cloud Storage using ...
Learn how to use Cloud Storage bucket events to trigger Cloud ... to analyze data and process images using Google's Vision API and...
Read more >
Chapter 21. Cloud Pub/Sub: managed event publishing
As you might expect, machine-to-machine communication tends to have requirements similar to the ones you have. Get Google Cloud Platform in Action. add...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found