Skip to main content

Pruning of Elastic Beanstalk versions.

Project description

https://git.shore.co.il/nimrod/eb-prune/badges/master/pipeline.svg

A CLI tool to prune old versions of Elastic Beanstalk.

Installation

pip install eb-prune

Usage

To keep the last 100 versions available, simply run eb-prune 100. The tool relies on the usual AWS CLI configuration as described here, specifically on access key id, secret access key and region.

$ eb-prune --help
usage: eb-prune [-h] [-d] versions_to_keep

positional arguments:
  versions_to_keep  The number of versions to keep.

  optional arguments:
    -h, --help        show this help message and exit
    -d, --dry-run     Dry run, do not delete versions.

License

This software is licnesed under the MIT licese (see the LICENSE.txt file).

Testing

Various linters are configured with pre-commit. Those are run in CI in GitLab. To run locally, install pre-commit and run it.

Release

Update the version in VERSION, commit, tag and push. GitLab will do the rest.

Author

Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at: https://git.shore.co.il/explore.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

eb_prune-0.4.3-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file eb_prune-0.4.3-py2.py3-none-any.whl.

File metadata

  • Download URL: eb_prune-0.4.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.12

File hashes

Hashes for eb_prune-0.4.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8331444d1f2bc924418dff1eacdd2abc15c8cf7dab33b29d9fbc77eec5b7ab9f
MD5 fd9f4d4036af26d54534241a3d617d5d
BLAKE2b-256 8080adfc4af14703b86bb25d5e0282b57e3c8c151c9481dacabfdb55d56a4027

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