You are here

acquia-pipelines.yml in Lightning Workflow 8

Same filename and directory in other branches
  1. 8.2 acquia-pipelines.yml

File

acquia-pipelines.yml
View source
  1. # This file is used by Acquia Pipelines continuous integration. It builds
  2. version: 1.1.0
  3. services:
  4. - mysql
  5. - php:
  6. version: 7.1
  7. events:
  8. build:
  9. steps:
  10. - setup:
  11. type: script
  12. script:
  13. # Add Composer's local bin directory to the PATH so that we will be
  14. # running our installed versions of Drush, PHPCS, Behat, etc.
  15. - export PATH="$HOME/.composer/vendor/bin:$SOURCE_DIR/vendor/bin:$PATH"
  16. - composer validate --no-check-all --ansi --no-interaction
  17. - composer install
  18. - install:
  19. type: script
  20. script:
  21. # Install and create settings.php file.
  22. - cd $SOURCE_DIR
  23. - mysql -u root -proot -e 'CREATE DATABASE drupal;'
  24. - lightning install 'mysql\://root:root@localhost/drupal' standard 'http://127.0.0.1:8080'
  25. - cleanup:
  26. type: script
  27. script:
  28. - cd $SOURCE_DIR
  29. - chmod +w docroot/sites/default/settings.php
  30. # Setup settings file and codebase with minimum required for cloud.
  31. - lightning configure:cloud workflownightly standard
  32. # Remove dev tools from the Cloud build.
  33. - composer require drush/drush:"8.1.16 as 9.2.1" --no-update
  34. - composer update drush/drush --with-all-dependencies