e2e: add SNAPSHOT_VERSION to build.env

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
Prasanna Kumar Kalever 2020-10-05 16:01:34 +05:30 committed by mergify[bot]
parent 94c1b2e021
commit 4b7c9ea5cb
2 changed files with 9 additions and 2 deletions

View File

@ -21,6 +21,10 @@ GO111MODULE=on
GOLANGCI_VERSION=v1.27.0 GOLANGCI_VERSION=v1.27.0
GOSEC_VERSION=v2.3.0 GOSEC_VERSION=v2.3.0
# external snapshotter version
# Refer: https://github.com/kubernetes-csi/external-snapshotter/releases
SNAPSHOT_VERSION=v3.0.1
# "go test" configuration # "go test" configuration
# set to stdout or html to enable coverage reporting, disabled by default # set to stdout or html to enable coverage reporting, disabled by default
#TEST_COVERAGE=html #TEST_COVERAGE=html

View File

@ -2,10 +2,13 @@
# This script can be used to install/delete snapshotcontroller and snapshot beta CRD # This script can be used to install/delete snapshotcontroller and snapshot beta CRD
SNAPSHOT_VERSION=${SNAPSHOT_VERSION:-"v3.0.1"}
SCRIPT_DIR="$(dirname "${0}")" SCRIPT_DIR="$(dirname "${0}")"
# shellcheck source=build.env
source "${SCRIPT_DIR}/../build.env"
SNAPSHOT_VERSION=${SNAPSHOT_VERSION:-"v3.0.1"}
TEMP_DIR="$(mktemp -d)" TEMP_DIR="$(mktemp -d)"
SNAPSHOTTER_URL="https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/${SNAPSHOT_VERSION}" SNAPSHOTTER_URL="https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/${SNAPSHOT_VERSION}"