Skip to content

Commit

Permalink
e2e: add SNAPSHOT_VERSION to build.env
Browse files Browse the repository at this point in the history
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
  • Loading branch information
Prasanna Kumar Kalever committed Oct 12, 2020
1 parent 81af9f2 commit ac32650
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions build.env
Expand Up @@ -21,6 +21,10 @@ GO111MODULE=on
GOLANGCI_VERSION=v1.27.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
# set to stdout or html to enable coverage reporting, disabled by default
#TEST_COVERAGE=html
Expand Down
7 changes: 5 additions & 2 deletions scripts/install-snapshot.sh
Expand Up @@ -2,10 +2,13 @@

# This script can be used to install/delete snapshotcontroller and snapshot beta CRD

SNAPSHOT_VERSION=${SNAPSHOT_VERSION:-"v3.0.1"}

SCRIPT_DIR="$(dirname "${0}")"

# shellcheck source=build.env
source "${SCRIPT_DIR}/../build.env"

SNAPSHOT_VERSION=${SNAPSHOT_VERSION:-"v3.0.1"}

TEMP_DIR="$(mktemp -d)"
SNAPSHOTTER_URL="https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/${SNAPSHOT_VERSION}"

Expand Down

0 comments on commit ac32650

Please sign in to comment.