-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Test] Correctly patch DevSpaces sample devfiles #22187
Conversation
tests/performance/api-pod.yaml
Outdated
@@ -30,7 +30,7 @@ spec: | |||
value: REPLACE_PASSWORD | |||
- name: KUBECONFIG | |||
value: /tmp/.kube/config | |||
image: quay.io/openshift/origin-cli | |||
image: quay.io/sskoryk/performance |
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.
would you consider not a personal organization, but https://quay.io/repository/crw_pr/performance ?
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.
Ok
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.
If quay.io/sskoryk/performance is built using tests/performance/Dockerfile, then it is a useful information for readme.md file
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.
Ok, I will add it.
cat dwt.yaml | ||
|
||
yq -y ".spec.template.components[0].container.env += $patch" dw.yaml -i | ||
yq -y '.spec += {"routingClass": "che"}' dw.yaml -i |
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.
no need to do it if use DevWorkspace generator tool (issue #22149)
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.
For now it doesn't work correctly. Valerii said that it will work in DS 3.7.0. I need these changes to test DS 3.6.0.
* correctly patch sample devfiles
* correctly patch sample devfiles
* correctly patch sample devfiles
What does this PR do?
Patch sample devfiles in performance tests as we do in API tests.
What issues does this PR fix or reference?
After getting devfile yaml file from devfile-registry add next envs to dwt and dw:
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.