Commit Graph

1231 Commits

Author SHA1 Message Date
Patrick Ohly cc564f929a verify-subtree.sh: relax check and ignore old content
If for whatever reasons a repo already had a `release-tools` directory
before doing a clean import of it with `git subtree`, the check used
to fail because it found those old commits.

This can be fixed by telling `git log` to stop when the directory
disappears from the repo. There has to be a commit with removes the
old content, because otherwise `git subtree add` doesn't work.

Fixes: https://github.com/kubernetes-csi/external-resizer/issues/21
2019-03-06 17:23:07 +01:00
Kubernetes Prow Robot f59b58d164 Merge pull request #92 from andrewsykim/conn-lib
external-snapshotter should use CSI connection lib
2019-02-14 08:59:44 -08:00
Andrew Kim 0da03b3210 external-snapshotter should use CSI connection lib 2019-02-13 22:42:05 -05:00
Andrew Kim 7536845501 update vendor to use csi-lib-utils v0.3.0 2019-02-13 22:37:46 -05:00
Kubernetes Prow Robot 9a34e4ac15 Merge pull request #86 from pohly/release-tools
release tools
2019-02-07 08:07:22 -08:00
Patrick Ohly 4d695978d8 Merge commit '33d58fdc29b90120bf16e536042379251f8631f2' into release-tools 2019-01-25 19:07:33 +01:00
Kubernetes Prow Robot 33d58fdc29 Merge pull request #5 from pohly/test-enhancements
test enhancements
2019-01-25 09:40:59 -08:00
Kubernetes Prow Robot be8a4400a7 Merge pull request #4 from pohly/canary-fix
build.make: fix pushing of "canary" image from master branch
2019-01-25 08:03:02 -08:00
Patrick Ohly b0336b553c build.make: more readable "make test" output
The introduction for each individual test looked like an actual
command:

  test-subtree
  ./release-tools/verify-subtree.sh release-tools
  Directory 'release-tools' contains non-upstream changes:
  ...

It's better to make it look like a shell comment and increase its
visibility with a longer prefix:

  ### test-subtree:
  ./release-tools/verify-subtree.sh release-tools
  ...
2019-01-25 11:53:36 +01:00
Patrick Ohly 09436b9f90 build.make: fix pushing of "canary" image from master branch
After merging into external-attacher, the next Travis CI run did not
push the "canary" image because the check for "canary" only covered
the case where "-canary" is used as
suffix (https://travis-ci.org/kubernetes-csi/external-attacher/builds/484095261).
2019-01-25 11:48:59 +01:00
Patrick Ohly ab241b96fc .gitignore: strip down to the repo-specific suppressions
Maintaining a list of all the temp files used by various editors and
IDEs is cumbersome. Instead of doing that in each repo, developers
contributing to kubernetes-csi should set up a global .gitignore for
their own tools.
2019-01-24 17:37:48 +01:00
Patrick Ohly 054c612f6b release tools
This synchronizes the build rules with other repos and (as part of
that) bumps the Go version to 1.11.1. The recommended formatting
changed slightly in that Go version.
2019-01-24 17:30:10 +01:00
Patrick Ohly ef4420bd96 Add 'release-tools/' from commit '3041b8a4253a568994ae9b193b4433e180152d82'
git-subtree-dir: release-tools
git-subtree-mainline: 1a7947627e
git-subtree-split: 3041b8a425
2019-01-24 17:24:07 +01:00
Patrick Ohly 147892c954 build.make: support suppressing checks
Individual repos may have to filter out certain packages from
testing. For example, in csi-test the cmd/csi-sanity directory
contains a special test that depends on additional parameters that set
the CSI driver to test against.
2019-01-24 16:43:24 +01:00
Patrick Ohly 154e33d434 build.make: clarify usage of "make V=1"
This may or may not work, depending on which packages have tests and
whether they contain glog.
2019-01-24 16:42:23 +01:00
Kubernetes Prow Robot 3041b8a425 Merge pull request #3 from pohly/verify-subtree
check subtree for changes
2019-01-23 13:56:56 -08:00
Patrick Ohly f28c6b60aa test: verify that 'release-tools' subtree is clean
We don't want to allow local modifications in the subtree. Everything
should go to the csi-release-tools repo first.
2019-01-23 14:52:09 +01:00
Patrick Ohly 9132a016e9 test: split up into individual targets, run all
"make test" used to abort after the first test failure. That was
partly intentional: if the simple tests already fail (for example,
because of a syntax error), then there is no point in continuing to
test.

However, it also makes it harder to find all errors in a CI system
when the errors are unrelated (first error shows up, gets fixed, next
error shows up, etc.).

Now "make test" still aborts early, but "make -k test" is used in the
CI and will run all individual tests because they are split up into
different targets.
2019-01-23 14:49:07 +01:00
Patrick Ohly 73db45967f verify-subtree.sh: ensure that there are no local commits
The goal is to enforce that changes get merged upstream first and only
get into the local repo via a normal "git subtree merge".
2019-01-23 14:43:52 +01:00
Kubernetes Prow Robot 520a04a717 Merge pull request #2 from pohly/repo-fix
README.md: fix repo URL for initial setup
2019-01-22 11:58:53 -08:00
Patrick Ohly f49080e086 README.md: fix repo URL for initial setup
Copy-and-paste error from the time when the
kubernetes-csi/csi-release-tools repo didn't have the code...
2019-01-22 10:28:11 +01:00
Kubernetes Prow Robot b32dd0106a Merge pull request #1 from pohly/master
initial content
2019-01-21 12:51:32 -08:00
Patrick Ohly c876547b7f README.md: update repo name, add initial setup step
The actual repository was not named like the prototype repo.
2019-01-21 10:26:11 +01:00
Patrick Ohly 51e16be615 RELEASE.md: clarify release process
It's worth calling out explicitly that only the master branch is
maintained.
2019-01-21 10:18:56 +01:00
Patrick Ohly a1136470c2 build.make: initial content
The repo was created with an HTML version of the build.make file from
https://github.com/pohly/csi-build-rules/. Here's the raw file.
2019-01-21 10:11:51 +01:00
Xing Yang 1a7947627e Merge pull request #80 from xing-yang/update_images_1.0.1
Update images to 1.0.1
2019-01-18 10:57:38 -05:00
Kubernetes Prow Robot 99e9928625 Merge pull request #84 from humblec/md
Correct markdown linter errors.
2019-01-16 15:30:58 -08:00
Aaron Crickenberger d23a16cb74 Port over information from kubernetes/org 2019-01-16 11:19:16 -08:00
Aaron Crickenberger b41cac350d Add files from github.com/pohly/csi-build-rules 2019-01-16 10:51:52 -08:00
Aaron Crickenberger 0535c0d4f1 Initial commit from kubernetes-template-project 2019-01-16 10:47:35 -08:00
Humble Chirammal 0421d1dc7a Correct markdown linter errors.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-11 16:03:32 +05:30
Kubernetes Prow Robot a7c6dec2ac Merge pull request #81 from humblec/clean
Correct error variables and fix other golint errors.
2019-01-06 06:13:53 -08:00
Kubernetes Prow Robot 7d3b3ec1af Merge pull request #82 from humblec/clean-2
Update exported function details with source code comments.
2019-01-06 06:12:18 -08:00
Humble Chirammal 546cafabdc Remove redundant else blocks
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 19:23:42 +05:30
Humble Chirammal 164d10a824 Update exported function details with source code comments.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 19:09:51 +05:30
Kubernetes Prow Robot c9f5e3c37e Merge pull request #83 from humblec/clean-3
Fix error formatting in snapshot controller.
2019-01-06 05:23:42 -08:00
Humble Chirammal 6a4dfa47e5 Fix error formatting in snapshot controller.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 14:53:24 +05:30
Humble Chirammal 0e4d11b0fb Correct error variables and fix other golint errors.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 14:31:02 +05:30
Xing Yang 8a62135453 Update images to 1.0.1
This PR updates images in yaml files to v1.0.1.
2019-01-02 07:21:48 -08:00
Kubernetes Prow Robot 9708a1b090 Merge pull request #75 from wackxu/pvclister
add pvcLister to snapshot controller
2019-01-02 07:17:24 -08:00
Kubernetes Prow Robot 1e1a432d5e Merge pull request #78 from xing-yang/csi_secret
Add new reserved prefixed parameter keys
2018-12-04 00:52:54 -08:00
Xing Yang 0cf36adb91 Add new reserved prefixed parameter keys
This PR adds new reserved prefixed parameter keys which are stripped
out of parameter list, and adds deprecation notice for old keys and
keep their behavior the same.

```
csiParameterPrefix = "csi.storage.k8s.io/"
prefixedSnapshotterSecretNameKey      = csiParameterPrefix + "snapshotter-secret-name"
prefixedSnapshotterSecretNamespaceKey = csiParameterPrefix + "snapshotter-secret-namespace"
```
2018-12-03 17:38:53 -08:00
k8s-ci-robot f3b2562724 Merge pull request #76 from msau42/use-logging-util
Use logging util
2018-11-30 13:51:36 -08:00
Michelle Au d41ad8a10b vendor protosanitizer 2018-11-30 13:32:10 -08:00
Michelle Au 097a4b897c use protosanitizer library 2018-11-30 13:29:40 -08:00
xushiwei 85504e1220 add pvcLister to snapshot controller
This reverts commit 96b6f495d3.
2018-11-30 17:19:47 +08:00
Xing Yang 7cd3ef6f55 Update README to clarify snapshot support status
This PR updates README to clarify that volume snapshot supports CSI v1.0 and it is an Alpha feature in Kubernetes since 1.12 release.
2018-11-29 16:15:40 -05:00
k8s-ci-robot daf75a0a25 Merge pull request #69 from wackxu/patch-1
add myself as approver for snapshotter
2018-11-28 11:24:16 -08:00
Xing Yang c4fd4d7c88 Merge pull request #73 from kubernetes-csi/revert-72-pvclister
Revert "add pvcLister to snapshot controller"
2018-11-27 19:40:51 -05:00
Xing Yang 96b6f495d3 Revert "add pvcLister to snapshot controller" 2018-11-27 19:38:09 -05:00