Implement http.#Wait to wait for a URL to be ready. It creates a dependency in the Cue tree

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
This commit is contained in:
guillaume
2021-11-23 18:33:28 +01:00
parent b0f711e0eb
commit ec3c39aea0
5 changed files with 118 additions and 10 deletions

View File

@@ -24,7 +24,9 @@ setup() {
}
@test "http" {
dagger -e http up
dagger -e http up
CONTAINER=$(docker container ls -q --filter "name=daggerci-test-wait-*")
docker stop "$CONTAINER" && docker rm "$CONTAINER"
}
@test "js/yarn" {