Code Monkey home page Code Monkey logo

Comments (8)

drnic avatar drnic commented on July 1, 2024

AK, can I ask a favor? Can you please recreate this ticket with the concourse/git-resource project, link it to this issue and tag me as well (so I get notifications).
I'm sorry I'm not sure I know how to debug/ fix this issue myself.
Nic

On Tue, Jul 5, 2016 at 7:54 AM +1000, "Alexander Kuznetsov" [email protected] wrote:

Walking through the tutorial step-by-step. Made a gist, added

  • name: resource-gist
    type: git
    source:
    uri: [email protected]:71c94aad09a4adc12ebec5ac2794bab4.git
    branch: master

into 12_publishing_outputs/pipeline.yml. A build attempt fails in resource-gist with

Cloning into '/tmp/build/get'...

Host key verification failed.

fatal: Could not read from remote repository.

Note this is pull, we're not at the push stage yet.

The host key is certainly not in ~/.ssh/known_hosts inside the task container. How / where can I run ssh-keyscan or push `known_hosts' there?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from concourse-tutorial.

acca301 avatar acca301 commented on July 1, 2024

Done.
BTW, your tutorial is great, unfortunately there are not many manuals made with such clarity.

from concourse-tutorial.

acca301 avatar acca301 commented on July 1, 2024

My bad. | was they key.
I usually do chomping with |-, thus I wrote it the way:

  resources:
  - name: foo
    type: git
    source:
      uri: ...
      private_key: |-
        ---BEGIN BLAH BLAH---
        .....
        ---END BLAH BLAH---

while the working syntax is

  resources:
  - name: foo
    type: git
    source:
      uri: ...
      private_key: |
        ---BEGIN BLAH BLAH---
        .....
        ---END BLAH BLAH---

from concourse-tutorial.

drnic avatar drnic commented on July 1, 2024

Getting yaml right can be hard! Thanks for letting me know you found a solution. Thanks for nice comments about the tutorial.

On Wed, Jul 6, 2016 at 1:27 PM +1000, "Dr. Alexander Kuznetsov" [email protected] wrote:

My bad. | was they key.

I usually do chomping with |-, thus I wrote it the way:

resources:

  • name: foo
    type: git
    source:
    uri: ...
    private_key: |-
    ---BEGIN BLAH BLAH---
    .....
    ---END BLAH BLAH---

while the working syntax is

resources:

  • name: foo
    type: git
    source:
    uri: ...
    private_key: |
    ---BEGIN BLAH BLAH---
    .....
    ---END BLAH BLAH---


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from concourse-tutorial.

joshuajabbour avatar joshuajabbour commented on July 1, 2024

If this |- typo was actually the problem (and I can't confirm it is; I'm also having auth issues but this hasn't fixed it for me), then you probably typed that because the readme says to use |-.

from concourse-tutorial.

joshuajabbour avatar joshuajabbour commented on July 1, 2024

I don't think the problem is the |-. I can confirm both private_key: |- and private_key: | work, once I solved my underlying issue.

from concourse-tutorial.

jhunt avatar jhunt commented on July 1, 2024

@joshuajabbour is your issue taken care of now?

from concourse-tutorial.

mkb avatar mkb commented on July 1, 2024

Sounds like this has been addressed so I'm closing it out. @joshuajabbour if there's still an issue please let us know. Thanks!

from concourse-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.