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-1.4.1.tar.gz (36.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gceimgutils-1.4.1-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gceimgutils-1.4.1.tar.gz
  • Upload date:
  • Size: 36.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for gceimgutils-1.4.1.tar.gz
Algorithm Hash digest
SHA256 8baa62b86316cac44d03584fdcba7043b7c7138c82840eb1dab7c8f7e6277350
MD5 7f9fe5e7c6e4cad2110148785e55a7e2
BLAKE2b-256 b3f645a8876a659fa9dea05509b5b19585aefdeadf26c007a25eabcc54b7f211

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gceimgutils-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 40.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for gceimgutils-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5df7c516241531b360eaff6c55410c3499909dd38ad75e115ef00dbd3ab9b7c
MD5 0364a80f7276a06dca8ad8a62c4793b1
BLAKE2b-256 e6c146b4e4578bb84fcb26dc5f70654c736b21f47d93dc6aabb7cbdb7a0edb21

See more details on using hashes here.

Supported by

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