Skip to main content

Edgetest hub plugin

Project description

Edgetest hub plugin

python-3.7 Code style: black

Full Documentation

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_TOKENbefore continuing.
  • The first step configures git and the updater_branch.
    • will delete the updater_branch if it exists remotely or locally.
  • Then commits setup.cfg and requirements.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


Download files

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

Source Distribution

edgetest-hub-2021.12.3.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

edgetest_hub-2021.12.3-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file edgetest-hub-2021.12.3.tar.gz.

File metadata

  • Download URL: edgetest-hub-2021.12.3.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for edgetest-hub-2021.12.3.tar.gz
Algorithm Hash digest
SHA256 2a1b8bff85838d4967a558517850e467505050fd2fca2774044255b98c49b610
MD5 627fe458838dc80dffc5b6a56bb8dbe7
BLAKE2b-256 4cb3729f2653617e03711cc72d8ac377e4f2c11d680f24e22024d75469345153

See more details on using hashes here.

File details

Details for the file edgetest_hub-2021.12.3-py3-none-any.whl.

File metadata

  • Download URL: edgetest_hub-2021.12.3-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for edgetest_hub-2021.12.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bab1f3866ea510b82053f9534e608cc47116675d55aeed139606e690cea34858
MD5 a6994b6385f175492fb0c1ae7b024cab
BLAKE2b-256 43a71ea95bcfc911e8e60d1c34d679c8f85969becf934b07ff94b73ba4c3db98

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