Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Fixing versioning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Katka92 authored and ibuziuk committed Oct 22, 2019
1 parent 3579c2a commit 7fdd331
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion functional-tests/devscripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,12 @@ if [[ "$PR_CHECK_BUILD" == "true" ]]; then
rhche_image="quay.io/openshiftio/rhchestage-rh-che-e2e-tests:${version}"

#reuse image if exists or build new image for test
if docker pull $rhche_image | cat; then
set +e
docker pull $rhche_image > /dev/null 2>&1
docker_pull_exit_code=$?
set -e

if [[ $docker_pull_exit_code == 0 ]]; then
echo "RH-Che test image with tag ${version} found on docker. Reusing image."
else
echo "Could not found RH-Che tests image with tag ${version}."
Expand Down

0 comments on commit 7fdd331

Please sign in to comment.