Skip to content

Commit

Permalink
Address minor changes.
Browse files Browse the repository at this point in the history
Signed-off-by: kkanova <kkanova@redhat.com>
  • Loading branch information
Katka92 committed Jul 2, 2019
1 parent 168aa3e commit 337c4bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions dockerfiles/e2e/docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/bash
# Copyright (c) 2019 Red Hat, Inc.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html

if [ -z $TS_SELENIUM_BASE_URL ]; then
if [ -z "$TS_SELENIUM_BASE_URL" ]; then
echo "TS_SELENIUM_BASE_URL is not set!";
exit 1
fi
Expand All @@ -15,11 +20,11 @@ echo "You can watch locally using VNC with IP: $hostname"

if mount | grep 'local_tests'; then
echo "The local code is mounted. Executing local code."
cd local_tests
cd local_tests || exit
npm i
else
echo "Executing e2e tests from an image."
cd e2e
cd e2e || exit
fi

npm run test
2 changes: 1 addition & 1 deletion dockerfiles/e2e/google-chrome.repo
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

0 comments on commit 337c4bf

Please sign in to comment.