A package used to execute some autopkg functions, primarily within the context of a GitHub Actions runner.
Project description
autopkg-wrapper
autopkg_wrapper
is a small package that can be used to run autopkg
within CI/CD environments such as GitHub Actions.
The easiest way to run it is by installing with pip.
pip install autopkg-wrapper
Command Line Parameters
-h, --help Show this help message and exit
--recipe-file RECIPE_FILE Path to a list of recipes to run (cannot be run with --recipes)
--recipes [RECIPES ...] Recipes to run with autopkg (cannot be run with --recipe-file)
--debug Enable debug logging when running script
--override-trust If set recipe override trust verification will be disabled. (Default: True)
--github-token GITHUB_TOKEN A token used to publish a PR to your GitHub repo if overrides require their trust to be updated
--branch-name BRANCH_NAME Branch name to be used where recipe overrides have failed their trust verification and need to be updated.
By default, this will be in the format of "fix/update_trust_information/YYYY-MM-DDTHH-MM-SS"
--create-pr If enabled, autopkg_wrapper will open a PR for updated trust information
--autopkg-overrides-repo-path AUTOPKG_OVERRIDES_REPO_PATH
The path on disk to the git repository containing the autopkg overrides directory. If none is provided, we will try to determine it for you.
Example
An example folder structure and GitHub Actions Workflow is available within the actions-demo
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file autopkg_wrapper-2024.5.2.tar.gz
.
File metadata
- Download URL: autopkg_wrapper-2024.5.2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b95b8fe43f7538186867517ee925b30ac76cfea1b09bb0bd3b1268d44acd4eb1 |
|
MD5 | e8e407751721ee62983fe82d3f00307f |
|
BLAKE2b-256 | 84f018fe6f29e3cb9408a4c048fe4396783ab0c1aafb7b54a07374d5b8ade041 |
File details
Details for the file autopkg_wrapper-2024.5.2-py3-none-any.whl
.
File metadata
- Download URL: autopkg_wrapper-2024.5.2-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3a64fd8f21e9bfcdebb96f07a6d9c6c9adc25f361ac7f877eedf4fed1b05e8e |
|
MD5 | 5aaa38408aa75394608b41878e238542 |
|
BLAKE2b-256 | 020b4371e4e237dc4e8a91283b46b0867fd7400507abc61cb1a0e40efe3c87c7 |