From bac6762d3a24f6d18238683c3ba7c1978d4ef91d Mon Sep 17 00:00:00 2001 From: Jared Quick Date: Fri, 23 Feb 2024 14:11:51 -0500 Subject: [PATCH] fix tests for real Signed-off-by: Jared Quick --- tests/build.bats | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/build.bats b/tests/build.bats index 5758efb4..af9174f9 100644 --- a/tests/build.bats +++ b/tests/build.bats @@ -329,16 +329,13 @@ setup_file() { } @test "Build with buildkit-inline-cache" { - export BUILDKITE_JOB_ID=1111 export BUILDKITE_PLUGIN_DOCKER_COMPOSE_BUILD=myservice - export BUILDKITE_PIPELINE_SLUG=test - export BUILDKITE_BUILD_NUMBER=1 export BUILDKITE_PLUGIN_DOCKER_COMPOSE_ARGS_0=MYARG=0 export BUILDKITE_PLUGIN_DOCKER_COMPOSE_ARGS_1=MYARG=1 export BUILDKITE_PLUGIN_DOCKER_COMPOSE_BUILDKIT_INLINE_CACHE=true stub docker \ - "compose -f docker-compose.yml -p buildkite1111 -f docker-compose.buildkite-1-override.yml build --pull --build-arg BUILDKIT_INLINE_CACHE=1 --build-arg MYARG=0 --build-arg MYARG=1 myservice : echo built myservice" + "compose -f docker-compose.yml -p buildkite1111 build --pull --build-arg BUILDKIT_INLINE_CACHE=1 --build-arg MYARG=0 --build-arg MYARG=1 myservice : echo built myservice" run $PWD/hooks/command