Skip to content

Commit 9b0c5a8

Browse files
Merge pull request #619 from varshab1210/fix-dynamic-plugin-test
Fix dynamic plugin test for OCP 4.15
2 parents 15e270c + 1216d70 commit 9b0c5a8

File tree

2 files changed

+4
-29
lines changed

2 files changed

+4
-29
lines changed

test/openshift/e2e/sequential/1-085_validate_dynamic_plugin_installation/01-errors.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

test/openshift/e2e/sequential/1-085_validate_dynamic_plugin_installation/02-install-dynamic-plugin.yaml renamed to test/openshift/e2e/sequential/1-085_validate_dynamic_plugin_installation/01-install-dynamic-plugin.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ commands:
88
csv_name=$(oc get csv -n openshift-gitops-operator | awk '/gitops-operator/ {print $1}')
99
ocp_version=$(oc version | awk '/Server Version/ {split($3,a,"-"); print a[1]}')
1010
11+
if [[ ${ocp_version} =~ "4.15" ]]; then
12+
exit 0
13+
fi
14+
1115
# Patch the CSV to add the necessary env key:value for Dynamic Plugin
1216
oc patch csv "${csv_name}" -n openshift-gitops-operator \
1317
--type='json' \

0 commit comments

Comments
 (0)