Skip to main content

A Python library designed to level-up your AutoPkg automations with a focus on CI/CD performance.

Project description

Cloud AutoPkg Runner

A Python library designed to level-up your AutoPkg automations with a focus on CI/CD performance.

License PyPI Version PyPI Downloads CodeCov

AutoPkgRunner

Description

Cloud AutoPkg Runner is a Python library designed to provide tools and utilities for managing AutoPkg recipes and workflows concurrently. It streamlines AutoPkg automation in CI/CD pipelines, offering enhanced performance and scalability.

The main goal of this project is to streamline CI/CD pipelines and similar environments where AutoPkg is run ephemerally. In these environments, a file that was downloaded previously, is usually not available on the next run. This causes unnecessary downloads of the same content over and over. The metadata cache feature stores relevent file attributes from each downloaded file so that it can construct fake files on subsequent runs. Not only does this feature reduce the amount of downloaded material, it significantly decreases runtime.

As the name implies, Cloud AutoPkg Runner is designed to make integration in cloud environments like hosted runners seamless, but you don't need to be running in the cloud. You can just as easily run a LaunchDaemon on a Mac Mini that sits in a closet. It is versatile enough that you can run as a CLI or as a Python library import, whatever fits your workflow.

:memo: Note: Example workflows will be showcased in cloud-autopkg-runner-examples but this is currently a Work in Progress.

Features

  • Concurrent Recipe Processing: Run AutoPkg recipes concurrently for faster execution.
  • Metadata Caching: Improves efficiency by caching metadata from downloads and reducing redundant subsequent downloading of the same file.
  • Robust Error Handling: Comprehensive exception handling and logging for reliable automation.
  • Flexible Configuration: Easily configure the library using command-line arguments.
  • Cloud-Friendly: Designed for seamless integration with CI/CD systems, even on hosted runners.

Installation

Installation instructions are found on the Installation page of the Wiki.

Usage

See the Wiki for usage information and more!

Contributing

Contributions are welcome! Please refer to the CONTRIBUTING.md file for guidelines.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

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

cloud_autopkg_runner-0.26.0.tar.gz (668.0 kB view details)

Uploaded Source

Built Distribution

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

cloud_autopkg_runner-0.26.0-py3-none-any.whl (74.3 kB view details)

Uploaded Python 3

File details

Details for the file cloud_autopkg_runner-0.26.0.tar.gz.

File metadata

  • Download URL: cloud_autopkg_runner-0.26.0.tar.gz
  • Upload date:
  • Size: 668.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cloud_autopkg_runner-0.26.0.tar.gz
Algorithm Hash digest
SHA256 307452e664c56983f9af0c7c7cb67dd315844c3f900198a11d5ea0d10d88efe9
MD5 c3c98c65a91c2b037e59b5064bcb3569
BLAKE2b-256 36215203e8042231a8461a09be80a01f6c4f08e11026a4fdd6ec364f3f630f39

See more details on using hashes here.

Provenance

The following attestation bundles were made for cloud_autopkg_runner-0.26.0.tar.gz:

Publisher: publish_pypi.yml on MScottBlake/cloud-autopkg-runner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cloud_autopkg_runner-0.26.0-py3-none-any.whl.

File metadata

  • Download URL: cloud_autopkg_runner-0.26.0-py3-none-any.whl
  • Upload date:
  • Size: 74.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cloud_autopkg_runner-0.26.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e4c1b33604a19b8dc34cce059953e138ef2e083da556ac062f4ed3647e44c03
MD5 dae54b406a3299012bc39b1e289b7610
BLAKE2b-256 afd000872292d5bcad49b5ac7884cf707ad782c247d59cad3a6713aeadb51dc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for cloud_autopkg_runner-0.26.0-py3-none-any.whl:

Publisher: publish_pypi.yml on MScottBlake/cloud-autopkg-runner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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