diff --git a/.circleci/config.yml b/.circleci/config.yml
index b7d5ffa0..ade03a5a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -6,7 +6,7 @@ jobs:
build:
working_directory: ~/example
docker:
- - image: circleci/php:7.3-node-browsers
+ - image: circleci/php:7.4-node-browsers
- image: circleci/mysql:5.7-ram
command: --max_allowed_packet=16M
environment:
@@ -16,8 +16,7 @@ jobs:
environment:
- PALANTIR_ENVIRONMENT: circleci
- - DRUPAL_ROOT: web
- - NODE_VERSION: 8
+ - DRUPAL_ROOT: docroot
steps:
- run:
@@ -25,14 +24,6 @@ jobs:
command: |
sudo apt-get update
sudo apt-get install -y libpng-dev default-mysql-client
- - run:
- name: Install nvm
- command: |
- set +e
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
- touch $BASH_ENV
- echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV
- echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
- run:
name: Install PHP extensions
command: sudo docker-php-ext-install pdo_mysql gd
@@ -46,7 +37,7 @@ jobs:
command: mkdir /tmp/artifacts
- run:
name: Configure URL in /etc/hosts
- command: echo 127.0.0.1 ${CIRCLE_PROJECT_REPONAME}.local | sudo tee -a /etc/hosts
+ command: echo 127.0.0.1 example.ddev.site | sudo tee -a /etc/hosts
# Note: phing and drupal-check have mutually exclusive requirements.
# It'd be better to add drupal-check as a dependency of the drupal project
@@ -57,10 +48,8 @@ jobs:
- run:
name: Install drupal-check
command: |
- curl -O -L https://github.com/mglaman/drupal-check/releases/download/1.0.9/drupal-check.phar
- mkdir --parents ~/bin
- mv drupal-check.phar ~/bin/drupal-check
- chmod +x ~/bin/drupal-check
+ composer global require mglaman/drupal-check
+ ln -s ~/.config/composer/vendor/bin ~/bin
# Composer package cache
- restore_cache:
@@ -75,7 +64,7 @@ jobs:
# Create a new project using the drupal-skeleton project
- run:
name: Create a new Drupal project
- command: composer create-project palantirnet/drupal-skeleton example --no-interaction
+ command: composer create-project palantirnet/drupal-skeleton example dev-develop --no-interaction
working_directory: ~/
# Use this copy of the-build
@@ -95,7 +84,7 @@ jobs:
# Install the-build
- run:
name: Install the-build in the project
- command: printf 'http://the-build.local\nother\nn' | vendor/bin/the-build-installer
+ command: printf '\n\n\nn' | vendor/bin/the-build-installer
- run:
name: Wait for DB
@@ -119,12 +108,12 @@ jobs:
# Add a multisite
- run:
name: Add a multisite to the project
- command: printf 'intranet\nintranet.the-build.local' | vendor/bin/phing drupal-add-multisite
+ command: printf 'intranet\nintranet.example.ddev.site' | vendor/bin/phing drupal-add-multisite
- run:
name: Run Behat tests
command: |
- nohup php -S ${CIRCLE_PROJECT_REPONAME}.local:8000 -t $(pwd)/${DRUPAL_ROOT}/ > /tmp/artifacts/phpd.log 2>&1 &
+ nohup php -S example.ddev.site:8000 -t $(pwd)/${DRUPAL_ROOT}/ > /tmp/artifacts/phpd.log 2>&1 &
vendor/bin/phing test -Dbuild.env=circleci
- store_artifacts:
diff --git a/targets/install.xml b/targets/install.xml
index e09cf1ce..c2639781 100644
--- a/targets/install.xml
+++ b/targets/install.xml
@@ -76,7 +76,95 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skipping Drupal installation, since the database is not available.
+
+ From within a development environment, you can run `phing install` to install Drupal.
+
+
+
+
+
+
+
+ Successfully installed the-build. Next, you may want to run:
+
+ $> phing list
+ $> phing install
+ $> phing test
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
@@ -162,9 +209,6 @@
-
-
-
@@ -184,83 +228,46 @@
+
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- Skipping Drupal installation, since the database is not available.
+
+
+
+
+
+
- From within a development environment, you can run `phing install` to install Drupal.
-
-
-
+
+
+
-
-
+
+
+
- Successfully installed the-build. Next, you may want to run:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- $> phing list
- $> phing install
- $> phing test
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-