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

Error: Plugin doesn't support private repositories #9

Open
atanass opened this issue Aug 1, 2024 · 0 comments
Open

Error: Plugin doesn't support private repositories #9

atanass opened this issue Aug 1, 2024 · 0 comments

Comments

@atanass
Copy link

atanass commented Aug 1, 2024

Hi, this is more of a question - does the plugin support private repositories?
We've had an issue with displaying CircleCI info in Backstage, getting an error when trying to load the page (Request failed with status code 404). Requests to the proxy API returns:

{
  "message" : "Project not found"
}

What we noticed is that this issue persists only when the repository behind the CircleCI project is set to "private" where other repos with "internal" status are fine with the plugin.
Is there any specific configuration that needs to be in place in order for the plugin to read CircleCI data from private repos?
Here is our config:

proxy:
  endpoints:
    '/circleci/api':
      target: https://circleci.com/api/v1.1
      headers:
        Circle-Token: ${CIRCLECI_AUTH_TOKEN}

Are these assumptions correct and if yes, is there any work around this so that private repos end up in Backstage?

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

No branches or pull requests

1 participant