Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
Improve documentation of the integration test config
Browse files Browse the repository at this point in the history
Document where the different robot accounts and tokens should come from
and what credentials should they have.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
  • Loading branch information
Hunor Csomortáni authored and MartinBasti committed Jan 30, 2020
1 parent 466f3f4 commit 464d5b3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions example.test.env.yaml
Expand Up @@ -5,11 +5,12 @@
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 token to be used for request going to quay_api
# 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>
# User to authenticate with Quay.
# Robot account in the *test_namespace* with *Creator* team role.
quay_user: <robot account>
# Password to authenticate with Quay.
# 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.
Expand All @@ -34,7 +35,9 @@ koji_builds:
# 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
Expand All @@ -47,8 +50,9 @@ replace_registry:
alter_package_name:
# namespace in which package names should be altered
namespace: integration-tests
# robot account credentials with access to the namespace
# 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"
Expand Down

0 comments on commit 464d5b3

Please sign in to comment.