Code Monkey home page Code Monkey logo

Comments (13)

cdaringe avatar cdaringe commented on July 22, 2024 1

@jtarchie, there's no base_url, but api_endpoint is a thing--we are using GHE vs github.com. did we miss something here?

resource_types:
- name: pull-request
  type: docker-image
  source:
    repository: jtarchie/pr

resources:
- name: project
  type: git
  source:
    uri: git@ourgithub:group/project.git
    branch: master
    private_key: ((github-private-key))

- name: project-pr
  type: pull-request
  source:
    repo: group/project
    uri: git@ourgithub:group/project.git
    api_endpoint: ((github-api-endpoint))
    access_token: ((github-access-token))
    private_key: ((github-private-key))
...

from github-pullrequest-resource.

cdaringe avatar cdaringe commented on July 22, 2024 1

indeed, adding base_url fixed it

from github-pullrequest-resource.

jtarchie avatar jtarchie commented on July 22, 2024

This is already supported. How do you have resource defined?

from github-pullrequest-resource.

cdaringe avatar cdaringe commented on July 22, 2024

No kidding. We used the example pipeline as a guiding reference, and didn't see it in there. We didn't see it in the docs either. How can we use it? Well send a README or :)

from github-pullrequest-resource.

cdaringe avatar cdaringe commented on July 22, 2024

PR*

from github-pullrequest-resource.

jtarchie avatar jtarchie commented on July 22, 2024

Did you set the base_url on source? If so, remove it.

from github-pullrequest-resource.

jtarchie avatar jtarchie commented on July 22, 2024

@cdaringe, any updates? I'm pretty agressive on getting issues closed. If there are no updates after a hile, I'm going to close this.

from github-pullrequest-resource.

cdaringe avatar cdaringe commented on July 22, 2024

Hey man, I'll check tomorrow and write back. Would you accept a README PR for specifying it?

from github-pullrequest-resource.

jtarchie avatar jtarchie commented on July 22, 2024

@cdaringe, you should get it for free. There is nothing to specify. If you aren't getting it, my guess you have something incorrectly configured, which is why I am asking about above.

from github-pullrequest-resource.

jtarchie avatar jtarchie commented on July 22, 2024

Are you using Github Enterprise? If so, what version? Also, what version of concourse?

from github-pullrequest-resource.

joshsleeper avatar joshsleeper commented on July 22, 2024

Hey @jtarchie, I'm a coworker of @cdaringe.

Concourse v3.2.1
GitHub Enterprise v2.10.2

from github-pullrequest-resource.

jtarchie avatar jtarchie commented on July 22, 2024

The docs for Github enterprise say it should be supported. I'm not sure that this is a resource issue, though.

Can you try explicitly setting base_url to your concourse deployment url? That should force it no matter what. If that doesn't work.

from github-pullrequest-resource.

jtarchie avatar jtarchie commented on July 22, 2024

That means that an environment variables is not being passed to the resource. This might be a concourse issue. I'm going to close this.

from github-pullrequest-resource.

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.