Switch from "docker-compose" to "docker compose"

"docker compose" is the modern usage.
This commit is contained in:
hcooper
2024-01-23 00:09:32 -08:00
committed by GitHub
parent 9ef4f16214
commit ccfec28bcd

View File

@@ -35,9 +35,9 @@ if __name__ == "__main__":
for target in targets: for target in targets:
print(f"Running integration tests against {target}...") print(f"Running integration tests against {target}...")
os.system(f"docker-compose -f tests_integration/docker-compose-{target}.yml down -v") os.system(f"docker compose -f tests_integration/docker-compose-{target}.yml down -v")
if ( if (
os.system(f"docker-compose -f tests_integration/docker-compose-{target}.yml up --abort-on-container-exit") os.system(f"docker compose -f tests_integration/docker-compose-{target}.yml up --abort-on-container-exit")
> 0 > 0
): ):
print(f"Integration tests against {target} failed!") print(f"Integration tests against {target} failed!")