Skip to main content

Edgetest hub plugin

PyPI - Python Version Code style: black PyPI version Anaconda-Server Badge

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_url = github.com  # optional
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
open_issue_on_fail = True  # True or False if you want an issue to be created when tests fail
  • 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

Metadata

Release files for edgetest-hub 2023.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edgetest-hub 2023.8.0
File Size Uploaded
edgetest-hub-2023.8.0.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for edgetest-hub 2023.8.0
File Interpreter ABI Platform
edgetest_hub-2023.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.3 kB

Release files / edgetest-hub-2023.8.0.tar.gz

Download URL edgetest-hub-2023.8.0.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2765f27f52b4e812016982bef85ccd9283dbe9cecabe7869baec7cc77058357c
BLAKE2b-256 checksum
How to use checksums
12944bf4bc6fa47e4ab95d830a9ccd53bb6383c3b7b48fa4397791670c955e08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / edgetest_hub-2023.8.0-py3-none-any.whl

Download URL edgetest_hub-2023.8.0-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4da4dcf04448599175647dcb78958f885ae2cb658fab523ba5f3ab0475cca21
BLAKE2b-256 checksum
How to use checksums
a391a29f12feb97fdf5a3754fe1f115e3b3ef96988fd7232ec3fc934273337ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

2023.8.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page