Skip to content

Commit

Permalink
chore(connector_ops): remove unused scripts (#36714)
Browse files Browse the repository at this point in the history
  • Loading branch information
natikgadzhi authored Apr 4, 2024
1 parent 429a9f4 commit 5121937
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 83 deletions.
8 changes: 5 additions & 3 deletions airbyte-ci/connectors/connector_ops/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ be used in CI. They will detect the list of connectors that are modified compare
of the repository, and only run checks on them. You can run them locally, too, with
`poetry run TOOL_NAME`.

- `check-test-strictness-level` verifies that connectors define strictness level as `high` in `acceptance-test-config.yml`.
- `write-review-requirements-file` writes required reviewers github action file.
- `print-mandatory-reviewers`
- `allowed-hosts-checks` verifies that connectors have `allowedHosts` filled out in their `metadata.yaml` files.
- `print-mandatory-reviewers` prints out the GitHub comment with required reviewers.

## Contributing to `connector_ops`

Expand All @@ -37,3 +35,7 @@ To run tests locally:
```bash
poetry run pytest
```

## Changelog

- 0.4.0: Removed acceptance test configuration and allowed hosts checks as they're not used.

This file was deleted.

This file was deleted.

4 changes: 1 addition & 3 deletions airbyte-ci/connectors/connector_ops/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "connector_ops"
version = "0.3.4"
version = "0.4"
description = "Packaged maintained by the connector operations team to perform CI for connectors"
authors = ["Airbyte <[email protected]>"]

Expand All @@ -29,10 +29,8 @@ pytest-mock = "^3.10.0"
freezegun = "^1.1.0"

[tool.poetry.scripts]
check-test-strictness-level = "connector_ops.acceptance_test_config_checks:check_test_strictness_level"
write-review-requirements-file = "connector_ops.required_reviewer_checks:write_review_requirements_file"
print-mandatory-reviewers = "connector_ops.required_reviewer_checks:print_mandatory_reviewers"
allowed-hosts-checks = "connector_ops.allowed_hosts_checks:check_allowed_hosts"

[tool.poe.tasks]
test = "pytest tests"
Expand Down

0 comments on commit 5121937

Please sign in to comment.