Commit Graph

7047 Commits (395e4c05bad2869be91e89009d47d43a90089b56)

Author SHA1 Message Date
Kubernetes Prow Robot 30397a3d23
Merge pull request #73219 from danielqsj/csi-api
fix shellcheck in csi-api
2019-02-08 06:53:52 -08:00
Kubernetes Prow Robot 999e2e0ce8
Merge pull request #73581 from krzysied/test_KUBE_JUNIT_REPORT_DIR_revert
KUBE_JUNIT_REPORT_DIR fixes
2019-02-08 02:39:14 -08:00
Kubernetes Prow Robot 92db54cc53
Merge pull request #73335 from oomichi/cleanup-hack
Add check-file-in-alphabetical-order for cleanup
2019-02-07 18:24:41 -08:00
Kubernetes Prow Robot 22b74dc67b
Merge pull request #73768 from mattjmcnaughton/mattjmcnaughton/support-what-subdirs-for-test
Support make test WHAT=path/to/pkg/...
2019-02-07 09:10:17 -08:00
danielqsj 81b7407557 fix shellcheck in csi-api 2019-02-07 22:08:28 +08:00
Krzysztof Siedlecki c20262eb33 adding FULL_LOG flag 2019-02-07 12:04:43 +01:00
Krzysztof Siedlecki f461759dc9 adding go-junit-report install 2019-02-07 11:48:22 +01:00
Benjamin Elder bccf95b10c add bentheelder to reviewers 2019-02-06 16:26:51 -08:00
Kubernetes Prow Robot fb4bbc72f8
Merge pull request #73257 from ds-ms/shellCheckFailures
Shellcheck failures print-workspace-status.sh, run-in-gopath.sh
2019-02-06 13:23:39 -08:00
Kubernetes Prow Robot fcb0d60d4c
Merge pull request #73716 from deads2k/delete-all
add --all-namespaces to kubectl delete
2019-02-06 01:20:15 -08:00
ds-ms b88195c575 Fixes shellcheck failures run-in-gopath.sh, test-go.sh
Signed-off-by: ds-ms <desattir@microsoft.com>

fixes shellcheck in hack/print-workspace-status.sh, /hack/test-integration.sh

Signed-off-by: ds-ms <desattir@microsoft.com>

reverting test-go.sh test-integration.sh

Signed-off-by: ds-ms <desattir@microsoft.com>

Removing export

Signed-off-by: ds-ms <desattir@microsoft.com>
2019-02-06 11:32:14 +05:30
Kubernetes Prow Robot 04cc8f67fb
Merge pull request #73740 from krzysied/prettybench_vendor
Adding prettybench and go-junit-report to the vendor
2019-02-05 17:27:13 -08:00
mattjmcnaughton 2d3ad78cf9 Support make test WHAT=path/to/pkg/...
In 99cdc069e2, we added a check for
whether the directory the user was attempting to test existed or not.
However, adding this check prevented us from running `make test
WHAT=./path/to/pkg/...`, because we believed that `./path/to/pkg/...`
wasn't a valid path to a directory.

Fix this by stripping `/...` before checking whether the directory
exists.
2019-02-05 18:57:02 -05:00
David Eads 66b1f5ba67 add --all-namespaces to 2019-02-05 13:37:14 -05:00
Krzysztof Siedlecki 4384845ec5 installing github.com/jstemmer/go-junit-report 2019-02-05 14:54:01 +01:00
Krzysztof Siedlecki 491c000eeb installing github.com/cespare/prettybench 2019-02-05 14:54:01 +01:00
Krzysztof Siedlecki 6c1a842248 adding prettybench and go-junit-report to vendor 2019-02-05 14:54:01 +01:00
Davanum Srinivas 0f2c948df7
Run verify generated files remake in a tmp directory
We already do this in hack/verify-generated-files.sh so we should do it
in verify-generated-files-remake.sh as well.

The idea is that any local changes made because of code generation
should not persist beyond the current run of the script.

Change-Id: I7af176773ae16c393dc2b46c006595243c9fa05b
2019-02-04 20:14:03 -05:00
Kubernetes Prow Robot 1b741f4c77
Merge pull request #73246 from danielqsj/code-generator
fix shellcheck in code-generator
2019-01-31 21:58:21 -08:00
Kubernetes Prow Robot 85f1205efa
Merge pull request #73464 from ipuustin/verify-generated-files-remake
verify-generated-files-remake.sh: fix issues reported by shellcheck.
2019-01-31 13:00:04 -08:00
Kubernetes Prow Robot 3b02f17b35
Merge pull request #73477 from liggitt/storage-media-type
Allow control over media-type
2019-01-30 22:03:24 -08:00
Kubernetes Prow Robot 1f7e9fd9a2
Merge pull request #73488 from andrewsykim/replace-utils-file
Replace pkg/util/file with k8s.io/utils/path
2019-01-30 17:50:16 -08:00
Daniel (Shijun) Qian 5a1b78ca0c
Merge branch 'master' into code-generator 2019-01-30 22:09:26 +08:00
Kubernetes Prow Robot dcdd114d0a
Merge pull request #73252 from danielqsj/apie
fix shellcheck in k8s.io/apiextensions-apiserver
2019-01-30 04:06:36 -08:00
Kubernetes Prow Robot 529785e355
Merge pull request #73210 from danielqsj/sample
fix shellcheck pass in sample-apiserver
2019-01-30 00:57:00 -08:00
danielqsj 0b4397f928 fix shellcheck in sample-apiserver 2019-01-30 13:57:44 +08:00
Kubernetes Prow Robot adc95eb214
Merge pull request #72804 from lubinsz/pr_local
Bug fix: ./hack/local-up-cluster.sh is not work on Arm64 platform
2019-01-29 20:49:25 -08:00
danielqsj e5b634bb68 fix shellcheck in k8s.io/apiextensions-apiserver 2019-01-30 10:35:42 +08:00
danielqsj 57014c5e18 fix shellcheck in generate groups 2019-01-30 10:33:08 +08:00
danielqsj 46d7f7ca17 fix shellcheck codegen in code-generator 2019-01-30 10:30:19 +08:00
Bin Lu 44a36ea36e Bug fix: ./hack/local-up-cluster.sh is not work on Arm64 platform
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-01-30 09:49:46 +08:00
Andrew Kim 84191eb99b replace pkg/util/file with k8s.io/utils/path 2019-01-29 15:20:13 -05:00
Jordan Liggitt 6cec098771 Allow control over media-type 2019-01-29 10:39:24 -05:00
Kubernetes Prow Robot 34425974c8
Merge pull request #73117 from war-turtle/fixShellCheck
Fixes shellcheck warning in build/common.sh
2019-01-29 06:57:28 -08:00
Ismo Puustinen 83030b67fa verify-generated-files-remake.sh: use 'read -r'.
'read' will not handle backslashes properly. 'read -r' is safer to use.
The find_genfiles() will not insert backslashes, so if there are any,
they will be from directory names.
2019-01-29 13:11:25 +02:00
Ismo Puustinen a911034e01 verify-generated-files-remake.sh: do not mix strings and arrays.
The pattern used in the file is this:

  echo "  ${X[@]:-(none)}"

What happens is that the array is expanded to separate strings, and it
is checked if that's set (for the default value assignment). However,
the correct way is to check if the concatenated array string is set to
avoid a type mismatch:

  echo "  ${X[*]:-(none)}"

Tests show that at least bash 4.4.23 behaves the same:

  X=(foo bar)
  echo "  ${X[@]:-(none)}"
  echo "  ${X[*]:-(none)}"

  X=()
  echo "  ${X[@]:-(none)}"
  echo "  ${X[*]:-(none)}"

produces:

  foo bar
  foo bar
  (none)
  (none)
2019-01-29 13:11:25 +02:00
Kubernetes Prow Robot d9fbb9af5e
Merge pull request #73251 from danielqsj/api
fix shellcheck in k8s.io/apiserver
2019-01-29 01:21:13 -08:00
Kubernetes Prow Robot b2d2432291
Merge pull request #73234 from baltendo/master
Fix golint failures
2019-01-29 01:21:03 -08:00
Kubernetes Prow Robot 6ebe874d11
Merge pull request #73212 from danielqsj/samplecontroller
fix shellcheck in sample-controller
2019-01-29 01:20:52 -08:00
Kubernetes Prow Robot bbfc3be51b
Merge pull request #73096 from yuwenma/golint1
fix golint failure for pkg/controller/deployment/util
2019-01-28 21:52:15 -08:00
Kubernetes Prow Robot 3c34d28fe0
Merge pull request #72818 from humblec/md-2
Remove explicit nil initialization and correct error string.
2019-01-28 21:52:03 -08:00
Yuwen Ma 14a1e27ddd fix golint failure for pkg/controller/deployment/util 2019-01-28 11:00:40 -08:00
Dr. Stefan Schimanski 9377448667 Move hack/import-restrictions.yaml to staging/publishing 2019-01-26 19:53:51 +01:00
war-turtle b1b7d0dbae fixing shellcheck warning in build/common.sh 2019-01-26 19:21:17 +05:30
Kubernetes Prow Robot c6d0cdf309
Merge pull request #72694 from liggitt/integration-api-versions
Use apps/v1 APIs in integration, explicitly enable all resources for print/etcd/scale tests
2019-01-26 00:35:43 -08:00
Kubernetes Prow Robot fb9e07c664
Merge pull request #70052 from neolit123/placeholder-docs
docs: stop tracking placeholder documentation
2019-01-26 00:35:33 -08:00
Kubernetes Prow Robot e1605310a5
Merge pull request #72902 from andrewsykim/72649
E2E test for node deleted in cloud provider
2019-01-25 22:31:16 -08:00
Kenichi Omichi c32d1acbb9 Add check-file-in-alphabetical-order for cleanup
Both verify-golint.sh and verify-shellcheck.sh have the same logic
which checks failure_file in alphabetical order.
In addition, we'd like to add another script which requires the
same logic. So this add a common function for cleanup.
2019-01-26 02:09:06 +00:00
Lubomir I. Ivanov 54e8d73920 docs: stop tracking placeholder documentation
The placeholder documentation introduces a couple of problems:
- it complicates the contributor-experience (forces the CI to run
N times before the contributor finds out that they need to call an .sh
script and include certain files from docs/)
- it forces CLI related pull requests for tools like kubeadm and kubectl
to require top level approval from docs/OWNERS as such PRs still need
to touch the .generated_docs file

Stop tracking the placeholder documentation by applying the
following actions:
- remove the utility set-placeholder-gen-docs()
- make verify-generated-docs.sh only generate in a temporary folder
and not match .generated_docs
- mark generate-docs.sh as an alias for update-generated-docs.sh
- remove all current placeholder files in docs folders admin, man,
user-guide, yaml
- ignore the above folders and .generated_docs in a .gitignore file
2019-01-26 01:07:10 +02:00
andrewsykim 596c6fbf03 e2e test for node deleted in cloud provider 2019-01-25 17:45:18 -05:00