katalon-studio-samples / ci-samples

Sample configurations for various CI systems.
Apache License 2.0
54 stars 169 forks source link

Docker Desktop Mac - run_chrome.sh / run_firefox.sh #26

Closed tonyclemmey closed 4 years ago

tonyclemmey commented 4 years ago

Hello,

I'm new to docker but I have docker for desktop running on Mac. A Katalan Studio project example named "TestProject" and the following "run_chrome.sh" and/or "run_firefox.sh" scripts. My bash/sh path set.

#!/bin/sh

set -xe

rm -rfv ./reports/chrome
mkdir -p ./reports/chrome

docker run -t --rm -v "$(pwd)"/TestProject:/katalon/katalon/source "$(pwd)"/reports/chrome:/katalon/katalon/report katalonstudio/katalon katalon-execute.sh -browserType="Firefox" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/TestProjectAll"

  Now when I run these scripts I get the following error:

docker: invalid reference format: repository name must be lowercase

I have attempted to place the project outside Katalon Studio/ (to avoid folder with space) and I have attempted to rename the project folder to lowercase and project name in script.

I understand this is a docker thing but any reply/fix would be very helpful