Skip to content

Feature Request: tail job and deploy logs with return code #24

@reconbot

Description

@reconbot

I'd like to be able to create a job and tail it's output having the cli exit 0 if the job is successful or something else if the job fails. eg.

render jobs create srv-XXXX --confirm -o text --start-command 'start_task' --wait --tail

From what I can tell the api might not give us the return code of the command but it does tell us if it failed or not. This would allow my team to dispatch tasks from a CI system (along with all the CI system's security and auditing controls) and report output and receive notice of errors to the jobs there.

Prior art would be heroku run -x. This would also be quite helpful for deploys.

Thanks this CLI is a major step up!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions