yetitwo
05/19/2022, 5:59 PMzed
cli in a circleCI container for zed validate
? things i've tried so far: 1. installing the .deb in the cimg/base container (errored out saying error: 'zed_0.4.3_linux_amd64.deb' is not a Debian format archive
), 2. using the quay.io/authzed/zed image directly (is distroless so doesn't have git to do the checkout step), 3. using the zed image indirectly (doesn't work easily because i'd need to mount the tempfile that i'm working with into the container somehow in order to run zed validate
)yetitwo
05/19/2022, 6:00 PMgo
image and build/install it in that container, but that seems overwroughtJoey
05/19/2022, 6:00 PMliammoch
05/19/2022, 6:05 PMJoey
05/19/2022, 6:07 PMJoey
05/19/2022, 6:07 PMyetitwo
05/19/2022, 6:08 PMyetitwo
05/19/2022, 6:09 PMJoey
05/19/2022, 6:10 PMyetitwo
05/19/2022, 6:11 PMdocker run --rm quay.io/authzed/zed
commandyetitwo
05/19/2022, 6:11 PMyetitwo
05/19/2022, 6:12 PMschema.zed
separate from validations.yaml
, and i don't want to have my schema replicated in my validations, but rather compose them when i run a validation commandyetitwo
05/19/2022, 6:13 PMzed schema write
and zed validate
expect two different but overlapping file shapesJoey
05/19/2022, 6:13 PMJoey
05/19/2022, 6:14 PMJoey
05/19/2022, 6:14 PMgo install
zed?yetitwo
05/19/2022, 6:14 PMyetitwo
05/19/2022, 6:40 PMyetitwo
05/19/2022, 6:40 PMBryan
05/19/2022, 6:45 PMbrew install authzed/tap/zed
yetitwo
05/19/2022, 6:46 PMBryan
05/19/2022, 6:46 PMBryan
05/19/2022, 6:46 PMyetitwo
05/19/2022, 6:46 PMyetitwo
05/19/2022, 6:46 PMBryan
05/19/2022, 6:48 PMyetitwo
05/19/2022, 6:55 PMzed validate schema.yaml
as a CI step 😛yetitwo
05/19/2022, 6:55 PMyetitwo
05/19/2022, 7:16 PMcimg/base
and getting the tarball for the time beingPrchowdh
05/19/2022, 7:19 PM