-
Notifications
You must be signed in to change notification settings - Fork 215
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 the ability to provide "deploy notes" #402
Comments
We would still love to see this happen, but it has become a bit less of a problem with a recent addition we made to our packaging process. We have always tagged our schema releases with Now, we can check our database status endpoint (which shows us the change IDs) and reverse-track to the first tag with that change ID and we are looking at the packaged bundle that was deployed. It would be nice if there were a shorter way to get the most recent change ID, but we did get there eventually. |
Trying to understand the use case here. AFAICT, this is one of the use cases for tags. Have you considered making releases with tag names (or version numbers) rather than timestamps? |
We aren't versioning anything and would at best be using timestamps as tags (e.g.,
The "problem" with sqitch tags is that they don't work well with automated releases like this:
We deploy the timestamp-flagged package, and until we hit on using the change ID as part of our git tag, it was hard for us to get a sense of how to back-flag this. To make sqitch tags work, we would need to change our process to be something more like:
|
The original request (deploy notes) would allow us to explicitly flag a deploy as coming from a specific built package. This gets us within a small range of packages (usually one, but if we have non-functional changes, a release package still gets built). |
If you just want something in the plan to indicate a release, but don't want to check it in or change the values in the plan, just a note, you can also append a comment, something like: printf "# RELEASE %s\n" "$(date +%Y%m%d%H%M%S)" >> sqitch.plan |
We’re happily using sqitch for a few of our projects, but there’s one point that has become a problem for us when we deploy in production-like environments.
We generate a sqitch bundle package with a timestamp, e.g.,
<schema-name>-20180910145232.tar.gz
and deploy based on that timestamp.It would be nice if we could do something like
sqitch deploy -n "Deployed via package 20180910145232"
and have this show up in the deploy log somehow/somewhere so that when we show the log we can see what package was used to deploy the latest schema.The text was updated successfully, but these errors were encountered: