2020-06-22 10:19:37 +00:00
|
|
|
#
|
|
|
|
# build.env
|
|
|
|
#
|
|
|
|
# Environment file used by scripts and tools. All (default) versions used for
|
|
|
|
# building, testing and deploying Ceph-CSI are listed here.
|
|
|
|
#
|
|
|
|
# The format should be source-able by shell scripts, but do not assume only
|
|
|
|
# shell scripts consume this file. Variables that reference variables may not
|
|
|
|
# get proporly expanded.
|
|
|
|
#
|
2020-12-09 07:04:58 +00:00
|
|
|
# cephcsi image version
|
2021-07-29 11:52:45 +00:00
|
|
|
CSI_IMAGE_VERSION=v3.4-canary
|
2020-06-22 10:19:37 +00:00
|
|
|
|
2020-06-22 13:54:18 +00:00
|
|
|
# Ceph version to use
|
2021-04-05 07:32:54 +00:00
|
|
|
BASE_IMAGE=docker.io/ceph/ceph:v16
|
2021-02-10 08:54:02 +00:00
|
|
|
CEPH_VERSION=octopus
|
2020-06-22 13:54:18 +00:00
|
|
|
|
2020-06-22 10:19:37 +00:00
|
|
|
# standard Golang options
|
2021-05-10 06:29:04 +00:00
|
|
|
GOLANG_VERSION=1.16.4
|
2020-06-22 10:19:37 +00:00
|
|
|
GO111MODULE=on
|
2020-06-22 12:06:43 +00:00
|
|
|
|
2021-08-04 12:21:16 +00:00
|
|
|
# commitlint version
|
|
|
|
COMMITLINT_VERSION=latest
|
|
|
|
|
2020-06-22 12:06:43 +00:00
|
|
|
# static checks and linters
|
2021-04-27 10:53:01 +00:00
|
|
|
GOLANGCI_VERSION=v1.39.0
|
|
|
|
GOSEC_VERSION=v2.7.0
|
2020-06-22 12:48:32 +00:00
|
|
|
|
2020-10-05 10:31:34 +00:00
|
|
|
# external snapshotter version
|
|
|
|
# Refer: https://github.com/kubernetes-csi/external-snapshotter/releases
|
2021-03-12 09:19:02 +00:00
|
|
|
SNAPSHOT_VERSION=v4.0.0
|
2020-10-05 10:31:34 +00:00
|
|
|
|
2020-06-22 14:48:41 +00:00
|
|
|
# "go test" configuration
|
|
|
|
# set to stdout or html to enable coverage reporting, disabled by default
|
|
|
|
#TEST_COVERAGE=html
|
|
|
|
#GO_COVER_DIR=_output/
|
|
|
|
|
2020-06-22 12:48:32 +00:00
|
|
|
# helm chart generation, testing and publishing
|
|
|
|
HELM_VERSION=v3.1.2
|
2020-06-22 13:20:33 +00:00
|
|
|
|
|
|
|
# minikube settings
|
2021-07-08 13:25:35 +00:00
|
|
|
MINIKUBE_VERSION=v1.22.0
|
2020-06-22 13:20:33 +00:00
|
|
|
VM_DRIVER=none
|
|
|
|
CHANGE_MINIKUBE_NONE_USER=true
|
2020-06-24 06:15:58 +00:00
|
|
|
|
2020-11-19 12:18:24 +00:00
|
|
|
# Rook options
|
2021-05-12 17:49:39 +00:00
|
|
|
ROOK_VERSION=v1.6.2
|
2021-02-08 13:51:25 +00:00
|
|
|
# Provide ceph image path
|
2021-04-29 13:22:20 +00:00
|
|
|
ROOK_CEPH_CLUSTER_IMAGE=docker.io/ceph/ceph:v16
|
2020-11-19 12:18:24 +00:00
|
|
|
|
2020-06-24 06:15:58 +00:00
|
|
|
# e2e settings
|
|
|
|
# - enable CEPH_CSI_RUN_ALL_TESTS when running tests with if it has root
|
|
|
|
# permissions on the host
|
|
|
|
#CEPH_CSI_RUN_ALL_TESTS=true
|
2021-02-09 12:03:17 +00:00
|
|
|
E2E_TIMEOUT=90m
|
2020-07-03 08:14:46 +00:00
|
|
|
DEPLOY_TIMEOUT=10
|