Skip to content

Commit

Permalink
Updating logging, archiving che-patch-cr.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Tibor Dancs (tdancs-dogfooding) <[email protected]>
  • Loading branch information
ScrewTSW authored and ibuziuk committed Jul 20, 2023
1 parent c0415a2 commit ef9731e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .ci/oci-dashboard-happy-path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ startHappyPathTest() {
trap 'collectLogs $?' EXIT SIGINT

# Deploy Eclipse Che with a custom dashboard image
mkdir ${ARTIFACT_DIR}/e2e
cat > /tmp/che-cr-patch.yaml <<EOF
apiVersion: org.eclipse.che/v2
spec:
Expand All @@ -168,6 +169,7 @@ spec:
- image: '${CI_CHE_DASHBOARD_IMAGE}'
imagePullPolicy: Always
EOF
cp /tmp/che-cr-patch.yaml ${ARTIFACT_DIR}/e2e/
chectl server:deploy \
--platform openshift \
--che-operator-cr-patch-yaml /tmp/che-cr-patch.yaml \
Expand All @@ -187,10 +189,7 @@ sleep 3

# Download artifacts
echo "[INFO] Downloading test report."
mkdir ${ARTIFACT_DIR}/e2e
mkdir ${ARTIFACT_DIR}/ffmpeg_report
oc rsync -n ${CHE_NAMESPACE} ${HAPPY_PATH_POD_NAME}:/tmp/e2e/report/ ${ARTIFACT_DIR}/e2e -c download-reports
# oc rsync -n ${CHE_NAMESPACE} ${HAPPY_PATH_POD_NAME}:/tmp/ffmpeg_report/ ${ARTIFACT_DIR}/ffmpeg_report -c download-reports
oc exec -n ${CHE_NAMESPACE} ${HAPPY_PATH_POD_NAME} -c download-reports -- touch /tmp/done
EXIT_CODE=$(oc logs -n ${CHE_NAMESPACE} ${HAPPY_PATH_POD_NAME} -c happy-path-test | grep EXIT_CODE)
if [[ ${EXIT_CODE} != "+ EXIT_CODE=0" ]]; then
Expand Down

0 comments on commit ef9731e

Please sign in to comment.