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

failed to fetch digest for image 'teliaoss/github-pr-resource:latest': 429 Too Many Requests #242

Open
ghost opened this issue Nov 30, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 30, 2020

I am always grateful to the contributors.

What happened?

  1. We have confirmed that teliaoss/github-pr-resource: latest in the Docker registry fails check due to the rate limit of docker pull.

What is the expected result?

  1. It would be helpful if you could apply to Docker that "teliaoss/github-pr-resource" is an OSS project so that it is not subject to the docker pull rate limit.

Reference information : Expanded Support for Open Source Software Projects

How to reproduce it?

Pipeline definition

---
resource_types:
- name: pull-request
  type: docker-image
  source:
    repository: teliaoss/github-pr-resource

- name: pull-request
  type: pull-request
  check_every: 1m
  source:
    repository: {{GIT_REPOSITORY}}
    base_branch: main
    access_token: ((GIT_ACCESS_TOKEN))

jobs:
- name: test-job
  plan:
  - get: pull-request
    trigger: true
    version: every
  ...

Web UI

run check step: run check step: find or create container: fetching the image did not produce a volume

CLI

fly -t ci check-resource-type -r <PIPELINE_NAME>/pull-request
id    name          status   check_error                                                                                                                                                                                                                       
xxxx  pull-request  errored  run check step: run check step: check: resource script '/opt/resource/check []' failed: exit status 1

stderr:
failed to fetch digest for image 'teliaoss/github-pr-resource:latest': 429 Too Many Requests
does the image exist?

Thank you for providing nice features in OSS.

@itsdalmo
Copy link
Contributor

Thank you for the heads up! I have submitted the OSS registration form for this repository now and we'll see how it goes 🤞

@ghost
Copy link
Author

ghost commented Dec 1, 2020

Thank you for your prompt response. I hope it will be improved soon.

@bgandon
Copy link

bgandon commented May 11, 2024

This situation should have improved since then. I had similar 429 errors that have finally disappeared over time.

Unfortunately, there is no hope that you get any further support here (#246 was 2+y ago).

But recent news is that the Cloud Foundry community is now maintaining a fork of this resource at cloudfoundry-community/github-pr-resource.

On our Concourse installation at Gstack, that one is working fine. Could you give a try and provide feedback there?

(the new resource is a drop-in replacement; you only have to switch telia-ossto cfcommunity in in the resource_types: declaration, i.e. specify repository: cfcommunity/github-pr-resource)

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

2 participants