Edgetest hub plugin
Project description
Edgetest hub plugin
Table Of Contents
Install
Installation from PyPI:
$ python -m pip install edgetest-hub
Installation from conda-forge:
$ conda install -c conda-forge edgetest-hub
Getting Started
This plugin uses hub to enable automating Pull Requests from the results of
edgetest. This is intended to be used on Jenkins, but can be
used from any machine with git
and hub
installed.
To use this plugin, add an edgetest.hub
section to your configuration:
[edgetest.hub]
git_repo_org = org-name
git_repo_name = repo-name
git_username = Jenkins # optional
git_useremail = noreply@capitalone.com # optional
updater_branch = dep-updates # optional
pr_to_branch = develop # optional
pr_reviewers = fdosani # comma seperated github ids
- ensure you have an environment variable
GITHUB_TOKEN
set. This token should have permissions to interact with the GitHub repo in question. git
is installed.hub
is installed. See here.
That's it! the plugin will automatically be called after the tests finish.
- It will check for
GITHUB_TOKEN
before continuing. - The first step configures
git
and theupdater_branch
.- will delete the
updater_branch
if it exists remotely or locally.
- will delete the
- Then commits
setup.cfg
andrequirements.txt
and submits a PR for review.
Contributing
See our developer documentation.
We welcome and appreciate your contributions! Before we can accept any contributions, we ask that you please be sure to sign the Contributor License Agreement (CLA)
This project adheres to the Open Source Code of Conduct. By participating, you are expected to honor this code.
License
Apache-2.0
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
Hashes for edgetest_hub-2021.12.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bab1f3866ea510b82053f9534e608cc47116675d55aeed139606e690cea34858 |
|
MD5 | a6994b6385f175492fb0c1ae7b024cab |
|
BLAKE2b-256 | 43a71ea95bcfc911e8e60d1c34d679c8f85969becf934b07ff94b73ba4c3db98 |