R
Railway•2mo ago
alexbalandi

Private Templates - current state?

The topic has been broached a few times here. I understand that there's public API that lets us do deployments, but is it possible to just use the UI for creating private templates for team and letting team use them for internal deployments? If not possible, is it planned?
9 Replies
Percy
Percy•2mo ago
Project ID: N/A
alexbalandi
alexbalandi•2mo ago
N/A
Brody
Brody•2mo ago
what's stopping you from creating an unpublished template for your team?
alexbalandi
alexbalandi•2mo ago
Actually, I think I found a tab "Team templates", so I guess my real problem right now is that I can't use private repos. I think I've seen some hack for that somewhere, but cna't find it again.
Brody
Brody•2mo ago
you could likely call the TemplateUpdateV2 mutation to swap in your private repo
alexbalandi
alexbalandi•2mo ago
Ah, so you propose creating the template with placeholder repos and then swapping placeholder with real private repo through Public API, right ? 🤔 Sounds interesting, I'll need to dig into the docs.
Brody
Brody•2mo ago
exactly in an ideal world, you would simply be allowed to create a template with private repos, but upon publishing the template you'd get an error only then saying repos need to be public
Faraz
Faraz•2mo ago
Don’t think this will work. The public repo check exists on the deploy step as well iirc
Brody
Brody•2mo ago
interesting