Feature: GitHub Integration #7322
Replies: 13 comments 10 replies
-
I turned this feature on the moment I saw it available. It’s working flawlessly. This has removed so much stress from my deploys. And was super easy to configure. I know your docs recommend squashing, but since this is automatic, do you think it’s fine that it doesn’t squash migrations? I’ve moved from dev -> staging -> prod already and it was the easiest thing I’ve done with hasura so far! I’d be interested to know what happens when I revert a commit? |
Beta Was this translation helpful? Give feedback.
-
This is what we've been waiting for :) There are only two issues/thoughts on our mind currently: 1.) It sounds like you're working on a cloud version of the docker image, so that we can develop cloud features locally. Once that's ready, I think we'll have all of the pieces needed for a great local -> production CI/CD flow 2.) One thing that's still unclear, and we're just in the early stages of things, is how to handle the initial setup and migration. Meaning, we have an existing database, and we set up Hasura locally/create the initial migration files locally. Then we push to say |
Beta Was this translation helpful? Give feedback.
-
I'd like to use this feature, however currently we're generating a single metadata JSON file with some custom Python code and applying it using a |
Beta Was this translation helpful? Give feedback.
-
Is there a reason you apply the metadata and then run the migrations? What if I have a new feature for which I'm adding a database table and tracking it with Hasura at the same time? Wouldn't applying the metadata then fail? |
Beta Was this translation helpful? Give feedback.
-
The idea is very good. This is obviously just a simple example, the ways and flavors are limitless, but this integration adds so many limitations that it's not possible to use it in a real-world scenario. From what I see, an official Github action that gives the power to launch all the commands to achieve the CI/CD in any custom way would be much more useful and flexible. |
Beta Was this translation helpful? Give feedback.
-
For some reason it's the github integration deployment is trying to run all migrations |
Beta Was this translation helpful? Give feedback.
-
Github deploy overwrites SSL configuration upon deploy. When working with hasura locally, there are no SSL options, which is fine because dealing with SSL locally is massively painful However, upon deploying, because the committed metadata does not have SSL configuration the SSL configuration is lost and the deploy fails, also breaking the connection to the DB You can reconnect to the DB by re-configuring the SSL settings pointing to the correct env vars, but as of now there's no way to use this feature when the production connection has SSL configuration. |
Beta Was this translation helpful? Give feedback.
-
Context Issue
What does this mean? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Sometimes a deployment fails and I need to push up a new commit to compensate. (Happens to all of us I'm sure. ) However, it takes upwards of 15 minutes for Hasura Cloud to be aware of the late Github commit. This is quite a long time. Is there a way to reduce this time or force an update? |
Beta Was this translation helpful? Give feedback.
-
I am using Hasura as a GraphQL router, without a database connection.
I am guessing, that the integration assumes that Hasura doesn't work without data sources and treats
|
Beta Was this translation helpful? Give feedback.
-
I'm having a issue with deploying This is the error that I get with the automatic deployment
Not sure what it broke it as I haven't change the folder structure, just rename the endpoint-handler ATM i do push the changes via the CLI and they work fine |
Beta Was this translation helpful? Give feedback.
-
Hello,
P.S. Thanks for the feature and Hasura in general is a great product. We (and not only developers) at SafeNow GmbH are extremely happy to be using Hasura V2 Enterprise. We would like to check if the Git Deploy Feature Helps us get better at deployments for Hasura Cloud. Thanks, |
Beta Was this translation helpful? Give feedback.
-
This is a discussion thread for feature feedback in terms of user experience, enhancements or anything that you expected/want to see in this feature. Please feel free to reach out to us here and discuss within the community too!
Beta Was this translation helpful? Give feedback.
All reactions