-
Notifications
You must be signed in to change notification settings - Fork 45
Run the upgrade and downgrade tests in the upgrade prow job #300
Run the upgrade and downgrade tests in the upgrade prow job #300
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@houshengbo: 0 warnings.
In response to this:
Fixes #
Proposed Changes
Release Note
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: houshengbo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
c1de336
to
f075188
Compare
f075188
to
c58cd05
Compare
c58cd05
to
21170f1
Compare
21170f1
to
52fa94a
Compare
d222648
to
1141562
Compare
a38f050
to
3f9e8c3
Compare
3f9e8c3
to
9b9ebed
Compare
9b9ebed
to
e45e85f
Compare
e45e85f
to
3bbec63
Compare
2ad80e7
to
28ad711
Compare
We change the test namespace, because all the tests in serving repository are running under the namespace knative-serving. We will call the upgrade and downgrade tests directly in serving. We need to make sure all the tests are running under the same namespace.
* We do not need to delete the operator CR, becuase we will verify the services in serving. * We do not need to create the opertor CR, because we will install a previous version of the operator and create CR before reaching this test. * We need to verify the status of all the deployments, making sure they match the expected deployments in terms of number and names, and reach the ready status.
8062db3
to
8b50770
Compare
8b50770
to
5d7e524
Compare
readonly TEST_NAMESPACE="operator-tests" | ||
readonly TEST_NAMESPACE="knative-serving" | ||
|
||
OPERATOR_DIR=$(dirname $0)/.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OPERATOR_DIR=$(dirname $0)/.. | |
OPERATOR_DIR=$(cd $(dirname "$0")/.. && pwd) |
OPERATOR_DIR=$(dirname $0)/..
resolves to ./..
.
Changing it with OPERATOR_DIR=$(cd $(dirname "$0")/.. && pwd)
results in OPERATOR_DIR
being e.g. /home/ali/go/src/knative.dev/
@houshengbo any instructions to run this test locally? I couldn't on Minikube and on OpenShift |
@aliok this is good question, but it seems to me that running the tests against GKE is the ONLY way to verify the tests. |
then it lgtm as things pass on GKE. I created #317 so that I don't forget it and hopefully make things working later. /lgtm |
Fixes #310
Proposed Changes
Release Note