-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathpyproject.toml
114 lines (106 loc) · 4.69 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[tool.black]
target_version = ['py312']
[tool.pdm.build]
package-dir = "./operator-pipeline-images"
[tool.pdm.dev-dependencies]
tox = ["tox>=4.16.0", "tox-pdm>=0.7.2"]
[project]
name = "operatorcert"
version = "1.0.0"
description = "Tools for Red Hat Operator certification pipelines"
authors = [
{ name = "haripate", email = "[email protected]" },
{ name = "Red Hat, Inc." },
]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "GPLv3" }
dependencies = [
"python-magic>=0.4.24",
"pyyaml>=5.4.1",
"requests>=2.31.0",
"yq>=2.12.2",
"giturlparse>=0.10.0",
"python-dateutil>=2.8.2",
"humanize>=3.12.0",
"stomp-py>=8.0.1",
"requests-kerberos>=0.14.0",
"PyGithub<2.0,>=1.59.0",
"GitPython>=3.1.37",
"semver>=3.0.1",
"operator-repo @ git+https://github.com/mporrato/[email protected]",
"urllib3>=2.2.2",
"openshift-client>=2.0.4",
"pydantic>=2.10.0",
"ruamel-yaml>=0.18.10",
]
[project.scripts]
add-bundle-to-fbc = "operatorcert.entrypoints.add_bundle_to_fbc:main"
add-fbc-fragments-to-index = "operatorcert.entrypoints.add_fbc_fragments_to_index:main"
apply-test-waivers = "operatorcert.entrypoints.apply_test_waivers:main"
build-fragment-images = "operatorcert.entrypoints.build_fragment_images:main"
build-scratch-catalog = "operatorcert.entrypoints.build_scratch_catalog:main"
bulk-retrigger = "operatorcert.entrypoints.bulk_retrigger:main"
bundle-dockerfile = "operatorcert.entrypoints.bundle_dockerfile:main"
catalog-browser = "operatorcert.catalog.catalog_cli:main"
check-permissions = "operatorcert.entrypoints.check_permissions:main"
create-container-image = "operatorcert.entrypoints.create_container_image:main"
create-github-gist = "operatorcert.entrypoints.create_github_gist:main"
detect-changed-operators = "operatorcert.entrypoints.detect_changed_operators:main"
download-test-results = "operatorcert.entrypoints.download_test_results:main"
fbc-onboarding = "operatorcert.entrypoints.fbc_onboarding:main"
get-cert-project-related-data = "operatorcert.entrypoints.get_cert_project_related_data:main"
get-vendor-related-data = "operatorcert.entrypoints.get_vendor_related_data:main"
github-add-comment = "operatorcert.entrypoints.github_add_comment:main"
github-labels = "operatorcert.entrypoints.github_labels:main"
github-wait-labels = "operatorcert.entrypoints.github_wait_labels:main"
hydra-checklist = "operatorcert.entrypoints.hydra_checklist:main"
index = "operatorcert.entrypoints.index:main"
integration-tests = "operatorcert.entrypoints.integration_tests:main"
invalidate-preflight-versions = "operatorcert.entrypoints.invalidate_preflight_versions:main"
link-pull-request = "operatorcert.entrypoints.link_pull_request:main"
ocp-version-info = "operatorcert.entrypoints.ocp_version_info:main"
open-pull-request = "operatorcert.entrypoints.github_pr:main"
pipelinerun-summary = "operatorcert.entrypoints.pipelinerun_summary:main"
preflight-result-filter = "operatorcert.entrypoints.preflight_result_filter:main"
publish-pyxis-image = "operatorcert.entrypoints.publish_pyxis_image:main"
request-signature = "operatorcert.entrypoints.request_signature:main"
reserve-operator-name = "operatorcert.entrypoints.reserve_operator_name:main"
rm-operator-from-index = "operatorcert.entrypoints.rm_operator_from_index:main"
set-cert-project-repository = "operatorcert.entrypoints.set_cert_project_repository:main"
set-github-status = "operatorcert.entrypoints.set_github_status:main"
static-tests = "operatorcert.entrypoints.static_tests:main"
update-cert-project-status = "operatorcert.entrypoints.update_cert_project_status:main"
upload-artifacts = "operatorcert.entrypoints.upload_artifacts:main"
upload-signature = "operatorcert.entrypoints.upload_signature:main"
validate-catalog-format = "operatorcert.entrypoints.validate_catalog_format:main"
verify-changed-dirs = "operatorcert.entrypoints.verify_changed_dirs:main"
[build-system]
requires = ["pdm-pep517>=1.0"]
build-backend = "pdm.pep517.api"
[project.optional-dependencies]
operatorcert-dev = [
"black>=23.3.0",
"pytest>=7.3.2",
"pytest-cov>=4.1.0",
"yamllint>=1.32.0",
"requests-mock>=1.11.0",
"python-dateutil>=2.8.2",
"bandit>=1.7.5",
"mypy>=1.5.1",
"types-PyYAML>=6.0.12.11",
"types-python-dateutil>=2.8.19.14",
"types-requests>=2.31.0.2",
"pylint>=2.17.5",
"ansible-core>=2.17.6",
"jmespath>=1.0.1",
"kubernetes>=31.0.0",
"ansible-lint>=24.10.0",
"colorama>=0.4.6",
"pip-audit>=2.7.3",
]
tox = ["tox>=4.16.0", "tox-pdm>=0.7.2"]
# The following two lines are required to install ansible-lint under pdm
# Ref: https://github.com/pdm-project/pdm/issues/1575
[tool.pdm.resolution.overrides]
will-not-work-on-windows-try-from-wsl-instead = "0.1.0"