Skip to content

Commit 16abf77

Browse files
committed
updates & fixes
1 parent d65010d commit 16abf77

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ RUN chmod +x /usr/bin/chromedriver-compatibility-matrix.php
157157
ADD commands/dusk-versions-check.php /usr/bin/dusk-versions-check.php
158158
RUN chmod +x /usr/bin/dusk-versions-check.php
159159

160-
ADD commands/start-chromedriver.sh /usr/bin/start-chromedriver
161-
RUN chmod +x /usr/bin/start-chromedriver
160+
ADD commands/start-system-chromedriver.sh /usr/bin/start-system-chromedriver
161+
RUN chmod +x /usr/bin/start-system-chromedriver
162162

163163
ADD commands/start-project-chromedriver.sh /usr/bin/start-project-chromedriver
164164
RUN chmod +x /usr/bin/start-project-chromedriver

commands/chrome-system-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ php /usr/bin/dusk-versions-check.php ${SYSTEMCHROME} ${SYSTEMCHROMEDRIVER} ${LAR
1616
COMPATIBLE=$(php /usr/bin/dusk-versions-check.php ${SYSTEMCHROME} ${SYSTEMCHROMEDRIVER} ${LARAVELCHROMEDRIVER} 0)
1717
if [[ "$COMPATIBLE" != "OK" ]]; then
1818
printf "${GREEN}Starting system Chromedriver (${SYSTEMCHROMEDRIVER}).\n"
19-
source start-chromedriver
19+
source start-system-chromedriver
2020
else
2121
printf "${GREEN}Starting compatible (project) Chromedriver (${LARAVELCHROMEDRIVER}).${NC}\n"
2222
source start-project-chromedriver

commands/dusk-versions-check.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
print $yellow."You can use both Chromedriver shipped with Laravel (".$laravel_chromedriver.") or system Chromeriver (".$system_chromedriver.")".PHP_EOL;
2727
print $yellow."Your project Chromedriver will be automatically started in this case.".PHP_EOL;
2828
print $yellow."If you want to explicitly run system Chromedriver please add the following command to your .gitlab-yml:".PHP_EOL;
29-
print $yellow."start-chromedriver".PHP_EOL;
29+
print $yellow."- start-chromedriver".PHP_EOL;
3030

3131
} else {
3232
print $red."Chromedriver shipped with your Laravel installation is NOT compatible with current system chrome version!".PHP_EOL;

0 commit comments

Comments
 (0)