Skip to content

Commit

Permalink
noteetotty
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFeledy committed Oct 29, 2024
1 parent cb0d289 commit 5af9eba
Show file tree
Hide file tree
Showing 13 changed files with 51 additions and 51 deletions.
8 changes: 4 additions & 4 deletions examples/5.6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G"
lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1"

# Should install composer 2.2.x by default
lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2."
lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2."

# Should have unlimited memory for php for CLI opts
lando php -i | grep memory_limit | grep -e "-1"
Expand All @@ -62,7 +62,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN
lando exec custom -- php -v | grep "PHP 5.6"

# Should install composer 2.2.x if composer_version is set to true
lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2."
lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2."

# Should serve via nginx if specified
lando exec custom_nginx -- curl http://localhost | grep "WEBDIR"
Expand All @@ -77,7 +77,7 @@ lando exec custom -- php -m | grep "xdebug"
lando exec cli -- curl http://localhost || echo $? | grep 7

# Should install the latest composer 1.x using the 1 flag
lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1."
lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1."

# Should use custom php ini if specified
lando exec custom -- php -i | grep memory_limit | grep 514
Expand Down Expand Up @@ -113,7 +113,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT
lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity

# Should install the latest composer 2.2.x by default.
lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2."
lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2."
```

## Destroy tests
Expand Down
8 changes: 4 additions & 4 deletions examples/7.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G"
lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1"

# Should install composer 2.2.x by default
lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2."
lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2."

# Should have unlimited memory for php for CLI opts
lando php -i | grep memory_limit | grep -e "-1"
Expand All @@ -63,7 +63,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN
lando exec custom -- php -v | grep "PHP 7.0"

# Should install composer 2.x if 2-latest is set
lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should serve via nginx if specified
lando exec custom_nginx -- curl http://localhost | grep "WEBDIR"
Expand All @@ -78,7 +78,7 @@ lando exec custom -- php -m | grep "xdebug"
lando exec cli -- curl http://localhost || echo $? | grep 7

# Should install the latest composer 1.x using the 1 flag
lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1."
lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1."

# Should use custom php ini if specified
lando exec custom -- php -i | grep memory_limit | grep 514
Expand Down Expand Up @@ -114,7 +114,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT
lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity

# Should install the latest composer 1.x when composer_version is false
lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1."
lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1."

# Should have node14 installed in cli service
lando node -v | grep v14.
Expand Down
8 changes: 4 additions & 4 deletions examples/7.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G"
lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1"

# Should install composer 2.2.x by default
lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2."
lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2."

# Should have unlimited memory for php for CLI opts
lando php -i | grep memory_limit | grep -e "-1"
Expand All @@ -63,7 +63,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN
lando exec custom -- php -v | grep "PHP 7.1"

# Should install composer 2.x if 2-latest is set
lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should serve via nginx if specified
lando exec custom_nginx -- curl http://localhost | grep "WEBDIR"
Expand All @@ -78,7 +78,7 @@ lando exec custom -- php -m | grep "xdebug"
lando exec cli -- curl http://localhost || echo $? | grep 7

# Should install the latest composer 1.x using the 1 flag
lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1."
lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1."

# Should use custom php ini if specified
lando exec custom -- php -i | grep memory_limit | grep 514
Expand Down Expand Up @@ -114,7 +114,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT
lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity

# Should install the latest composer 1.x if composer_version is set to false
lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1."
lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1."

# Should have node14 installed in cli service
lando node -v | grep v14.
Expand Down
8 changes: 4 additions & 4 deletions examples/7.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G"
lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1"

# Should install composer 2.2.x by default
lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2"
lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2"

# Should have unlimited memory for php for CLI opts
lando php -i | grep memory_limit | grep -e "-1"
Expand All @@ -63,7 +63,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN
lando exec custom -- php -v | grep "PHP 7.2"

# Should install composer 2.x if 2-latest is set
lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should serve via nginx if specified
lando exec custom_nginx -- curl http://localhost | grep "WEBDIR"
Expand All @@ -78,7 +78,7 @@ lando exec custom -- php -m | grep "xdebug"
lando exec cli -- curl http://localhost || echo $? | grep 7

# Should install the latest composer 1.x using the 1 flag
lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1."
lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1."

# Should use custom php ini if specified
lando exec custom -- php -i | grep memory_limit | grep 514
Expand Down Expand Up @@ -114,7 +114,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT
lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity

# Should install the latest composer 1.x if composer_version is set to false
lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1."
lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1."

# Should have node14 installed in cli service
lando node -v | grep v14.
Expand Down
6 changes: 3 additions & 3 deletions examples/7.3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G"
lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1"

# Should install composer 2.x by default
lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have unlimited memory for php for CLI opts
lando php -i | grep memory_limit | grep -e "-1"
Expand All @@ -63,7 +63,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN
lando exec custom -- php -v | grep "PHP 7.3"

# Should install composer 2.x if 2-latest is set
lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should serve via nginx if specified
lando exec custom_nginx -- curl http://localhost | grep "WEBDIR"
Expand Down Expand Up @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT
lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity

# Should install the composer 2.x using the false flag
lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have node14 installed in cli service
lando node -v | grep v14.
Expand Down
6 changes: 3 additions & 3 deletions examples/7.4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G"
lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1"

# Should install composer 2.x by default
lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have unlimited memory for php for CLI opts
lando php -i | grep memory_limit | grep -e "-1"
Expand All @@ -63,7 +63,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN
lando exec custom -- php -v | grep "PHP 7.4"

# Should install composer 2.x if 2-latest is set
lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should serve via nginx if specified
lando exec custom_nginx -- curl http://localhost | grep "WEBDIR"
Expand Down Expand Up @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT
lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity

# Should install the latest composer 2.x by default.
lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have node14 installed in cli service
lando node -v | grep v14.
Expand Down
8 changes: 4 additions & 4 deletions examples/8.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G"
lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1"

# Should install composer 2.x by default
lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have unlimited memory for php for CLI opts
lando php -i | grep memory_limit | grep -e "-1"
Expand All @@ -60,7 +60,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN
lando exec custom -- php -v | grep "PHP 8.0"

# Should install composer 2.1.12 if version number is set
lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.1.12"
lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.1.12"

# Should serve via nginx if specified
lando exec custom_nginx -- curl http://localhost | grep "WEBDIR"
Expand All @@ -75,7 +75,7 @@ lando exec custom -- php -m | grep "xdebug"
lando exec cli -- curl http://localhost || echo $? | grep 7

# Should install the composer 2.x using the false flag
lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should use custom php ini if specified
lando exec custom -- php -i | grep memory_limit | grep 514
Expand Down Expand Up @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT
lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity

# Should install the latest composer 2.x by default.
lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have node14 installed in cli service
lando node -v | grep v14.
Expand Down
8 changes: 4 additions & 4 deletions examples/8.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G"
lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1"

# Should install composer 2.x by default
lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have unlimited memory for php for CLI opts
lando php -i | grep memory_limit | grep -e "-1"
Expand All @@ -60,7 +60,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN
lando exec custom -- php -v | grep "PHP 8.1"

# Should install composer 2.1.12 if version number is set
lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.1.12"
lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.1.12"

# Should serve via nginx if specified
lando exec custom_nginx -- curl http://localhost | grep "WEBDIR"
Expand All @@ -75,7 +75,7 @@ lando exec custom -- php -m | grep "xdebug"
lando exec cli -- curl http://localhost || echo $? | grep 7

# Should install the composer 2.x using the false flag
lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should use custom php ini if specified
lando exec custom -- php -i | grep memory_limit | grep 514
Expand Down Expand Up @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT
lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity

# Should install the latest composer 2.x by default.
lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have node14 installed in cli service
lando node -v | grep v14.
Expand Down
8 changes: 4 additions & 4 deletions examples/8.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G"
lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1"

# Should install composer 2.x by default
lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have unlimited memory for php for CLI opts
lando php -i | grep memory_limit | grep -e "-1"
Expand All @@ -60,7 +60,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN
lando exec custom -- php -v | grep "PHP 8.2"

# Should install composer 2.2.18 if version number is set
lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2.18"
lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2.18"

# Should serve via nginx if specified
lando exec custom_nginx -- curl http://localhost | grep "WEBDIR"
Expand All @@ -75,7 +75,7 @@ lando exec custom -- php -m | grep "xdebug"
lando exec cli -- curl http://localhost || echo $? | grep 7

# Should install the composer 2.x using the false flag
lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should use custom php ini if specified
lando exec custom -- php -i | grep memory_limit | grep 514
Expand Down Expand Up @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT
lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity

# Should install the latest composer 2.x by default.
lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have node14 installed in cli service
lando node -v | grep v14.
Expand Down
8 changes: 4 additions & 4 deletions examples/8.3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G"
lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1"

# Should install composer 2.x by default
lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have unlimited memory for php for CLI opts
lando php -i | grep memory_limit | grep -e "-1"
Expand All @@ -60,7 +60,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN
lando exec custom -- php -v | grep "PHP 8.3"

# Should install composer 2.5.6 if version number is set
lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.5.6"
lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.5.6"

# Should serve via nginx if specified
lando exec custom_nginx -- curl http://localhost | grep "WEBDIR"
Expand All @@ -75,7 +75,7 @@ lando exec custom -- php -m | grep "xdebug"
lando exec cli -- curl http://localhost || echo $? | grep 7

# Should install the composer 2.x using the false flag
lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should use custom php ini if specified
lando exec custom -- php -i | grep memory_limit | grep 514
Expand Down Expand Up @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT
lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity

# Should install the latest composer 2.x by default.
lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2."
lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2."

# Should have node14 installed in cli service
lando node -v | grep v14.
Expand Down
Loading

0 comments on commit 5af9eba

Please sign in to comment.