-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to status command to print just the name or SHA of the last deployed change #569
Comments
No, but you can use
|
Thanks @theory, very helpful! |
I wanted to just add my resolution on this one: I had to move away from using I've been able to identify the environment state prior to deployment by doing:
Which is basically extracting the latest changeset hash active on the environment prior to deployment. And from then onwards, it's the same you added above @theory, thanks for the guidance! |
🤦🏻 Oh, right. Would be nice to have an option on |
Great stuff! |
Hey team
Is there any specific argument or command that one can use to achieve the following steps without writing additional shell logic?
I know one could do:
sqitch deploy <target> --verify
<shell cmd to determine the first change to rollback to>
sqitch revert --to <change determined above>
But I am trying to circumvent writing the additional shell logic to parse the deploy/plan output if not 100% required. I am trying to bake this into CI logic for Snowflake Pull Requests.
Thank you,
Laurentiu
The text was updated successfully, but these errors were encountered: