Commit Graph

34 Commits

Author SHA1 Message Date
Lubomir I. Ivanov
9bbd321fec remove /cluster/kubeadm.sh and /test/cmd/kubeadm.sh
/cluster/kubeadm.sh is used to find the kubeadm binary.
This file is legacy and is removed.

Remove /test/cmd/kubeadm.sh. This file contains a function that is used
to build kubeadm and invoke "make test". Move the function contents
to hack/make-rules/test-cmd.cmd.

Stop sourcing /test/cmd/kubeadm.sh in /test/cmd/legacy-script.sh.

Also remove the --kubeadm-path invocation as this can be handled
with an env. variable directly.
2020-04-09 00:47:15 +03:00
Sean R. Sullivan
4ca2d5a9da Fixes kubectl apply tests to run; updates broken tests 2020-03-30 17:04:10 -07:00
David Eads
b19ad9e7a7
stop defaulting kubeconfig to http://localhost:8080 2020-03-02 18:32:16 +01:00
Julian V. Modesto
d97169f59a Clean up --dry-run values.
- Clean up --dry-run values in tests, docs, and scripts
- Fix --dry-run for auth reconcile and add a test
2020-02-15 00:43:30 -05:00
Maciej Szulik
82f97775b7
Remove kubectl run generators 2020-01-22 16:44:00 +01:00
Jordan Liggitt
4c3bf1a660 Fix record_command suppression of test errors 2019-11-07 02:26:45 -05:00
Xiangyang Chu
23ce08a7d0 Fix review comments, will squash later. 2019-07-25 14:42:23 +08:00
Xiangyang Chu
4ef227c682 Fix of review comments. Will squash later.
Including:
- Remove external usage of resource name vars
- Add commments about why we export field helpers
2019-07-18 09:12:28 +08:00
Xiangyang Chu
313044abd7 Fix shellcheck failures in test/cmd/l.*.sh 2019-07-17 17:07:22 +08:00
Jordan Liggitt
cf3e75de70 Remove internal object printing from kubectl 2019-06-28 10:54:50 -07:00
Jordan Liggitt
6ca80760fd Switch test manifests to apps/v1, remove beta workloads calls 2019-06-22 13:58:07 -07:00
Xiangyang Chu
eee32a6a88 Fix shellcheck failures in test/cmd/g.*sh 2019-05-17 15:40:14 +08:00
Ahmad Nurus S
0c39d7d380 Kubectl exec support resource/name format 2019-04-25 17:44:01 +07:00
WanLinghao
7fbd71835e 'kubectl auth can-i` command would not hint user when they try to access
some resource out of scope. For example, try get namespace inside defaut namespace.
It would be reject by api-server but `kubectl auth can-i get namespace --namespace=default`
would give a `yes`. After this patch, a warning info would be given.
For more detail, please refer issue #75950
2019-04-10 13:12:45 +08:00
Aaron Crickenberger
3b3c977fc7
Update test/cmd/legacy-script.sh
Co-Authored-By: runyontr <runyontr@gmail.com>
2019-03-02 20:41:42 -05:00
Thomas Runyon
1e44e33517 pulled kubeadm tests out of runTests to run before tests in test/cmd
Added timeout for https://github.com/kubernetes/kubeadm/issues/1430
2019-03-01 12:17:25 -05:00
Kubernetes Prow Robot
81e6407393
Merge pull request #74140 from Liujingfang1/kflag
add -k flag in cli-runtime and kubectl to process kustomization directories
2019-02-26 19:40:16 -08:00
Jingfang Liu
beacc87ebf add cmdline tests for -k 2019-02-25 16:31:03 -08:00
Thomas Runyon
d4df8879f3 call kube:test:clear_all during cleanup 2019-02-22 21:23:53 -05:00
Thomas Runyon
30c78c7e1c Feedback from review 2019-02-21 06:15:13 -05:00
Thomas Runyon
6770fa7ba5 Merge remote-tracking branch 'upstream/master' into test-cmd-what 2019-02-06 12:28:52 -05:00
Thomas Runyon
4fc5be8d5a Merge remote-tracking branch 'upstream/master' into test-cmd-what 2019-02-05 19:23:21 -05:00
David Eads
66b1f5ba67 add --all-namespaces to 2019-02-05 13:37:14 -05:00
Rasmus Jönsson
4c31e9855d Add support for waiting by label selector or on all resources
Add test for multiple deletions in kubectl watch
2019-02-02 16:26:00 +01:00
Thomas Runyon
8772e26315 Fixed variable check for new WHAT command 2019-02-01 13:53:23 -05:00
Thomas Runyon
eecd88b450 fixed merge 2019-01-26 09:06:40 -05:00
Jordan Liggitt
89b0b0b84b Clean up initializer-related comments, test data 2019-01-25 12:37:45 -05:00
Thomas Runyon
f47e404125 removed debugging code 2019-01-15 16:21:59 -05:00
Thomas Runyon
163844cb13 Added ability to execute subsets of cli tests 2019-01-15 16:20:50 -05:00
Tara Gu
492c042d9f Surface error for run_recursive_resources_tests 2019-01-07 15:59:11 -05:00
Antoine Pelisse
b6135f63aa diff: Fix overlapping filenames
The filename can overlap when multiple resources have the same name (but
obviously are of a different type). Include the name of the type in the
file name to prevent the overlap.
2018-12-11 09:19:52 -08:00
Maciej Szulik
4ced88b162
Full blown kubectl create job 2018-08-01 15:04:04 +02:00
David Eads
aa8110044d straight split of test-cmd 2018-07-05 11:38:26 -04:00
David Eads
a6f5dddc4f move test-cmd guts to separate sig-cli maintained directory 2018-07-05 11:38:26 -04:00