su-sws / drupal-caravan
All the tools you need for running behat and visual regression tests within your site directory.
Installs: 579
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 1
Language:Python
Type:project
Requires
- behat/behat: ^3.3
- behat/mink: ^1.7
- behat/mink-goutte-driver: ^1.2
- behat/mink-selenium2-driver: ^1.3.1
- bex/behat-screenshot: ^1.2
- drupal/drupal-driver: ^1.2.1
- drupal/drupal-extension: ~3.0
- emuse/behat-html-formatter: dev-master
- geerlingguy/drupal-vm: 4.5
- jarnaiz/behat-junit-formatter: ^1.3
- jcalderonzumba/gastonjs: ^1.1
- jcalderonzumba/mink-phantomjs-driver: ~0.3.3
- lakion/mink-debug-extension: ^1.2
- psr/log: *
- su-sws/linky_clicky: 6.x-dev
- weavora/mink-extra-context: dev-master
This package is not auto-updated.
Last update: 2020-02-14 20:25:01 UTC
README
Pieces have been moved to separate repositories for further development.
Version: 8.x-1.x
Maintainers: kbrownell
Changelog: Changelog.txt
Description
Most simply, Caravan is a set of scripts that allow us to integrate existing continuous integration tools, like Travis and BLT, into our development workflow. In the language of supply chain or transportation management, Caravan covers the last mile.
Scripts are organized and run with Ansible. We run as much as possible within the controlled environment of a Docker container based on a DrupalVM image, which can move between pieces of the CI toolchain. And, as much as possible, take advantage of features provided by each piece of the toolchain.
For example, BLT excels at installing a Drupal site and refreshing the database and files from production. Instead of writing custom scripts to manage these actions, we’ll use BLT commands.
Installation
- You'll need permissions and ssh access to a site on Acquia.
- You'll also need to clone a local copy of the site you want to build, and run
composer install
. - Create a local copy of the caravan.yml configuration file and save it in the root directory of your build repository, ie.
cp vendor/su-sws/drupal-caravan/default.caravan.yml caravan.yml
. Update values specific to your local machine. - From the root directory of a build repository run,
vendor/bin/blt sws:caravan
. - After a very long while, you should be able to find your site at http://[SITENAME].local:9000.
Troubleshooting
Every personal machine is different. You may have an old version of python systemtools that causes problems. Or an application already running on port 9000. We are keeping a list of known issues in this quickly changing document.
Contribution / Collaboration
You are welcome to contribute functionality, bug fixes, or documentation to this module. If you would like to suggest a fix or new functionality you may add a new issue to the GitHub issue queue or you may fork this repository and submit a pull request. For more help please see GitHub's article on fork, branch, and pull requests