1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration-cli
Tibor Vass f695e98cb7 Revert "Remove the rest of v1 manifest support"
This reverts commit 98fc09128b in order to
keep registry v2 schema1 handling and libtrust-key-based engine ID.

Because registry v2 schema1 was not officially deprecated and
registries are still relying on it, this patch puts its logic back.

However, registry v1 relics are not added back since v1 logic has been
removed a while ago.

This also fixes an engine upgrade issue in a swarm cluster. It was relying
on the Engine ID to be the same upon upgrade, but the mentioned commit
modified the logic to use UUID and from a different file.

Since the libtrust key is always needed to support v2 schema1 pushes,
that the old engine ID is based on the libtrust key, and that the engine ID
needs to be conserved across upgrades, adding a UUID-based engine ID logic
seems to add more complexity than it solves the problems.

Hence reverting the engine ID changes as well.

Signed-off-by: Tibor Vass <tibor@docker.com>
2019-06-18 00:36:01 +00:00
..
checker
cli
daemon
environment
fixtures
requirement
testdata
benchmark_test.go
check_test.go Revert "Remove Schema1 integration test suite" 2019-06-18 00:23:04 +00:00
daemon_swarm_hack_test.go
docker_api_attach_test.go
docker_api_build_test.go
docker_api_build_windows_test.go
docker_api_containers_test.go
docker_api_containers_windows_test.go
docker_api_exec_resize_test.go
docker_api_exec_test.go
docker_api_images_test.go
docker_api_inspect_test.go
docker_api_logs_test.go
docker_api_network_test.go
docker_api_stats_test.go
docker_api_swarm_node_test.go
docker_api_swarm_service_test.go
docker_api_swarm_test.go
docker_api_test.go
docker_cli_attach_test.go
docker_cli_attach_unix_test.go
docker_cli_build_test.go
docker_cli_build_unix_test.go
docker_cli_by_digest_test.go Revert "Remove Schema1 integration test suite" 2019-06-18 00:23:04 +00:00
docker_cli_commit_test.go
docker_cli_cp_from_container_test.go
docker_cli_cp_test.go
docker_cli_cp_to_container_test.go
docker_cli_cp_to_container_unix_test.go
docker_cli_cp_utils_test.go
docker_cli_create_test.go
docker_cli_daemon_plugins_test.go
docker_cli_daemon_test.go Revert "Remove the rest of v1 manifest support" 2019-06-18 00:36:01 +00:00
docker_cli_events_test.go
docker_cli_events_unix_test.go
docker_cli_exec_test.go
docker_cli_exec_unix_test.go
docker_cli_external_volume_driver_unix_test.go Entropy cannot be saved 2019-06-07 11:54:45 +01:00
docker_cli_health_test.go
docker_cli_history_test.go
docker_cli_images_test.go
docker_cli_import_test.go
docker_cli_info_test.go
docker_cli_info_unix_test.go
docker_cli_inspect_test.go
docker_cli_links_test.go
docker_cli_login_test.go
docker_cli_logout_test.go
docker_cli_logs_bench_test.go
docker_cli_logs_test.go
docker_cli_netmode_test.go
docker_cli_network_unix_test.go
docker_cli_plugins_logdriver_test.go
docker_cli_plugins_test.go
docker_cli_port_test.go
docker_cli_proxy_test.go
docker_cli_prune_unix_test.go
docker_cli_ps_test.go
docker_cli_pull_local_test.go Revert "Remove Schema1 integration test suite" 2019-06-18 00:23:04 +00:00
docker_cli_pull_test.go
docker_cli_push_test.go use gotest.tools assertions in docker_cli_push_test.go 2019-06-18 00:36:00 +00:00
docker_cli_registry_user_agent_test.go
docker_cli_restart_test.go
docker_cli_rmi_test.go
docker_cli_run_test.go
docker_cli_run_unix_test.go
docker_cli_save_load_test.go
docker_cli_save_load_unix_test.go
docker_cli_search_test.go
docker_cli_service_create_test.go
docker_cli_service_health_test.go
docker_cli_service_logs_test.go
docker_cli_service_scale_test.go
docker_cli_sni_test.go
docker_cli_start_test.go
docker_cli_stats_test.go
docker_cli_swarm_test.go
docker_cli_swarm_unix_test.go
docker_cli_top_test.go
docker_cli_update_unix_test.go
docker_cli_userns_test.go
docker_cli_v2_only_test.go
docker_cli_volume_test.go
docker_deprecated_api_v124_test.go
docker_deprecated_api_v124_unix_test.go
docker_hub_pull_suite_test.go
docker_utils_test.go
events_utils_test.go
fixtures_linux_daemon_test.go
requirements_test.go
requirements_unix_test.go
test_vars_exec_test.go
test_vars_noexec_test.go
test_vars_noseccomp_test.go
test_vars_seccomp_test.go
test_vars_test.go
test_vars_unix_test.go
test_vars_windows_test.go
utils_test.go