You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this point, a Job with a single pod should be running. The job will output
53
-
a decent amount of information to the logs if you'd like to watch its progress.
54
-
Eventually, the Job gets to a point where it will perform tests against the
55
-
registry aspects of the container (using podman) and will create other Jobs to
56
-
execute those operations.
57
-
58
-
## Environment Variables
59
-
60
-
The following environment variables can be specified in the Job's deployment
61
-
file to change the behavior of the tests.
62
-
63
-
| Key | Type | Required | Description |
64
-
| --- | ---- | :------: | ----------- |
65
-
| QUAY_HOST | string | y | hostname of Quay instance to test |
66
-
| QUAY_OAUTH_TOKEN | string | y | Quay Application OAuth Token. Used for authentication purposes on certain API endpoints. |
67
-
| QUAY_ORG | string | y | The organization which will contain all created resources during the tests. |
68
-
| ES_HOST | string | y | Hostname of the Elasticsearch instance used to store the test results. |
69
-
| ES_PORT | string | y | Port of the Elasticsearch instance used for storing test results. |
70
-
| BATCH_SIZE | string | n | Number of items to pop off the queue in each batch. This primarily applies to the registry push and pull tests. Do not exceed 400 until the known issue is resolved. |
71
-
| CONCURRENCY | int | n | Defaults to 4. The quantity of requests or test executions to perform in parallel. |
72
-
73
27
## Changelog
74
28
75
29
**v0.1.0**
@@ -118,11 +72,10 @@ known issues:
118
72
### Setup
119
73
120
74
The project expects the following environment variables:
121
-
- PODMAN_USERNAME: Username to log into Podman
122
-
- PODMAN_PASSWORD: Password for the above user
123
-
- PODMAN_HOST: The url of the host registry where images will be pushed
124
-
- QUAY_HOST: The url where Quay is hosted
125
-
- OAUTH_TOKEN: The Authorization Token to enable API calls(On Quay: Create an organization followed by creating an application in the organization. Generate token for the application.)
75
+
-`QUAY_USERNAME`: Username to log into Podman
76
+
-`QUAY_PASSWORD`: Password for the above user
77
+
-`QUAY_HOST`: The url where Quay is hosted
78
+
-`OAUTH_TOKEN`: The Authorization Token to enable API calls(On Quay: Create an organization followed by creating an application in the organization. Generate token for the application.)
126
79
127
80
### Building
128
81
@@ -156,13 +109,28 @@ the number of users defined in `testfiles/run.py` to run all user classes.
156
109
157
110
The tests are run via locust in distributed mode. There is a single master
158
111
which controls multiple worker pods. The number of replicas for the workers are
159
-
defined in `deploy/locust-distributed.yaml` file.
112
+
defined in `deploy/locust-distributed.yaml.example` file.
113
+
114
+
Copy the `deploy/locust-distribyted.yaml.example` file to `deploy/locust-distributed.yaml`
0 commit comments