compose/pkg/e2e
Sebastiaan van Stijn 8caa6f1f3e
pkg/api: replace uuid for basic random id
The uuid package in distribution was created as a utility for the distribution
project itself, to cut down external dependencies (see [1][1]).

For compose, this has the reverse effect, as it now brings all the dependencies
of the distribution module with it.

This patch switches to the uuid generation to crypto/rand to produce a random
id. I was considering using a different uuid implementation, or docker's
"stringid.GenerateRandomID", but all of those are doing more than needed,
so keep it simple.

Currently, this change has little effect, because compose also uses the
distribution module for other purposes, but the distribution project is
in the process of moving the "reference" package to a separate module,
in which case we don't want to depend on the distribution module only for
the uuid package.

[1]: 36e34a55ad

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-31 10:13:32 +02:00
..
fixtures add support of depends_on.required attribute 2023-07-18 23:13:47 +02:00
assert.go align docker compose ps with docker CLI to support --format 2023-08-25 16:36:45 +02:00
build_test.go build: fix missing proxy build args for classic builder (#10887) 2023-08-10 08:57:28 -04:00
cancel_test.go fix builkit progressui integration (#10535) 2023-05-08 09:21:41 -04:00
compose_environment_test.go introduce --no-path-resolution to skip relative path to be resolved 2023-05-16 13:02:56 +02:00
compose_exec_test.go test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
compose_run_test.go add support of depends_on.required attribute 2023-07-18 23:13:47 +02:00
compose_test.go test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
compose_up_test.go test: e2e test reliability improvements (#10950) 2023-08-30 16:01:15 -04:00
cp_test.go align `--format` flag and UX with docker cli 2022-12-14 22:53:43 +01: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 align docker compose ps with docker CLI to support --format 2023-08-25 16:36:45 +02:00
ipc_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
logs_test.go e2e test to cover logs -f managing service being added/scaled 2023-05-26 14:51:23 +02: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 network: fix random missing network when service has more than one 2023-07-07 09:18:01 +02:00
pause_test.go align docker compose ps with docker CLI to support --format 2023-08-25 16:36:45 +02:00
profiles_test.go test: e2e test reliability improvements (#10950) 2023-08-30 16:01:15 -04:00
ps_test.go add support for attributes exposed by `docker ps` 2023-08-25 16:36:45 +02:00
pull_test.go fix regression running pull --ignore-pull-failures 2022-12-19 11:56:03 +01:00
recreate_no_deps_test.go up/start/run: don't wait for disabled service 2022-08-17 12:32:10 -05:00
restart_test.go restart only needed services by checking depends_on relations 2023-03-01 18:22:40 +01:00
secrets_test.go apply uid/gid when creating secret from environment 2022-12-15 15:54:04 +01:00
start_stop_test.go one off container name use configured Separator for naming 2023-03-15 09:47:43 +01:00
up_test.go only check if a dependency is required when something unexpected happens 2023-07-18 23:45:31 +02:00
volumes_test.go Temporarily disable broken E2E tests on Windows 2022-09-20 11:33:31 -04:00
wait_test.go test: fix process leak in wait e2e test 2023-07-10 08:42:09 -04:00
watch_test.go pkg/api: replace uuid for basic random id 2023-08-31 10:13:32 +02:00