Skip to main content

Command-line tools to manage images in GCE

Project description

gceimgutils

A collection of utilities for image management in Google Compute Engine

While the functionality provided by the utilities is more or less a duplication of functionality available with the gcloud CLI tools from the google-cloud-sdk the google-cloud-sdk does not provide consumable sources for packaging in a distribution nor is there a project for upstream contributions. This project focuses on image management only.

All utilities expect the service account credentials in ~/.config/gce. The name of the credentials file is expected to match the project name followed by the .json extension.

Installation

openSUSE and SUSE Linux Enterprise

> zypper in python3-gceimgutils

PyPI

> pip install gceimgutils

Utilities

gcedeprecateimg - TBI

=======

A command line utility to deprecate images in GCE.

The image set as the replacement is removed from the list of potential images to be deprecated before any matching takes place. Therefore, the deprecation search criteria specified with --image-name-frag or --image-name-match cannot match the replacement image.

Usage

> gcedeprecateimg --project example --image-name-match v15 --replacement-name exampleimage_v16

See the man pages for more information.

man gcedeprecateimg

gcelistimg - TBI

=======

A command line utility to list the images in a project.

Usage

> gcelistimg --project example --image-name-frag foo

See the man pages for more information.

man gcelistimg

gceremoveimg

A command line utility to remove images in GCE.

Usage

> gceremoveimg --project example --image-name-match v15

See the man pages for more information.

man gceremoveimg

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

gceimgutils-0.11.0.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

gceimgutils-0.11.0-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file gceimgutils-0.11.0.tar.gz.

File metadata

  • Download URL: gceimgutils-0.11.0.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.12

File hashes

Hashes for gceimgutils-0.11.0.tar.gz
Algorithm Hash digest
SHA256 351ff9a381d7ebfbf86dee7c82ecb9d916a605f38e581c96c6e21fe9e8f79cc0
MD5 7f7bbd5efd9a3d7c5e41ac5ed8076d42
BLAKE2b-256 be959915d6e76dfbf22f75078212744ff5f619f9ba4069aebb069a709226825d

See more details on using hashes here.

File details

Details for the file gceimgutils-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: gceimgutils-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.12

File hashes

Hashes for gceimgutils-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d154eec1e55d2952763ccbbf5ccdeb1af4d6623800483ec8a1ea28d919610029
MD5 a5ae58e206e0394d1c6197f3f3789b68
BLAKE2b-256 a62fc8049b60bf645433739371b513aa4fe136ed40dd14bee7e3bb2755441bbf

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