Branch: master
Find file History
Type Name Latest commit message Commit time
Failed to load latest commit information.
php First pass on core func tests Jan 25, 2019
www First pass on core func tests Jan 25, 2019
.lando.yml #1387: Added clarifying docs for global envir usage Feb 3, 2019 Fix spelling errors as suggested by codespell Feb 4, 2019
test.txt First pass on core func tests Jan 25, 2019

Services Example

This example exists primarily to test the following documentation:

See the Landofiles in this directory for the exact magicks.

Start up tests

# Should start successfully and verify build steps run at more or less the right times
lando poweroff
lando start

Verification commands

Run the following commands to verify things work as expected

# Should have mounted overridden nginx volume
lando ssh -s nginx -c "cat /var/www/test.txt | grep MOUNTED"

# Should have injected overriden envvar into nginx
lando ssh -s nginx -c "env | grep THING=STUFF"

# Should have built appserver from a custom docker image
lando ssh -s appserver -c "env | grep CUSTOM=PIROG"

# Should be able to rebuild without pulling local image
lando rebuild -y

Destroy tests

# Should destroy successfully
lando destroy -y
lando poweroff

# Should remove custom image
docker rmi --force pirog/php:7.1-fpm-custom