Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

TT-99 Auth for git fetch #33

Merged
merged 2 commits into from
Jun 10, 2020
Merged

TT-99 Auth for git fetch #33

merged 2 commits into from
Jun 10, 2020

Conversation

tbuchaillot
Copy link

@tbuchaillot tbuchaillot commented Jun 1, 2020

Description

The idea behind this PR is to give tyk-sync the ability to handle private GitHub repositories.

Basically it adds the capability to specify the ssh key file, read it, and use it when it tries to fetch the repository. The flag used to specify the ssh key file is -k. It's already documented.

Closes #26.

Testing

Tested using a private repo from another github account with a invalid ssh key file and a valid one:
image

@tbuchaillot tbuchaillot self-assigned this Jun 1, 2020
@tbuchaillot tbuchaillot changed the title [WIP] Auth for git fetch Auth for git fetch Jun 5, 2020
@matiasinsaurralde matiasinsaurralde merged commit 78b696a into master Jun 10, 2020
@matiasinsaurralde matiasinsaurralde deleted the private-repo branch June 10, 2020 13:28
@gregdelhon gregdelhon changed the title Auth for git fetch TT-99 Auth for git fetch Sep 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using tyk-sync with private github repo (authentication required)
2 participants