Skip to content

Commit 34f7895

Browse files
committed
Use up to date che sample for happy path test
1 parent 9fd9a7a commit 34f7895

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/oci-devworkspace-happy-path.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ trap 'Catch_Finish $?' EXIT SIGINT
3636
export CI="openshift"
3737
export NAMESPACE="eclipse-che"
3838
export HAPPY_PATH_POD_NAME=happy-path-che
39-
export HAPPY_PATH_DEVFILE='https://gist.githubusercontent.com/l0rd/71a04dd0d8c8e921b16ba2690f7d5a47/raw/d520086e148c359b18c229328824dfefcf85e5ef/spring-petclinic-devfile-v2.0.0.yaml'
39+
export HAPPY_PATH_TEST_PROJECT='https://github.com/che-samples/java-spring-petclinic/tree/devfilev2'
4040
# Pod created by openshift ci don't have user. Using this envs should avoid errors with git user.
4141
export GIT_COMMITTER_NAME="CI BOT"
4242
export GIT_COMMITTER_EMAIL="[email protected]"
@@ -60,7 +60,7 @@ EOL
6060
startHappyPathTest() {
6161
# patch happy-path-che.yaml
6262
ECLIPSE_CHE_URL=http://$(oc get route -n "${NAMESPACE}" che -o jsonpath='{.status.ingress[0].host}')
63-
TS_SELENIUM_DEVWORKSPACE_URL="${ECLIPSE_CHE_URL}/#${HAPPY_PATH_DEVFILE}"
63+
TS_SELENIUM_DEVWORKSPACE_URL="${ECLIPSE_CHE_URL}/#${HAPPY_PATH_TEST_PROJECT}"
6464
HAPPY_PATH_POD_FILE=${SCRIPT_DIR}/resources/pod-che-happy-path.yaml
6565
sed -i "s@CHE_URL@${ECLIPSE_CHE_URL}@g" ${HAPPY_PATH_POD_FILE}
6666
sed -i "s@WORKSPACE_ROUTE@${TS_SELENIUM_DEVWORKSPACE_URL}@g" ${HAPPY_PATH_POD_FILE}

0 commit comments

Comments
 (0)