Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.lando.yml
README.md

README.md

Memcached Example

This example exists primarily to test the following documentation:

Start up tests

Run the following commands to get up and running with this example.

# Should start up successfully
lando poweroff
lando start

Verification commands

Run the following commands to validate things are rolling as they should.

# Should use 1.x as the default version
lando ssh -s defaults -c "memcached --version | grep 1."

# Should use the user specified version if given
lando ssh -s custom -c "memcached --version | grep 1.5.12"

# Should use the user specifiec patch version if given
lando ssh -s patch -c "memcached --version | grep 1.5.11"

# Should set the default cache size to 64
lando ssh -s defaults -c "env | grep MEMCACHED_CACHE_SIZE=64"

# Should set the user specified cache size if given
lando ssh -s custom -c "env | grep MEMCACHED_CACHE_SIZE=256"

Destroy tests

Run the following commands to trash this app like nothing ever happened.

# Should be destroyed with success
lando destroy -y
lando poweroff