astronomer-e2e-test-0.3.4
توضیحات
Astronomer scripts for internal use
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | astronomer-e2e-test-0.3.4 |
| نام | astronomer-e2e-test |
| نسخه کتابخانه | 0.3.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Steven Miller |
| ایمیل نویسنده | sjmiller609@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/astronomer-e2e-test/ |
| مجوز | MIT |
# Astronomer end to end testing
This repository contains a set of test files
for validating Astronomer Platform functionality.
It uses the [Python Behave](https://behave.readthedocs.io/en/latest/)
framework to create literate tests and output.
CircleCI: https://circleci.com/gh/astronomer/workflows/astronomer_e2e_test
Docker Hub: https://hub.docker.com/r/astronomerinc/ap-e2e-test
## Tests
See the platform/features directory for details.
Current:
- Auth
- Login with CLI
- Login with API
- Workspaces
- List
- Create
- Delete
- Change Active
- Deployment
- List
- Create [local, celery, k8s]
- Delete
### TODO
- DAGs of various types (will require Docker engine be available)
- Known regressions that should be fixed
### Usage
These tests are used via `helm test` in the astronomer/astronomer repository.
You will need a user on the platform you intend to test.
### With Docker
#### Run
```shell
docker run --rm -it \
-e ASTRO_USER="name@domain.com" \
-e ASTRO_PASS="..." \
-e HOUSTON_URL="https://houston.my-base-domain.com/v1" \
astronomerinc/ap-e2e-test:latest
```
## Building the package
### Docker image
```sh
docker build -t astronomerinc/ap-e2e-test:latest .
```
### Python wheel
```sh
poetry build -f wheel
```
#### Run
```sh
cd platform
# Run all tests
behave
# Run specific test
behave features/000_auth.feature
```
## Releasing
First, bump the version and show th your changes:
```sh
poetry version <major|minor|patch>
git commit -m "version 9.8.7" # whatever version shows up in `git diff`
```
```sh
poetry publish --username="$PYPI_USERNAME" --password="$PYPI_PASSWORD"
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.2.6,<2.0.0 | behave |
| >=8.1.3,<9.0.0 | click |
| >=4.0.2,<5.0.0 | gitdb2 |
| >=3.1.29,<4.0.0 | gitpython |
| >=0.2.4,<0.3.0 | graphqlclient |
| >=22.0,<23.0 | packaging |
| >=4.8.0,<5.0.0 | pexpect |
| >=1.57,<2.0 | pygithub |
| >=7.2.0,<8.0.0 | pytest |
| >=6.0,<7.0 | pyyaml |
| >=2.28.1,<3.0.0 | requests |
| >=5.0.0,<6.0.0 | stripe |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9,<4.0 | Python |
نحوه نصب
نصب پکیج whl astronomer-e2e-test-0.3.4:
pip install astronomer-e2e-test-0.3.4.whl
نصب پکیج tar.gz astronomer-e2e-test-0.3.4:
pip install astronomer-e2e-test-0.3.4.tar.gz