Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloning plugins from private repositories fail with bk local #94

Open
pecigonzalo opened this issue Nov 5, 2020 · 0 comments
Open

Cloning plugins from private repositories fail with bk local #94

pecigonzalo opened this issue Nov 5, 2020 · 0 comments
Labels

Comments

@pecigonzalo
Copy link

While trying to test a pipeline locally, Im facing the following problem:

~~~ Preparing plugins
# Plugin "github.com/ORG/vagrant-buildkite-plugin.git" will be checked out to "/tmp/buildkite-plugins-332468116/github-com-ORG-vagrant-buildkite-plugin-git-main"
$ cd /tmp/buildkite-plugins-332468116/github-com-ORG-vagrant-buildkite-plugin-git-main
# Switching to the plugin directory
# Host "github.com" already in list of known hosts at "/home/USER/.ssh/known_hosts"
$ git clone -v -- ssh://git@github.com/ORG/vagrant-buildkite-plugin.git .
Cloning into '.'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

The pipeline config is:

steps:
  - commands:
      - ./test/e2e/test.sh
    plugins:
      - ssh://git@github.com/ORG/vagrant-buildkite-plugin.git#main:
          plugins:
            - vagrant-google

If I manually run git clone -v -- ssh://git@github.com/ORG/vagrant-buildkite-plugin.git . it does work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants