Skip to content

Commit

Permalink
prow.sh: bump versions
Browse files Browse the repository at this point in the history
We need to lock down onto specific releases or revisions, otherwise
changes in the components we depend on can break testing.

Still not quite complete,
kubernetes-csi/csi-driver-host-path#29 needs
to be merged first.
  • Loading branch information
pohly committed Mar 28, 2019
1 parent 101a299 commit de05ce3
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions prow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ configvar CSI_PROW_GO_VERSION_GINKGO "${CSI_PROW_GO_VERSION_BUILD}" "Go version
# kind version to use. If the pre-installed version is different,
# the desired version is downloaded from https://github.com/kubernetes-sigs/kind/releases/download/
# (if available), otherwise it is built from source.
configvar CSI_PROW_KIND_VERSION 0.2.0 "kind"
configvar CSI_PROW_KIND_VERSION 0.2.1 "kind"

# ginkgo test runner version to use. If the pre-installed version is
# different, the desired version is built from source.
Expand Down Expand Up @@ -132,8 +132,12 @@ configvar CSI_PROW_WORK "$(mkdir -p "$GOPATH/pkg" && mktemp -d "$GOPATH/pkg/csip
#
# When no deploy script is found (nothing in `deploy` directory,
# CSI_PROW_HOSTPATH_REPO=none), nothing gets deployed.
configvar CSI_PROW_HOSTPATH_VERSION prow "hostpath driver"
#
# TODO: merge https://github.com/kubernetes-csi/csi-driver-host-path/pull/29, switch to revision from master
configvar CSI_PROW_HOSTPATH_VERSION deploy "hostpath driver"
configvar CSI_PROW_HOSTPATH_REPO https://github.com/pohly/csi-driver-host-path "hostpath repo"
# Ignore 'See if you can use ${variable//search/replace} instead.'
# shellcheck disable=SC2001
configvar CSI_PROW_DEPLOYMENT "" "deployment"

# If CSI_PROW_HOSTPATH_CANARY is set (typically to "canary", but also
Expand All @@ -148,11 +152,8 @@ configvar CSI_PROW_HOSTPATH_CANARY "" "hostpath image"
# all generated files are present.
#
# CSI_PROW_E2E_REPO=none disables E2E testing.
#
# TODO (?): support also an E2E test suite in the current repository.
# TODO: upstream Kubernetes
configvar CSI_PROW_E2E_REPO https://github.com/pohly/kubernetes "E2E repo"
configvar CSI_PROW_E2E_VERSION storage-external-snapshot "E2E version"
configvar CSI_PROW_E2E_VERSION v1.14.0 "E2E version"
configvar CSI_PROW_E2E_REPO https://github.com/kubernetes/kubernetes "E2E repo"
configvar CSI_PROW_E2E_IMPORT_PATH k8s.io/kubernetes "E2E package"

# csi-sanity testing from the csi-test repo can be run against the installed
Expand All @@ -161,7 +162,7 @@ configvar CSI_PROW_E2E_IMPORT_PATH k8s.io/kubernetes "E2E package"
# of the cluster. The alternative would have been to (cross-)compile csi-sanity
# and install it inside the cluster, which is not necessarily easier.
configvar CSI_PROW_SANITY_REPO https://github.com/kubernetes-csi/csi-test "csi-test repo"
configvar CSI_PROW_SANITY_VERSION master "csi-test version"
configvar CSI_PROW_SANITY_VERSION 5421d9f3c37be3b95b241b44a094a3db11bee789 "csi-test version" # latest master
configvar CSI_PROW_SANITY_IMPORT_PATH github.com/kubernetes-csi/csi-test "csi-test package"
configvar CSI_PROW_SANITY_SERVICE "hostpath-service" "Kubernetes TCP service name that exposes csi.sock"
configvar CSI_PROW_SANITY_POD "csi-hostpathplugin-0" "Kubernetes pod with CSI driver"
Expand Down

0 comments on commit de05ce3

Please sign in to comment.