Hi, has anyone gotten the `Testing against product...
# dagster-plus
j
Hi, has anyone gotten the
Testing against production....
with a clone example working? I noticed this thread but it only solved for the initial running of the clone on deploy (which I already had working) but I haven't been able to get the clean up on PR closed/merged to work. I'm getting
The process '/usr/bin/git' failed with exit code 1
when using the method mentioned in link. I'm using the new dagster ci workflow setup (one file for both branch and production deployments), if that makes a difference. The docs aren't updated to reflect the comments here. https://dagster.slack.com/archives/C02LJ7G0LAZ/p1686807282008969
1
logs...
get branch deployment name
failing which causes
delete schema clone upon PR close
to fail, i believe because there's no "deployment" name
s
Hi Jason, can you share the yaml code you are using for the
get_branch_deployment
step? Are you using the checkout step just prior to
get_branch_deployment
as described here: https://dagster.slack.com/archives/C02LJ7G0LAZ/p1686869883744019?thread_ts=1686807282.008969&cid=C02LJ7G0LAZ
If you see the checkout step failing you can try checking out
github.sha
instead because it should be available even after the branch is merged.
j
Hey Shalabh,
github.sha
worked! Thank you
👍 1
s
I'm updating the
prerun
step so it will return the closed branch deployment name as an output. That should make things easier.
🙏🏾 1