link workflows, skip LFS clone
This commit is contained in:
parent
d184611de0
commit
81d174e2cf
|
@ -1,3 +1,8 @@
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
settings:
|
||||||
|
lfs: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/python:3.10
|
image: docker.io/python:3.10
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
depends_on:
|
||||||
|
- build-api-3-10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/docker:20.10
|
image: docker.io/docker:20.10
|
||||||
|
@ -5,7 +8,5 @@ steps:
|
||||||
- mkdir ${HOME}/.docker
|
- mkdir ${HOME}/.docker
|
||||||
- echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json
|
- echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json
|
||||||
- ../common/scripts/image-build.sh --push
|
- ../common/scripts/image-build.sh --push
|
||||||
|
volumes:
|
||||||
services:
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- name: dind
|
|
||||||
image: docker.io/docker:20.10-dind
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ class TestTxt2ImgPipeline(unittest.TestCase):
|
||||||
|
|
||||||
self.assertTrue(path.exists("../outputs/test-txt2img-basic_0.png"))
|
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))
|
self.assertEqual(output.size, (256, 256))
|
||||||
# TODO: test contents of image
|
# TODO: test contents of image
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue