Skip to content

Commit

Permalink
Updated README and config.
Browse files Browse the repository at this point in the history
  • Loading branch information
hhovsepy committed May 5, 2021
1 parent 27fc3ae commit 2bb3b93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,18 @@ $ source .env/bin/activate
# install requirements
$ pip install -r requirements.txt

# update conf/emv.yaml (kiali hostname and selenium driver url)
# update conf/env.yaml (kiali hostname, token and selenium driver url)

# Tests use OpenShift API.
# Needs to be logged in once in to OpenShift before to run tests.
# When we login in to OpenShift, ".kube/config" file will be created with auth token.
# This token will be used in tests to access OpenShift
# oc - OpenShift Command Line Interface (CLI) can be downloaded from OpenShift Help -> Command line tools
$ oc login https://<openshift>:8443 --username=<username> --password=<password> --insecure-skip-tls-verify=true

# The token necessary in env.yaml can be read after login
$ oc whoami -t

# run all tests
$ pytest -s
# see the log on log/kiali_qe.log
Expand Down
2 changes: 1 addition & 1 deletion conf/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kiali:
hostname: localhost
username: admin
password: admin
auth_type: https-user-password
auth_type: oauth
token: token
swagger_address: 'https://raw.githubusercontent.com/kiali/kiali/master/swagger.json'
skip_oc: false
Expand Down

0 comments on commit 2bb3b93

Please sign in to comment.