compose/pkg/e2e
Milas Bowman 9622395c8a e2e: ensure all Compose cmds standalone compatible
The E2E tests can be run in plugin (`docker compose`) or standalone
(`docker-compose`) mode. Existing logic was in place to ensure that
the helper method is always used, which will invoke the right one
based on how tests are being executed.

However, this logic was too easy to (unintentionally) bypass given
the myriad of ways that commands can be run. The check has been
made stricter and pushed to a lower-level to more aggressively
catch instances.

As a result, a bunch of calls to `RunDockerCmd` are now updated
to be `RunDockerComposeCmd`, which will ensure that the invocation
is correct based on test mode.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-06-16 15:51:54 -04:00
..
fixtures add support for setting secret from env variable 2022-06-15 17:06:48 +02:00
cancel_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
cascade_stop_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
compose_build_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
compose_down_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
compose_environment_test.go e2e: fix per-command env overrides 2022-06-16 11:27:39 -04:00
compose_exec_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
compose_run_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
compose_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
cp_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
ddev_test.go e2e: always set HOME + USER for cmd env 2022-06-16 09:44:40 -04:00
e2e_config_plugin.go Use build tags for selecting e2e test mode 2021-12-09 10:52:18 +01:00
e2e_config_standalone.go Use build tags for selecting e2e test mode 2021-12-09 10:52:18 +01:00
framework.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
ipc_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
logs_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
main_test.go Use build tags for selecting e2e test mode 2021-12-09 10:52:18 +01:00
metrics_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
networks_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
ps_test.go e2e: fix spurious `ps` failures 2022-06-16 11:28:29 -04:00
restart_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
scan_message_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
secrets_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
start_fail_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
start_stop_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
volumes_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00