Skip to content

Commit 7250606

Browse files
authored
Merge pull request #288 from phracek/ocp4_testing
OCP 4 testing
2 parents bbf70fd + 7f95130 commit 7250606

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

7.3/test/test-lib-remote-openshift.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/test-lib-remote-openshift.sh

7.4/test/test-lib-remote-openshift.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/test-lib-remote-openshift.sh

test/run-openshift-remote-cluster

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,22 @@
1111
THISDIR=$(dirname ${BASH_SOURCE[0]})
1212

1313
source ${THISDIR}/test-lib-php.sh
14+
source ${THISDIR}/test-lib-openshift.sh
15+
source ${THISDIR}/test-lib-remote-openshift.sh
1416

1517
set -eo nounset
1618

1719
trap ct_os_cleanup EXIT SIGINT
1820

1921
ct_os_check_compulsory_vars
2022

23+
ct_os_set_ocp4
24+
25+
oc version
26+
2127
oc status || false "It looks like oc is not properly logged in."
2228

23-
export CT_SKIP_NEW_PROJECT=true
24-
export CT_SKIP_UPLOAD_IMAGE=true
25-
export CT_NAMESPACE=openshift
29+
export CT_EXTERNAL_REGISTRY=true
2630

2731
test_php_integration "${IMAGE_NAME}"
2832

test/test-lib-remote-openshift.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../common/test-lib-remote-openshift.sh

0 commit comments

Comments
 (0)