Skip to content

Commit 555135f

Browse files
authored
Merge pull request #1573 from aramase/aramase/t/yaml_test
test: use e2e-provider for manifest tests
2 parents f49f22f + fd1821b commit 555135f

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

test/bats/azure.bats

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ if [ -z "$AUTO_ROTATE_SECRET_NAME" ]; then
2020
export AUTO_ROTATE_SECRET_NAME=secret-$(openssl rand -hex 6)
2121
fi
2222

23-
if [ -z "$IS_YAML_TEST" ]; then
24-
export IS_YAML_TEST=false
25-
fi
26-
2723
export KEYVAULT_NAME=${KEYVAULT_NAME:-csi-secrets-store-e2e}
2824
export SECRET_NAME=${KEYVAULT_SECRET_NAME:-secret1}
2925
export SECRET_VERSION=${KEYVAULT_SECRET_VERSION:-""}

test/scripts/e2e_provider.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,15 @@
1515
# limitations under the License.
1616

1717
echo "running e2e provider test"
18-
make e2e-bootstrap e2e-mock-provider-container e2e-helm-deploy e2e-provider-deploy e2e-provider
18+
make e2e-bootstrap e2e-mock-provider-container
19+
20+
# if YAML_TEST env var is true, then use e2e-deploy-manifest instead of e2e-helm-deploy
21+
if [ "$IS_YAML_TEST" = "true" ]; then
22+
echo "Deploying driver using manifest"
23+
make e2e-deploy-manifest
24+
else
25+
echo "Deploying driver using helm chart"
26+
make e2e-helm-deploy
27+
fi
28+
29+
make e2e-provider-deploy e2e-provider

0 commit comments

Comments
 (0)