Commit Graph

394 Commits

Author SHA1 Message Date
Grant Griffiths
33c896f6ff Update common controller tests after split controller
Signed-off-by: Grant Griffiths <grant@portworx.com>
2019-12-23 10:00:02 -08:00
Kubernetes Prow Robot
bba358438a Merge pull request #218 from ggriffiths/fix_errshadow_update_snapshotstatus
Fix err shadow in updateSnapshotStatus and add retry delay
2019-12-20 10:01:33 -08:00
Grant Griffiths
b5f2165795 Fix err shadow in updateSnapshotStatus and add retry delay
Signed-off-by: Grant Griffiths <grant@portworx.com>
2019-12-20 09:47:42 -08:00
Kubernetes Prow Robot
905153902c Merge pull request #217 from xing-yang/readme2
Add a warning msg in the upgrade process
2019-12-20 07:33:32 -08:00
xing-yang
b3e25bda7b Add a warning msg in the upgrade process 2019-12-20 14:54:06 +00:00
Kubernetes Prow Robot
bbbadbc41e Merge pull request #211 from xing-yang/remove_retrycount
Remove createSnapshotContentRetryCount and createSnapshotContentInterval
2019-12-19 18:51:32 -08:00
xing-yang
0dd03c93fb Add original retries back 2019-12-20 02:35:54 +00:00
Kubernetes Prow Robot
7b7cbed81a Merge pull request #206 from xing-yang/readme
Update README
2019-12-19 17:15:32 -08:00
xing-yang
710319e6d7 Update README 2019-12-20 00:44:48 +00:00
xing-yang
c5d6e8163f Removed snapshotQueue.AddRateLimited 2019-12-19 21:31:12 +00:00
xing-yang
10017c2bdc Add snapshot back to queue 2019-12-18 21:49:05 +00:00
xing-yang
60c696c7c7 Remove createSnapshotContentRetryCount and createSnapshotContentInterval
from command line options
2019-12-18 02:54:15 +00:00
Kubernetes Prow Robot
ed82822421 Merge pull request #210 from yuxiangqian/sidecar
sidecar controller update, fix potential snapshot leaking
2019-12-17 18:03:57 -08:00
xiangqian
b747de45c5 sidecar controller update, fix potential snapshot leaking
resolve comments
2019-12-17 15:17:31 -08:00
Kubernetes Prow Robot
67c2e5792d Merge pull request #207 from nrb/test-should-delete
Add tests for shouldDelete function
2019-12-13 12:53:37 -08:00
Nolan Brubaker
0a57046ea8 Add tests for shouldDelete function
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2019-12-13 13:06:52 -05:00
Kubernetes Prow Robot
53469c2196 Merge pull request #205 from nrb/update-dep-management
Update README to reflect go module usage
2019-12-09 13:50:02 -08:00
Nolan Brubaker
0f67d8d2e1 Update README to reflect go module usage
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2019-12-09 15:40:37 -05:00
Kubernetes Prow Robot
3ecc6d9d9b Merge pull request #203 from yuxiangqian/master
update to client-go
2019-12-04 15:26:33 -08:00
xiangqian
728e29aa7e 1. update clientset, deepcopy using code-generator
2. add a dummy file tools.go to force "go mod vendor" to see
code-generator as dependencies
3. add a script to update CRD
4. add a README to document CRD updating steps
run go mod tidy
update README
2019-12-04 14:40:46 -08:00
Kubernetes Prow Robot
90533183e4 Merge pull request #199 from gliptak/patch-2
Correct typo
2019-11-27 17:35:03 -08:00
Kubernetes Prow Robot
87973b6356 Merge pull request #197 from pohly/prow-update-master
master: update release-tools
2019-11-27 17:19:02 -08:00
Gábor Lipták
a91ebff2e0 Correct typo 2019-11-27 07:43:50 -05:00
Patrick Ohly
8bc86ed69c release-tools: update 2019-11-21 19:52:12 +01:00
Kubernetes Prow Robot
a41f386049 Merge pull request #46 from mucahitkurt/kind-cluster-cleanup
delete kind cluster after tests run
2019-11-21 10:05:29 -08:00
Mucahit Kurt
1eaaaa1cb4 Delete kind cluster after tests run.
Inside a real Prow job it is better to clean up at runtime instead of leaving that to the Prow job cleanup code because the later sometimes times out.

Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
2019-11-21 17:31:18 +03:00
Kubernetes Prow Robot
abbefcd7fa Merge pull request #195 from gliptak/patch-1
Correct typo
2019-11-15 07:59:15 -08:00
Kubernetes Prow Robot
d9579add67 Merge pull request #188 from pohly/prow-update-master
master: update release-tools
2019-11-14 09:45:36 -08:00
Gábor Lipták
8542d1fc7a Correct typo 2019-11-14 09:38:41 -05:00
Patrick Ohly
ae9486d999 Merge remote-tracking branch 'origin/master' into prow-update-master
Manually resolved a merge conflict for vendor/modules.txt. This cannot
be done via a rebase because that would destroy the git submodule
history of `csi-release-tools`.
2019-11-11 21:25:56 +01:00
Xing Yang
3846ea09fd Merge pull request #192 from xing-yang/update_images_v2.0.0-rc2
Update snapshot-controller and csi-snapshotter images to v2.0.0-rc2
2019-11-08 23:25:18 -05:00
xing-yang
7f0ecc9b8a Update snapshot-controller and csi-snapshotter images to v2.0.0-rc2 2019-11-09 04:05:43 +00:00
Kubernetes Prow Robot
105b84d0e5 Merge pull request #191 from ggriffiths/new_beta_split_controller_unittests
Add sidecar-controller unit tests
2019-11-08 18:17:40 -08:00
Grant Griffiths
e4e2f3b44b Cleanup framework_test comments and old code
Signed-off-by: Grant Griffiths <grant@portworx.com>
2019-11-08 16:28:57 -08:00
Grant Griffiths
2ac906d13f Add sidecar-controller unit tests
Signed-off-by: Grant Griffiths <grant@portworx.com>
2019-11-08 13:39:33 -08:00
Kubernetes Prow Robot
fa239cb54f Merge pull request #182 from xing-yang/new_beta_split_controller
Split snapshot controller using beta APIs
2019-11-08 13:27:20 -08:00
xing-yang
9000e9c846 Address review comments 2019-11-08 02:46:17 +00:00
xing-yang
6308420635 Split snapshot controller using beta APIs 2019-11-07 16:49:41 +00:00
Kubernetes Prow Robot
4fcafece59 Merge pull request #43 from pohly/system-pod-logging
prow.sh: also log output of system containers
2019-11-05 18:29:01 -08:00
Patrick Ohly
f41c1351a3 prow.sh: also log output of system containers
Depending on the error, those logs are needed to debug failures.
2019-11-05 16:40:29 +01:00
Patrick Ohly
c466b8dc9f release-tools: update 2019-11-04 19:25:52 +01:00
Kubernetes Prow Robot
ee22a9caa6 Merge pull request #42 from pohly/use-vendor-dir
prow.sh: use vendor directory if available
2019-11-04 09:25:40 -08:00
Patrick Ohly
8067845659 travis.yml: also use vendor directory 2019-11-04 15:40:31 +01:00
Patrick Ohly
23df4aef51 prow.sh: use vendor directory if available
This avoids dependencies on the Go module cache or the upstream code
hosting.
2019-11-04 15:21:49 +01:00
Kubernetes Prow Robot
a53bd4c46e Merge pull request #41 from pohly/go-version
Go version 1.13, helper scripts
2019-10-31 08:27:37 -07:00
Patrick Ohly
c8a1c4af93 better handling of Go version
Some operations are sensitive to the version of Go that is used. In
the past, formatting of source differed depending on the
version. Right now it is the content of the vendor directory which
changes when switch back and forth between 1.12 and 1.13.

We don't want to impose a certain workflow on developers, like forcing
all invocations of Go to run inside a container. If developers want
that, they can set up their development environment accordingly.

But we should warn about this aspect to raise awareness. "make"
invocations which involve Go now compare against the projects Go
version (specified in travis.yml) once at the beginning. This is only
a warning because we don't know which future version will be
compatible with the project.

Vendor directory handling gets updated, too: verification is now a
separate script (became too complex for make) and there is a
corresponding "update-vendor.sh". In contrast to verification,
updating vendor is not integrated into make and thus itself invokes
the go version check.
2019-10-31 11:59:34 +01:00
Patrick Ohly
5e773d2db0 update CI to use Go 1.13.3
This is the latest release. Updating is useful to ensure that we have
all of the latest fixes and enhancements.
2019-10-31 08:43:31 +01:00
Kubernetes Prow Robot
f419d74545 Merge pull request #40 from msau42/add-1.16
Add new variables for 1.16 and remove 1.13
2019-10-31 00:37:36 -07:00
Michelle Au
e0fde8c4f5 Add new variables for 1.16 and remove 1.13 2019-10-30 18:08:41 -07:00
Kubernetes Prow Robot
89889f005c Merge pull request #179 from pohly/go-mod
replace "dep" with "go mod"
2019-10-28 07:59:26 -07:00