-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
139 additions
and
92 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# These owners will be the default owners for everything in | ||
# the repo. | ||
* @alfinkel @drsm79 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This workflows will upload a Python Package using Twine when a release is created | ||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | ||
|
||
name: PyPI upload | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
make develop | ||
- name: Test & lint | ||
run: | | ||
make code-lint | ||
make test | ||
- name: Build and publish | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
twine upload dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: format | lint | test | ||
on: [push, pull_request] | ||
jobs: | ||
lint_unit_tests_coverage: | ||
name: Run code validation steps | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.7' | ||
- name: Install dependencies | ||
run: | | ||
make develop | ||
- name: Run formatter | ||
run: | | ||
make code-format | ||
- name: Run linter | ||
run: | | ||
make code-lint | ||
- name: Run unit tests with coverage | ||
run: | | ||
make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,46 @@ | ||
[metadata] | ||
name = auditree_plant | ||
name = auditree-plant | ||
version = attr: plant.__version__ | ||
description = The Auditree tool for adding external evidence | ||
author = Auditree Security and Compliance | ||
author_email = [email protected] | ||
url = https://github.com/ComplianceAsCode/auditree-plant | ||
license = IBM internal use | ||
url = https://auditree.github.io/ | ||
license = Apache License 2.0 | ||
classifiers = | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
long_description = https://github.com/ComplianceAsCode/auditree-plant | ||
Programming Language :: Python :: 3.9 | ||
License :: OSI Approved :: Apache Software License | ||
Operating System :: MacOS :: MacOS X | ||
Operating System :: POSIX :: Linux | ||
long_description_content_type = text/markdown | ||
long_description = file: README.md | ||
|
||
[options] | ||
packages = find: | ||
install_requires = | ||
compliance-tool>=0.44.2 | ||
ilcli>=0.2.3 | ||
utilitarian>=0.44.6 | ||
auditree-framework>=1.0.0 | ||
|
||
[options.packages.find] | ||
exclude = | ||
test.* | ||
test | ||
|
||
[bdist_wheel] | ||
universal = 1 | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
plant=plant.cli:run | ||
|
||
[options.extras_require] | ||
dev = | ||
pre-commit>=2.4.0 | ||
pytest>=4.4.1 | ||
pytest-cov>=2.6.1 | ||
recommonmark | ||
Sphinx>=1.7.2 | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
plant=plant.cli:run | ||
setuptools | ||
wheel | ||
twine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[github_enterprise] | ||
[github] | ||
username=that-guy | ||
token=1a2b3c4d5e6f7g8h9i0 |
Oops, something went wrong.