Skip to content

Commit f3fdab2

Browse files
committed
Tweaks for Drush and Cypress
1 parent adc0b7f commit f3fdab2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ COPY drushrc.php /root/.drush
7777
COPY dotmy.cnf /root/.my.cnf
7878

7979
ENV PATH "/root/.composer/vendor/bin:${PATH}"
80-
ENV SIMPLETEST_BASE_URL http://localhost:8080/
80+
ENV SIMPLETEST_BASE_URL http://localhost:8080
81+
ENV CYPRESS_BASE_URL http://localhost:8080
8182
WORKDIR /projects
8283

8384
EXPOSE 8080

drushrc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22
$options['r'] = '/projects/drupal/web';
3-
$command_specific['site-install']['db-url'] = empty($_ENV['CIRCLECI'])
3+
$command_specific['site-install']['db-url'] = empty($_SERVER['CIRCLECI'])
44
? 'mysql://root@db/drupal'
55
: 'mysql://[email protected]/circle_test';

0 commit comments

Comments
 (0)