diff --git a/.woodpecker/.build-api-3-10.yaml b/.woodpecker/.build-api-3-10.yaml index 9193b9a7..f994a854 100644 --- a/.woodpecker/.build-api-3-10.yaml +++ b/.woodpecker/.build-api-3-10.yaml @@ -1,3 +1,8 @@ +clone: + git: + settings: + lfs: false + steps: - name: build image: docker.io/python:3.10 diff --git a/.woodpecker/.build-oci-cuda.yaml b/.woodpecker/.build-oci-cuda.yaml index d3dbdee1..35bc171c 100644 --- a/.woodpecker/.build-oci-cuda.yaml +++ b/.woodpecker/.build-oci-cuda.yaml @@ -1,3 +1,6 @@ +depends_on: + - build-api-3-10 + steps: - name: build image: docker.io/docker:20.10 @@ -5,7 +8,5 @@ steps: - mkdir ${HOME}/.docker - echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json - ../common/scripts/image-build.sh --push - -services: - - name: dind - image: docker.io/docker:20.10-dind + volumes: + - /var/run/docker.sock:/var/run/docker.sock diff --git a/api/tests/test_diffusers/test_run.py b/api/tests/test_diffusers/test_run.py index ffea3dc1..ae3ffdb2 100644 --- a/api/tests/test_diffusers/test_run.py +++ b/api/tests/test_diffusers/test_run.py @@ -90,7 +90,7 @@ class TestTxt2ImgPipeline(unittest.TestCase): self.assertTrue(path.exists("../outputs/test-txt2img-basic_0.png")) - with Image.open("../outputs/test-txt2img-basic.png") as output: + with Image.open("../outputs/test-txt2img-basic_0.png") as output: self.assertEqual(output.size, (256, 256)) # TODO: test contents of image