Jason
08/11/2023, 7:01 PMTesting 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/p1686807282008969Jason
08/11/2023, 7:19 PMget branch deployment name
failing which causes delete schema clone upon PR close
to fail, i believe because there's no "deployment" nameShalabh Chaturvedi
08/11/2023, 7:56 PMget_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=C02LJ7G0LAZShalabh Chaturvedi
08/11/2023, 8:35 PMgithub.sha
instead because it should be available even after the branch is merged.Jason
08/11/2023, 10:20 PMgithub.sha
worked! Thank youShalabh Chaturvedi
08/11/2023, 10:24 PMprerun
step so it will return the closed branch deployment name as an output. That should make things easier.