Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deploy application: Enable deploying from private Git repositories

See original GitHub issue

Issue 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.


In corporate environments most repositories require authentication.

Possible Implementation

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

KlapTrapcommented, Jul 19, 2018

@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.

richard-coxcommented, Jan 23, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found