-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample_config
156 lines (127 loc) · 5.89 KB
/
sample_config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# This file contains all configurable parameters for the testing script, their
# defaults, and in some cases additional examples.
# Set to anything to enable script debugging
DEBUG=''
# OpenShift version to use: 4.6 or 4.7
OPENSHIFT_VERSION='4.7'
# Location where we want to untar and keep the crc binary after untaring it
CRC_DIR=~/crc-linux
# Directory where deployment and test manifest directories are
MANIFEST_DIR="${SCRIPT_DIR}/manifests"
# Directory to store test running artifacts such as logs and the cluster
# access configuration
ARTIFACTS_DIR="${SCRIPT_DIR}/test-artifacts"
# Directory to store yum, dnf, pip, and wheel caches.
CACHE_DIR="${ARTIFACTS_DIR}/caches"
# OpenShift pull secret, required!
# You can download and use your own secret from
# https://cloud.redhat.com/openshift/install/crc/installer-provisioned
SECRET_FILE="pull-secret"
# POST_RUN_PHASE_EXEC
# Path to an executable to be run after the start script executes the crc start
# command and waits for the deployment to be ready.
# Manifest with the storage array's configuration options.
# We can do this step manually by running the script up to the container, then
# using the web console to deploy the driver using the form (make sure to name
# it "backend"), and then running the e2e tests or just extract the
# configuration options used by the form.
DRIVER_FILE='lvmdriver.yaml'
# Catalog entry to use. Valid values are community, redhat, custom
# Ignored if CATALOG_SOURCE is defined
CATALOG=community
# CATALOG_SOURCE
# Assume it's from source code if a directory exists with this name,
# otherwise it should be a container: [registry/][project/]container[:tag]
# This must be a catalog bundle, not an index
# Examples:
# CATALOG_SOURCE=/home/geguileo/code/ember-csi-operator
# CATALOG_SOURCE=quay.io/embercsi/embercsi-catalog:test
# CATALOG_DOCKERFILE
# When CATALOG_SOURCE is a directory with the source code, here we have the
# Dockerfile location relative to the CATALOG_SOURCE directory.
# Defaults to Dockerfile
# CATALOG_CONTEXT
# The container building context path for the catalog relative to
# CATALOG_SOURCE for when it's not the base directory of CATALOG_SOURCE.
# Defaults to the CATALOG_SOURCE location.
# Example:
# CATALOG_CONTEXT=deploy/
# INDEX_SOURCE
# Assume it's from source code if a directory exists with this name,
# otherwise it should be a container: [registry/][project/]container[:tag]
# This must be an index, not a catalog bundle
# Examples:
# INDEX_SOURCE=/home/geguileo/code/ember-csi-operator
# INDEX_SOURCE=quay.io/embercsi/embercsi-catalog:test
# INDEX_DOCKERFILE
# When INDEX_SOURCE is a directory with the source code, here we have the
# Dockerfile location relative to the INDEX_SOURCE directory.
# Defaults to build/Dockerfile.catalog
# INDEX_CONTEXT
# The container building context path for the catalog relative to
# INDEX_SOURCE for when it's not the base directory of INDEX_SOURCE.
# Example/default:
# INDEX_CONTEXT=deploy/olm-catalog
# A template used to build the string with the container that has the e2e tests
E2E_CONTAINER_TEMPLATE='embercsi/openshift-tests:${OPENSHIFT_VERSION}'
# DRIVER_SOURCE
# Assume it's from source code if a directory exists with this name,
# otherwise it should be a container: [registry/][project/]container[:tag]
# Examples:
# DRIVER_SOURCE=/home/geguileo/code/ember-csi
# DRIVER_SOURCE=quay.io/embercsi/ember-csi:latest
#
# DRIVER_DOCKERFILE
# When DRIVER_SOURCE is a directory with the source code, here we have the
# Dockerfile location relative to the DRIVER_SOURCE directory.
# Defaults to Dockerfile
#
# DRIVER_REGISTRY
# URL of the registry we want to impersonate. For example: quay.io
#
# DRIVER_CONTAINER
# Container we want to impersonate, in the form of project/container[:tag]
# OPERATOR_SOURCE
# Assume it's from source code if a directory exists with this name,
# otherwise it should be a container: [registry/][project/]container[:tag]
# Examples:
# OPERATOR_SOURCE=/home/geguileo/code/ember-csi-operator
# OPERATOR_SOURCE=quay.io/embercsi/ember-csi-operator:latest
#
# OPERATOR_DOCKERFILE
# When OPERATOR_SOURCE is a directory with the source code, here we have the
# Dockerfile location relative to the OPERATOR_SOURCE directory.
# Defaults to build/Dockerfile.multistage
#
# OPERATOR_REGISTRY
# URL of the registry we want to impersonate. For example: quay.io
#
# OPERATOR_CONTAINER
# Container we want to impersonate, in the form of project/container[:tag]
# EXAMPLES OF USING DIFFERENT CONTAINERS
#==============================================================================
# Custom Ember-CSI driver image from prepository with upstream operator
# # Upstream operator with downstream driver
# DRIVER_REGISTRY=
# DRIVER_CONTAINER='embercsi/ember-csi:master'
# DRIVER_SOURCE='my-registry.com/my-project/ember-csi-ember-csi-driver:latest'
#==============================================================================
# Custom Ember-CSI driver and operator images from repository
# Using the upstream catalog, so we need to impersonate the operator from
# quay.io with the container we want.
# OPERATOR_REGISTRY='quay.io'
# OPERATOR_CONTAINER='embercsi/ember-csi-operator:latest'
# OPERATOR_SOURCE='my-registry.com/my-project/ember-csi-ember-csi-operator:latest'
# DRIVER_REGISTRY='my-registry.com'
# DRIVER_CONTAINER='my-project/ember-csi:master'
# DRIVER_SOURCE='my-registry.com/my-project/ember-csi-ember-csi-driver:latest'
#==============================================================================
# Custom operator and driver images built from source code
# OPERATOR_REGISTRY='quay.io'
# OPERATOR_CONTAINER='embercsi/ember-csi-operator:latest'
# OPERATOR_SOURCE='/home/vagrant/ember-csi-operator'
# OPERATOR_DOCKERFILE='build/Dockerfile.multistage'
# DRIVER_REGISTRY=
# DRIVER_CONTAINER='embercsi/ember-csi:master'
# DRIVER_SOURCE='/home/vagrant/ember'
# DRIVER_DOCKERFILE='Dockerfile8'