Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Next try #24
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Okhrimenko <[email protected]>
  • Loading branch information
Ohrimenko1988 committed Jun 3, 2020
1 parent c25b15d commit 91140be
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .ci/cico-devfile-pr-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ function archiveArtifacts() {

set -x
set -e
#Download the "common-qe" functions

#Download and import the "common-qe" functions
DOWNLOADER_URL=https://raw.githubusercontent.com/eclipse/che/iokhrime-common-centos/.ci/common-qe/downloader.sh
curl $DOWNLOADER_URL -o downloader.sh
chmod u+x downloader.sh
Expand All @@ -47,8 +48,12 @@ pwd
ls -al
ls -al common-qe


# BUILD_SCRIPT_PATH=$(readConfigProperty build.script.path)
# BUILD_AND_PUSH_METHOD_NAME=$(readConfigProperty build.and.push.method.name)

#Import methods
. cico_functions.sh
# . "$BUILD_SCRIPT_PATH"


export IS_TESTS_FAILED="false"
Expand All @@ -62,9 +67,9 @@ setup_environment

export TAG="PR-${ghprbPullId}"
export IMAGE_NAME="quay.io/eclipse/che-devfile-registry:$TAG"
build_and_push
buildAndPushRepoDockerImage "$TAG"

export FAIL_MESSAGE="Build passed. Image is available on $IMAGE_NAME"
# export FAIL_MESSAGE="Build passed. Image is available on $IMAGE_NAME"

# Install test deps
installOC
Expand Down

0 comments on commit 91140be

Please sign in to comment.