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

Strongly Type Possible Build Status States #96

Open
Mtze opened this issue May 23, 2024 · 0 comments
Open

Strongly Type Possible Build Status States #96

Mtze opened this issue May 23, 2024 · 0 comments

Comments

@Mtze
Copy link
Member

Mtze commented May 23, 2024

We need a rigorous definition of possible states a Job can be in. And update the states in the the internal Job representation.

Current states:

  • Queued -> A job was POSTed to the Gateway
  • Preparing -> Docker Images werden pulled, Volumes werden angelegt etc
  • Running (x of y) -> Task x is currently running, y is the total number of tasks
  • Error -> A problem occurred while executing the job (e.g Docker image can not be pulled)
  • Failed -> A task returned a non-0 exit code
  • Successful -> All tasks completed with an 0 exit code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants