Deploy application: Enable deploying from private Git repositories
See original GitHub issueIssue Description
Deployment type
(select the type below by replacing the space with an x
)
- Cloud Foundry Application (cf push)
- Kubernetes, using a helm chart
- Docker, using docker compose
- Docker, single container deploying all components
- Other (please provide below)
Expected behaviour
- As a UI user I want to be able to deploy an application contained in a Git repository that requires authentication (username and password explicitly provided by the user)
- As a UI user I want to be able to deploy an application contained in a Git repository that requires authentication (username and password of the currently logged-in user)
Actual behaviour
- As a UI user I can deploy only applications contained in a public Git repository (i.e. a repository with no authentication)
Steps to reproduce the behavior
- Click on “deploy application”
- Notice that the only supported options are “deploy from public github repo”, “deploy from public Git repo” and “deploy from local folder/file”
Detailed Description
The deploy application UI should allow users to (optionally) specify the credentials to use when authenticating to the remote Git repository. The UI should then use these credentials when pulling the repository.
Context
In corporate environments most repositories require authentication.
Possible Implementation
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Deploy From a Private Github Repo - Blog - Lawrence McDaniel
Github private repos include an additional page where you can add a public SSH key (a, “deployment key“) to facilitate remote connections from ......
Read more >How to deploy from a private github repository? - DigitalOcean
Then on the Repository Access screen, either choose “All Repositories” or specifically select the now-private repo you want to deploy. Reply.
Read more >OpenShift Online: How to Deploy from Private Git Repositories
The way to do this is to generate and upload a private key to OpenShift, and then to authorize it with your Git...
Read more >How can I build from a private repository on GitHub?
A private Git repository on GitHub can be accessed using either SSH or HTTPS. The preferred method is to always use SSH and...
Read more >Deploying Private Repository using Vercel - git - Stack Overflow
Unfortunately, Vercel does not support private git repositories. If you want to deploy a private repo, you have to make it public first....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@XuejiaoZhang @giner We’re working to get a v1 release out at the moment but once we’re finished (hopefully within the next couple of weeks) we’ll get on this issue, it’s a high priority for us.
This is a good request. We previously had a pretty decent method to manage github tokens via the endpoints page. Ideally we’d like to bring this method back in and use it to support deploy. Once we’ve tackled feature comparity for deploy in V2 (which should hopefully appear in this repo this week) we’d like to tackle this one.