Skip to main content

GCS plugin for PyUpdater

Project description

PyUpdater GCS Plugin

A plugin for PyUpdater that allows for GCS storage of packages.

Before you begin

To use this plugin, you'll first need to create a GCS bucket to store your builds, and create a service account that has read/write permissions on the bucket. In most cases, you will probably want the bucket to be publicly readable, as this is where PyUpdater will download from. Download the JSON credentials file for the service account, it will be used in the setup process later.

Usage

If you haven't done so already, flollow the pyupdater setup guide to create a pyupdater repo for your project

Install this plugin via pip:

pip install pyupdater-gcs-plugin

Once installed in a pyupdater repo, configure the plugin:

pyupdater settings --plugin gcs

You will be asked for the following information:

  1. The name of the bucket to store completed builds in
  2. A bucket key. This is the path within the bucket to store builds. It can be left blank if you want to store builds in the root of the bucket.
  3. The path to the Google Application Credentials file for the service account that you downloaded earlier. Note that this plugin will respect the GOOGLE_APPLICATION_CREDENTIALS environment variable if it is set.

The plugin should be successfully configured at this point. Once a project build has been completed, processed, and signed, you can upload it by running

pyupdater upload --service gcs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyUpdater-GCS-Plugin-1.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

PyUpdater_GCS_Plugin-1.0.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file PyUpdater-GCS-Plugin-1.0.0.tar.gz.

File metadata

  • Download URL: PyUpdater-GCS-Plugin-1.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.4

File hashes

Hashes for PyUpdater-GCS-Plugin-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0ffcf928a81706e55f8fe523f514ebf4766c6bf776efee390a1922a7a1ad5452
MD5 ee5f10b6ec0f32a706d00b164780d4ac
BLAKE2b-256 500f361eef62a1eb92008fb4f8570d0c4f7e53ff8817a364c2f4b51f4b338ba1

See more details on using hashes here.

File details

Details for the file PyUpdater_GCS_Plugin-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: PyUpdater_GCS_Plugin-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.4

File hashes

Hashes for PyUpdater_GCS_Plugin-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7b9652fe592d91fec330334a01665e2ff175e7b3a06125b931338554ff0977d
MD5 e757f8b3df9855059c831ac2f94629c5
BLAKE2b-256 2e71d4ff7f8002d9d03837d4af2111f30ac93707145416ab93f9478b7304cff4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page