R
Runpod•9mo ago
pkpio

Setting up CD for serverless endpoint

I tried the GitHub integration but our Docker image base is a private image so the build system needs to support using credentials I also tried the Docker image approach - this works great for our pre-built images but how can I setup CD for this?
8 Replies
Unknown User
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
pkpio
pkpioOP•9mo ago
Which graphql mutation should I look at?
pkpio
pkpioOP•9mo ago
I looked here before but didn't find any function exposed to update endpoints or templates.
No description
pkpio
pkpioOP•9mo ago
CD as in Continuous Delivery. When new version of the image is pushed to the registry, how can I programmatically tell runpod update our template or endpoint? Manage to find the endpoint through browser network inspection. Not the best since this is an undocumented (likely internal api).
Unknown User
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
Eren
Eren•9mo ago
Yes it is not well documented, you can go ahead to web UI and view Network tab requests The request got triggered when clicking New Release -> Save the request you need, you can copy it via CURL, remove headers and put api key, then you will be changin imageName there when you want to release a new image This updates Template image that endpoint uses it's the one with mutation saveTemplate($input: SaveTemplateInput) {
flash-singh
flash-singh•9mo ago
ill get team to add this to docs
pkpio
pkpioOP•8mo ago
This is what I ended up doing. Thank you 🙂

Did you find this page helpful?