Skip to content

Commit

Permalink
fix tests for real
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Quick <[email protected]>
  • Loading branch information
jquick committed Feb 23, 2024
1 parent 53adabf commit bac6762
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/build.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bac6762

Please sign in to comment.