Deprecate calling kubetest2 via kntest#13329
Deprecate calling kubetest2 via kntest#13329knative-prow[bot] merged 16 commits intoknative:mainfrom
Conversation
|
/test upgrade-tests |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #13329 +/- ##
==========================================
+ Coverage 86.23% 86.25% +0.01%
==========================================
Files 199 199
Lines 14811 14811
==========================================
+ Hits 12773 12775 +2
+ Misses 1735 1733 -2
Partials 303 303 ☔ View full report in Codecov by Sentry. |
|
@cardil What do you think? This change allows us to go from
If this looks good, I'll make the changes in knative/hack. This needs to be feature gated for a few releases |
|
you need to run |
|
I know, I will update this upstream. I wanted to test the change before submitting it upstream as it is very annoying to iterate. |
|
/close I'll pick this up once the signing work is complete. |
|
@upodroid: Closed this PR. DetailsIn response to this:
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. |
|
I need to actually complete this in May to complete the repo migration. One of the blockers is deprecating kntest |
| if [[ ! " ${_custom_flags[*]} " =~ "--machine-type=" ]]; then | ||
| _custom_flags+=("--machine-type=e2-standard-4") | ||
| fi | ||
| kubetest2 gke "${_custom_flags[@]}" --rundir-in-artifacts --up --down \ |
There was a problem hiding this comment.
@dprotaso @evankanderson @cardil @kvmware
Are we happy with this change? I'm going to apply it upstream but every repo will need to make small adjustments similar to the changes I made here to the test/*.sh files. This change works and all the e2e tests are passing. Jobs can pass most kubetest2 args and gcloud args from their specific e2e_tests script.
Tl;dr, we need to deprecate kntest and call kubetest2 directly.
There was a problem hiding this comment.
I don't have an opinion. Just glad we can move on from kntest.
For the test/*.sh changes it would be good to sed replace those and open at same time, or at the very least make sure that is only things that need changing. Would suck to find some repo's test scripts that require a lot of work to get going and are unable to test.
|
I rebased this PR. |
|
/retest |
|
I'm going to override the lint checks |
|
/override "style / suggester / shell" |
|
@upodroid: Overrode contexts on behalf of upodroid: style / suggester / shell DetailsIn response to this:
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. |
|
/lgtm |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, upodroid The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Testing this change before updating knative/hack