Commit Graph

155 Commits

Author SHA1 Message Date
Patrick Ohly
db0c2a7dc8 cloud build: initialize support for running commands in Dockerfile
If the Dockerfile needs to run some command, that step fails unless
QEMU is set up properly first:
      failed to solve: rpc error: code = Unknown desc = failed to load
      LLB: runtime execution on platform linux/ppc64le not supported
2020-06-04 10:52:04 +02:00
Kubernetes Prow Robot
be902f401c Merge pull request #88 from pohly/multiarch-windows-fix
multiarch windows fix
2020-06-03 02:48:17 -07:00
Patrick Ohly
340e082f04 build.make: optional inclusion of Windows in multiarch images
Most repos inherit the default BUILD_PLATFORMS, which includes
Windows, but don't have the necessary Dockerfile.Windows yet. To
simplify the rollout of multiarch image builds, Windows binary
building continues to be tested (i.e. BUILD_PLATFORMS remains
unchanged), but push-multiarch skips Windows if the Dockerfile.Windows
is missing.
2020-06-03 11:05:05 +02:00
Patrick Ohly
5231f05d8b build.make: properly declare push-multiarch
It's not a real file and thus should better be marked as phony.
2020-06-03 11:04:29 +02:00
Patrick Ohly
4569f27a8c build.make: fix push-multiarch ambiguity
"make push-multiarch" matched both push-multiarch and push-%.  This
seems to be none-deterministic and in at least one
repo (external-provisioner), make picked the wildcard rule which then
failed because there is no "multiarch" command.

This ambiguity gets resolved by instantiating the wildcard rules only
for existing commands. The advantage also is that "make
push-no-such-command" will fail with an obvious "No rule to make
target 'push-no-such-command'" instead of attempting to build the
command.
2020-06-03 11:03:54 +02:00
Kubernetes Prow Robot
17dde9ef00 Merge pull request #87 from pohly/cloud-build
cloud build: initial set of shared files
2020-05-28 09:10:03 -07:00
Patrick Ohly
bd416901d4 cloud build: initial set of shared files
The approach taken here extends the existing support for
cross-compiling binaries on the build host and specifying the Go
compiler: Go is installed if needed (as in Prow testing), binaries are
build on the host, then one image is created for each platform, and
finally those are combined into a single multi-architecture image.
2020-05-28 10:31:35 +02:00
Kubernetes Prow Robot
9084fecb84 Merge pull request #81 from msau42/add-release-process
Update patch release notes generation command
2020-04-27 06:09:30 -07:00
Michelle Au
6f2322e808 Update patch release notes generation command 2020-04-23 10:21:49 -07:00
Kubernetes Prow Robot
0fcc3b1bc9 Merge pull request #78 from ggriffiths/fix_csi_snapshotter_rbac_version_set
Fix csi-snapshotter RBAC yaml version
2020-04-20 15:40:12 -07:00
Grant Griffiths
d8c76fee3e Support local snapshot RBAC for pull jobs
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-04-20 15:21:57 -07:00
Kubernetes Prow Robot
c1bdf5bfd8 Merge pull request #80 from msau42/add-release-process
update release tools instructions
2020-04-17 09:19:07 -07:00
Michelle Au
ea1f94aad7 update release tools instructions 2020-04-17 09:02:07 -07:00
Kubernetes Prow Robot
152396e2d7 Merge pull request #77 from ggriffiths/snapshotter201_update
Update snapshotter to version 2.0.1
2020-03-11 14:58:36 -07:00
Grant Griffiths
7edc1461ea Update snapshotter to version 2.0.1
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-03-11 10:48:03 -07:00
Kubernetes Prow Robot
4cf843f67d Merge pull request #76 from pohly/build-targets
build for multiple platforms only in CI, add s390x
2020-03-04 08:23:46 -08:00
Patrick Ohly
3863a0f674 build for multiple platforms only in CI, add s390x
Developers should not be forced to build for all platforms by
default. We also don't want to copy-and-paste the go invocation for
each new platform.

To address both, the target platform(s) are now configurable via
BUILD_PLATFORMS and additional platforms are only enabled in the Prow
CI.

For now this serves as a test that the source actually compiles for
multiple platforms. Building images for different target platforms is a
different problem.
2020-03-04 11:39:24 +01:00
Kubernetes Prow Robot
8322a7d0c7 Merge pull request #72 from pohly/hostpath-update
prow.sh: use 1.3.0 hostpath driver for testing
2020-02-14 01:26:18 -08:00
Patrick Ohly
7c5a89c8fc prow.sh: use 1.3.0 hostpath driver for testing
The final 1.3.0 release of the hostpath driver really uses the 1.3.0
driver image in its deployment, in contrast to the previous -rc
candidates which still used 1.2.0.
2020-02-14 10:17:23 +01:00
Kubernetes Prow Robot
b8587b2bf8 Merge pull request #71 from wozniakjan/test-vet
Change 'make test-vet' back to call 'go vet'
2020-02-13 05:28:35 -08:00
Jan Wozniak
fdb32183fe Change 'make test-vet' to call 'go vet' 2020-02-13 11:21:45 +01:00
Kubernetes Prow Robot
d717c8c48a Merge pull request #69 from pohly/test-driver-config
prow.sh: generic driver installation
2020-02-10 09:07:55 -08:00
Kubernetes Prow Robot
a1432bc97a Merge pull request #70 from pohly/kubelet-feature-gates
prow.sh: also configure feature gates for kubelet
2020-02-10 09:01:54 -08:00
Patrick Ohly
5f74333a46 prow.sh: also configure feature gates for kubelet
That this hasn't been done before is an oversight. Apparently it
hasn't been a problem because there never have been feature gates that
mattered?
2020-02-10 14:39:39 +01:00
Patrick Ohly
84f78b120e prow.sh: generic driver installation
This relies on a slightly different deployment script: a "deploy.sh"
must exist which knows that it has to dump a test driver configurion
into the file pointed to with CSI_PROW_TEST_DRIVER, if that env
variable is set.

That way, we no longer need to know what capabilities the installed
driver has.
2020-02-10 14:36:41 +01:00
Kubernetes Prow Robot
3c34b4f21f Merge pull request #67 from windayski/fix-link
fix incorrect link
2020-01-23 18:18:32 -08:00
wangzheng03
fa90abd078 fix incorrect link 2020-01-19 09:42:26 +08:00
Kubernetes Prow Robot
ff3cc3f1f4 Merge pull request #54 from msau42/add-release-process
Document the process for releasing a new sidecar
2020-01-13 09:55:39 -08:00
Michelle Au
ac8a0212b9 Document the process for releasing a new sidecar 2020-01-10 17:46:44 -08:00
Kubernetes Prow Robot
23be652549 Merge pull request #65 from msau42/update-hostpath
Update hostpath driver version to get fix for connection-timeout
2020-01-09 17:48:34 -08:00
Michelle Au
6582f2ff3b Update hostpath driver version to get fix for connection-timeout 2020-01-09 17:25:38 -08:00
Kubernetes Prow Robot
4cc9174573 Merge pull request #64 from ggriffiths/snapshotter_2_version_update
Update snapshotter to version v2.0.0
2020-01-08 10:01:40 -08:00
Grant Griffiths
8191eab6ff Update snapshotter to version v2.0.0
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-01-07 18:10:54 -08:00
Kubernetes Prow Robot
3c463fb1e9 Merge pull request #61 from msau42/enable-snapshots
Fix overriding of junit results
2020-01-02 14:41:40 -08:00
Michelle Au
8b0316c7e4 Fix overriding of junit results by using unique names for each e2e run 2020-01-02 14:38:57 -08:00
Kubernetes Prow Robot
5f444b80f3 Merge pull request #60 from saad-ali/updateHostpathVersion
Update prow hostpath driver version to 1.3.0-rc2
2020-01-02 14:37:40 -08:00
saad-ali
af9549b5a1 Update prow hostpath driver version to 1.3.0-rc2 2020-01-02 14:29:40 -08:00
Kubernetes Prow Robot
f6c74b30ed Merge pull request #57 from ggriffiths/version_gt_kubernetes_fix
Fix version_gt to work with Kubernetes prefix
2019-12-23 11:29:33 -08:00
Grant Griffiths
fc80975954 Fix version_gt to work with kubernetes prefix
Signed-off-by: Grant Griffiths <grant@portworx.com>
2019-12-20 16:47:51 -08:00
Kubernetes Prow Robot
9f1f3dd842 Merge pull request #56 from msau42/enable-snapshots
Enable snapshot tests in 1.17 to be run in non-alpha jobs.
2019-12-18 11:27:57 -08:00
Michelle Au
b98b2aed08 Enable snapshot tests in 1.17 to be run in non-alpha jobs.
This requires adding one more parallel e2e test run with
a special focus flag because snapshot tests are still guarded
with a "[Feature:VolumeSnapshotDataSource]" tag. The setting that
skips all tests with "[Feature:.*]" has to be removed because it
overrides the focus.

We don't have serial snapshot tests yet. This needs to be modified
again if we add any in the future.
2019-12-16 19:13:38 -08:00
Kubernetes Prow Robot
9ace02045e Merge pull request #52 from msau42/update-readme
Improve README by adding an explicit Kubernetes dependency section
2019-12-06 00:34:49 -08:00
Kubernetes Prow Robot
540599ba3c Merge pull request #53 from msau42/fix-make
fix syntax for ppc64le build
2019-12-04 14:26:57 -08:00
Michelle Au
a4e6299668 fix syntax for ppc64le build 2019-12-04 14:12:50 -08:00
Kubernetes Prow Robot
771ca6f262 Merge pull request #49 from ggriffiths/prowsh_improve_version_gt
Improve snapshot-controller running check and version_gt to support multiple formats
2019-12-04 11:12:58 -08:00
Kubernetes Prow Robot
d7c69d2f93 Merge pull request #51 from msau42/enable-multinode
Enable topology testing with hostpath driver
2019-12-04 06:38:58 -08:00
Grant Griffiths
4ad69492c9 Improve snapshot pod running checks and improve version_gt
Signed-off-by: Grant Griffiths <grant@portworx.com>
2019-12-03 23:48:29 -08:00
Michelle Au
53888ae7d5 Improve README by adding an explicit Kubernetes dependency section 2019-12-03 18:18:38 -08:00
Michelle Au
9a7a685ee1 Create a kind cluster with two worker nodes so that the topology feature can be tested. Test cases that test accessing volumes from multiple nodes need to be skipped 2019-12-02 17:45:57 -08:00
Kubernetes Prow Robot
4ff2f5f092 Merge pull request #50 from darkowlzz/kind-0.6.0
Use kind v0.6.0
2019-12-02 06:35:05 -08:00