Awesome
Lagoon Examples
All of these examples are collected here to enable discovery, testing and cross-referencing
Adding a new example
The folders are added as submodules from the branches of the host projects To add a new example:
git submodule add -b main https://github.com/lagoon-examples/drupal-base.git drupal-base
git submodule update --init
To refresh local submodules
git submodule update --remote
Testing examples
This repository uses Leia from the awesome Lando team to run tests.
There are a selection of tests defined in the source repos.
To generate and run tests you need yarn installed:
yarn install
yarn generate-tests
- Look at the scripts section in package.json to select which tests to run.
- e.g.
yarn test:all
will run all tests