Commit Graph

195 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 5d874cce4e
Merge pull request #112 from xing-yang/cleanup
Cleanup
2020-11-12 23:10:24 -08:00
xing-yang 79bbca7bc8 Cleanup 2020-11-12 19:26:36 +00:00
Kubernetes Prow Robot d43767304b
Merge pull request #111 from xing-yang/update_snapshot_v1_rc
Update snapshot CRD version
2020-11-12 11:13:08 -08:00
xing-yang 57718f834e Update snapshot CRD version 2020-11-12 19:11:08 +00:00
Kubernetes Prow Robot 4aff857d88
Merge pull request #109 from pohly/alpha-test-defaults
prow.sh: only run alpha tests for latest Kubernetes release
2020-10-27 10:10:00 -07:00
Kubernetes Prow Robot 0427289d5f
Merge pull request #110 from pohly/kind-0.9-bazel-build-workaround
prow.sh: work around "kind build node-image" failure
2020-10-27 09:54:00 -07:00
Patrick Ohly 9a370ab902 prow.sh: work around "kind build node-image" failure
Kind 0.9.0 accesses the "bazel-out" directory with a relative path,
which only works when the command is invoked inside the Kubernetes
source code
directory (https://github.com/kubernetes-sigs/kind/issues/1910).
2020-10-27 13:16:57 +01:00
Patrick Ohly 522361ec9a prow.sh: only run alpha tests for latest Kubernetes release
Commit 7bcee13d79 added alpha feature gates for Kubernetes 1.19 in
the CSI_PROW_E2E_ALPHA_GATES_LATEST variable based on the comment in
https://github.com/kubernetes-csi/external-provisioner/pull/493#discussion_r502663402
that alpha testing only runs for the latest Kubernetes.

But some components (like external-health-monitor) are configured with
a single Prow job which runs the default set of tests on a stable
Kubernetes release (currently 1.17). Those tests used to include alpha
testing which then broke during Kind cluster startup because the
Kubernetes 1.19 feature gates weren't recognized by 1.17.

The solution is to disable alpha testing for Kubernetes != latest in
the default set of tests.
2020-10-27 13:12:26 +01:00
Kubernetes Prow Robot 22c0395c9c
Merge pull request #108 from bnrjee/master
Add go ldflags using LDFLAGS at the time of compilation
2020-10-25 23:57:01 -07:00
Abhisek Banerjee b5b447b50b Add go ldflags using LDFLAGS at the time of compilation 2020-10-23 19:03:06 +00:00
Kubernetes Prow Robot 16f4afbd83
Merge pull request #107 from pohly/kind-update
prow.sh: update to kind 0.9, support Kubernetes 1.19
2020-10-20 18:10:19 -07:00
Patrick Ohly 7bcee13d79 prow.sh: update to kind 0.9, support Kubernetes 1.19
kind 0.9 adds support for recent Kubernetes releases like 1.19 and
simplifies configuration of feature gates and runtime config.

With Kubernetes 1.19, new feature gates were introduced which might
become relevant for the alpha Prow jobs.

The updated kind release comes with images for different Kubernetes
releases than the one before. To avoid breaking existing jobs,
the script now picks kind images automatically. As an additional
bonus, it then uses images with hash, i.e. it's less likely to break
if those image tags change because of a future kind release.
2020-10-17 11:25:52 +02:00
Patrick Ohly df518fbd6a prow.sh: usage of Bazel optional
Bazel makes sense in the Prow jobs because those often get invoked
with a pre-populated Bazel cache. But local invocation don't need it
and now can turn it off with CSI_PROW_USE_BAZEL=false.
2020-10-17 11:21:29 +02:00
Kubernetes Prow Robot c3afd427e8
Merge pull request #104 from xing-yang/snapshot
Update to snapshot-controller v3.0.0
2020-10-12 12:02:49 -07:00
xing-yang dde93b220e Update to snapshot-controller v3.0.0 2020-10-09 03:33:10 +00:00
Kubernetes Prow Robot a0f195cc2d
Merge pull request #106 from msau42/fix-canary
Only set staging registry when running canary job
2020-10-06 11:32:42 -07:00
Michelle Au 7100c1209e Only set staging registry when running canary job 2020-10-06 11:25:19 -07:00
Kubernetes Prow Robot b3c65f9c78
Merge pull request #99 from msau42/add-release-process
Update release process
2020-10-05 04:37:05 -07:00
Kubernetes Prow Robot e53f3e85b7
Merge pull request #103 from msau42/fix-canary
Use staging registry for canary tests
2020-09-29 02:01:26 -07:00
Michelle Au d129462878 Document new method for adding CI jobs are new K8s versions 2020-09-25 17:49:38 -07:00
Michelle Au e73c2ce531 Use staging registry for canary tests 2020-09-25 17:41:33 -07:00
Michelle Au 2c098465dd Add cleanup instructions to release-notes generation 2020-08-24 16:44:58 -07:00
Kubernetes Prow Robot 60e1cd3d08
Merge pull request #98 from pohly/kubernetes-1-19-fixes
Kubernetes 1.19 fixes
2020-08-14 09:30:21 -07:00
Patrick Ohly 0979c09102 prow.sh: fix E2E suite for Kubernetes >= 1.18
It used to be necessary to override from where the E2E suite came on a
case-by-case basis (initially, testing was using a more recent suite
against an older Kubernetes). This should never become necessary again
and the lack of a specific entry for 1.18 already had the unintended
effect that Kubernetes 1.18 was tested with the suite from master, so
overall it is better to always use the E2E suite which matches
Kubernetes.
2020-08-14 15:03:02 +02:00
Patrick Ohly 3b4a2f1d95 prow.sh: fix installing Go for Kubernetes 1.19.0
Kubernetes 1.19.0 uses Go 1.15, but refers to it as 1.15.0. This broke
both the check whether we need to install 1.15 (because "go version"
reports 1.15, which didn't match 1.15.0) and then downloading the
release archive (because the URL also only uses 1.15).
2020-08-14 15:03:02 +02:00
Kubernetes Prow Robot 1fbb636cb9
Merge pull request #97 from pohly/go-1.15
switch to Go 1.15
2020-08-12 11:43:15 -07:00
Patrick Ohly 82d108acdc switch to Go 1.15
Go 1.15 was released and is the major version that Kubernetes 1.19.0
is going to use. There are probably bugs in the older 1.13.3 that were
fixed, so we should update.
2020-08-12 09:42:55 +02:00
Kubernetes Prow Robot d8a2530054
Merge pull request #95 from msau42/add-release-process
Add steps on promoting release images
2020-08-07 13:25:57 -07:00
Michelle Au 843bddca14 Add steps on promoting release images 2020-08-05 13:29:03 -07:00
Kubernetes Prow Robot 0345a835e2
Merge pull request #94 from linux-on-ibm-z/bump-timeout
cloud build: bump timeout in Prow job
2020-07-08 14:50:34 -07:00
namrata-ibm 1fdf2d53cd cloud build: bump timeout in Prow job 2020-07-08 08:03:24 -04:00
Kubernetes Prow Robot 41ec6d1530
Merge pull request #93 from animeshk08/patch-1
filter-junit: Fix gofmt error
2020-06-18 01:18:05 -07:00
Animesh Kumar 5a54e67d80 filter-junit: Fix gofmt error
Signed-off-by: Animesh Kumar <animuz111@gmail.com>
2020-06-18 13:08:51 +05:30
Kubernetes Prow Robot 0676fcbd77
Merge pull request #92 from animeshk08/patch-1
filter-junit: Fix golint error
2020-06-17 23:52:05 -07:00
Animesh Kumar 36ea4ffae0 filter-junit: Fix golint error
Signed-off-by: Animesh Kumar <animuz111@gmail.com>
2020-06-17 18:42:28 +05:30
Kubernetes Prow Robot f5a420378d
Merge pull request #91 from cyb70289/arm64
prow.sh: enable building arm64 image
2020-06-16 00:10:04 -07:00
Yibo Cai 43e50d6f64 prow.sh: enable building arm64 image 2020-06-16 10:59:05 +08:00
Kubernetes Prow Robot 0d5bd8436e
Merge pull request #90 from pohly/k8s-staging-sig-storage
cloud build: k8s-staging-sig-storage
2020-06-12 09:23:58 -07:00
Patrick Ohly 3df86b7d43 cloud build: k8s-staging-sig-storage
As discussed in https://github.com/kubernetes/k8s.io/pull/943, we want
to consolidate under k8s-staging-sig-storage.
2020-06-12 15:48:26 +02:00
Kubernetes Prow Robot c5fd9610fc
Merge pull request #89 from pohly/cloud-build-binfmt
cloud build: initialize support for running commands in Dockerfile
2020-06-08 01:21:48 -07:00
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