This repository has been archived by the owner on May 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
example.test.env.yaml
70 lines (69 loc) · 2.84 KB
/
example.test.env.yaml
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
---
# Configuration example for the integration tests.
# URL of the Quay App Registry API. No trailing '/'.
quay_app_registry_api: https://quay.io/cnr/api/v1
# URL of the Quay API. No trailing '/'.
quay_api: https://quay.io/api/v1
# OAuth aplication token with repository read/write access in the
# *test_namespace* to be used for requests going to quay_api.
quay_oauth_token: <quay application token>
# Robot account in the *test_namespace* with *Creator* team role.
quay_user: <robot account>
# Token for the robot account in the *test_namespace*.
quay_password: <robot token>
# URL of the OMPS API. No trailing '/'.
# Includes version, tests adjust to the version.
omps_url: https://omps.example.com/v2
# Koji Hub configured in the OMPS instance being tested.
kojihub: https://koji.fedoraproject.org/kojihub
# Koji root configured in the OMPS instance being tested.
kojiroot: https://kojipkgs.fedoraproject.org
# Quay namespace used for testing.
test_namespace: community-operators
# Quay package used for testing.
test_package: integration-tests
# Various builds in koji, used by the tests of the NVR endpoint.
koji_builds:
valid_zip: valid-operator-container-1.0.0-1
invalid_zip: invalid-operator-container-1.0.0-1
not_an_operator: etcd-container-1.0.0-1
nested_manifest: operator-container-with-nested-manifest-1.0.0-1
replace_registry: operator-container-with-replaceable-registries-1.0.0-1
greenwave_passed: operator-container-which-passed-greenwave-1.0.0-1
greenwave_failed: operator-container-which-failed-greenwave-1.0.0-1
# Configuration to test that an organization not configured
# to be made public is kept private.
private_org:
# Robot account in *namespace* with *Creator* team role.
user: <robot account>
# Token for the robot account in the *namespace*.
password: <robot token>
namespace: private-operators
package: integration-tests-private
# Config of the instance tested to replace registry strings before the push.
replace_registry:
- old: registry.stage.redhat.io
new: registry.redhat.io
regexp: false
# Config of the instance tested to alter package names.
alter_package_name:
# namespace in which package names should be altered
namespace: integration-tests-with-suffix
# oauth token for integration-tests-with-suffix namespace
quay_oauth_token: <quay application token>
# Robot account in *namespace* with *Creator* team role.
user: <robot account>
# Token for the robot account in the *namespace*.
password: <robot token>
# suffix used to alter package names
suffix: "-test-suffix"
# name of the package used for testing
package: int-test
csv_annotations:
test: "package.int-test-test-suffix"
# Config of the instance tested to check if Greenwave policies are met for the
# NVR
greenwave:
decision_url: https://greenwave.fedoraproject.org/api/v1.0/decision
decision_context: omps_push
product_version: cvp