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
|
2024-04-02 15:08:52 +00:00
|
|
|
CSI_IMAGE_VERSION=v3.11-canary
|
2020-06-22 10:19:37 +00:00
|
|
|
|
2023-07-21 10:18:14 +00:00
|
|
|
# cephcsi upgrade version
|
2024-02-09 12:22:34 +00:00
|
|
|
CSI_UPGRADE_VERSION=v3.10.2
|
2023-07-21 10:18:14 +00:00
|
|
|
|
2020-06-22 13:54:18 +00:00
|
|
|
# Ceph version to use
|
2023-08-02 14:36:32 +00:00
|
|
|
BASE_IMAGE=quay.io/ceph/ceph:v18
|
|
|
|
CEPH_VERSION=reef
|
2020-06-22 13:54:18 +00:00
|
|
|
|
2020-06-22 10:19:37 +00:00
|
|
|
# standard Golang options
|
build: use Go 1.21.9 to include latest security fixes
Update from v1.21.5 to latest v1.21.9, to include the following fixes:
go1.21.6 (released 2024-01-09) includes fixes to the compiler, the
runtime, and the crypto/tls, maps, and runtime/pprof packages.
go1.21.7 (released 2024-02-06) includes fixes to the compiler, the go
command, the runtime, and the crypto/x509 package.
go1.21.8 (released 2024-03-05) includes security fixes to the
crypto/x509, html/template, net/http, net/http/cookiejar, and net/mail
packages, as well as bug fixes to the go command and the runtime.
go1.21.9 (released 2024-04-03) includes a security fix to the net/http
package, as well as bug fixes to the linker, and the go/types and
net/http packages.
See-also: https://go.dev/doc/devel/release#go1.21.0
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit ae7f513816d0faba42a7b6bc0953363d25e6ed69)
2024-04-11 08:42:56 +00:00
|
|
|
GOLANG_VERSION=1.21.9
|
2020-06-22 10:19:37 +00:00
|
|
|
GO111MODULE=on
|
2020-06-22 12:06:43 +00:00
|
|
|
|
2021-07-29 10:47:52 +00:00
|
|
|
# commitlint version
|
2021-08-04 12:21:16 +00:00
|
|
|
COMMITLINT_VERSION=latest
|
2021-07-29 10:47:52 +00:00
|
|
|
|
2020-06-22 12:06:43 +00:00
|
|
|
# static checks and linters
|
2023-12-19 10:25:55 +00:00
|
|
|
GOLANGCI_VERSION=v1.54.1
|
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
|
2024-04-22 06:20:46 +00:00
|
|
|
SNAPSHOT_VERSION=v7.0.2
|
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/
|
|
|
|
|
2023-05-22 07:30:40 +00:00
|
|
|
# URL for the script to install Helm
|
|
|
|
HELM_SCRIPT=https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
|
|
|
|
|
2020-06-22 12:48:32 +00:00
|
|
|
# helm chart generation, testing and publishing
|
2024-02-20 09:23:02 +00:00
|
|
|
HELM_VERSION=v3.14.1
|
2020-06-22 13:20:33 +00:00
|
|
|
|
|
|
|
# minikube settings
|
2023-11-24 16:09:16 +00:00
|
|
|
MINIKUBE_VERSION=v1.32.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
|
2023-08-02 14:44:42 +00:00
|
|
|
ROOK_VERSION=v1.12.1
|
2021-02-08 13:51:25 +00:00
|
|
|
# Provide ceph image path
|
2023-08-02 14:36:32 +00:00
|
|
|
ROOK_CEPH_CLUSTER_IMAGE=quay.io/ceph/ceph:v18
|
2020-11-19 12:18:24 +00:00
|
|
|
|
2021-08-16 04:58:46 +00:00
|
|
|
# CSI sidecar version
|
2024-04-22 06:20:46 +00:00
|
|
|
CSI_ATTACHER_VERSION=v4.5.1
|
|
|
|
CSI_SNAPSHOTTER_VERSION=v7.0.2
|
|
|
|
CSI_RESIZER_VERSION=v1.10.1
|
|
|
|
CSI_PROVISIONER_VERSION=v4.0.1
|
|
|
|
CSI_NODE_DRIVER_REGISTRAR_VERSION=v2.10.1
|
2021-08-16 04:58:46 +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
|
2022-05-24 09:48:22 +00:00
|
|
|
E2E_TIMEOUT=150m
|
2020-07-03 08:14:46 +00:00
|
|
|
DEPLOY_TIMEOUT=10
|