Hey there–is it possible to change the connected github repo for an existing service? I know that I can create a new service, but trying to minimize the chance of an error from an accidental configuration change, etc. (In this case it is not even truly a different github repo–but I had to change my github username which seems to have broken the connections between render and my repos.
I have basically the same question. Are you able to advise? As an overview…
We have a number of services running which are linked to repos in my private Github account. I have recently migrated the repos to a Github organization and need to re-point all the render services at the Github organization. Can you advise on how to do this while minimizing risk / downtime?
Please let me know if I should open a separate topic.
Hi @tom_li, I’ll be happy to help you out. It’s easier to launch a new service with the old database. All of the services and databases deployed by the same user or team are created within a private network. You can connect from the new service to the old database within this private network. When you establish a connection, use the internal connection string listed in the Render dashboard along with the database.
Was the public repo using infrastructure as code? If so, you’ll want to Disconnect YAML so the old service and database are no longer managed by the render.yaml file in the public repo.
You can’t modify the database’s internal connection string, but if I’m understanding your setup correctly, you can supply the new service with that same connection string for the old database.
Is there still no way of updating a repo than via a private message here? So far after 24 hours my PM has gone unanswered.
My service is running in production using custom domain names plus SSL etc. I’m not really happy with creating a new service simply to change the repo as a solution as it is bound to lead to downtime.
Hello, I also have recently migrated a clients project off of our GitHub organization and on to theirs. I need to be able to deploy updates to the existing services. These services are in production so I need to make sure that nothing will go down or no data will be lost. What is the best way to go about updating a repo on a current render service?
UPDATE: This is all baked into the product these days - in the settings of the service via the dashboard in the, Build and Deploy panel you can edit the repository a service deploys from.