Private Templates - current state?
alexbalandi
PROOP

2 years ago

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?

10 Replies

alexbalandi
PROOP

2 years ago

N/A


brody
EMPLOYEE

2 years ago

what's stopping you from creating an unpublished template for your team?


alexbalandi
PROOP

2 years 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
EMPLOYEE

2 years ago

you could likely call the TemplateUpdateV2 mutation to swap in your private repo


alexbalandi
PROOP

2 years 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
EMPLOYEE

2 years ago

exactly


brody
EMPLOYEE

2 years ago

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


fp
EMPLOYEE

2 years ago

Don’t think this will work.


fp
EMPLOYEE

2 years ago

The public repo check exists on the deploy step as well iirc


brody
EMPLOYEE

2 years ago

interesting


Loading...