Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Retry jobs failed with docker.errors.ImageNotFound #13

@mateuspontes

Description

@mateuspontes

Fastlane should reenque jobs failed due to Image not found error. Only jobs with retry.

To create a job with retry:

$ curl -XPOST -d'{"image": "hello-world", "command": "/hello", "retries": 4}' http://localhost:10000/tasks/hello-world

Traceback error:

Traceback (most recent call last): File "/var/lib/pyenv/versions/3.6.5/envs/app_env_3.6.5/lib/python3.6/site-packages/docker/api/client.py", line 261, in _raise_for_status response.raise_for_status() File "/var/lib/pyenv/versions/3.6.5/envs/app_env_3.6.5/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions