Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Feature: waypoint job CLI #3067

Merged
merged 10 commits into from
Mar 4, 2022
Merged

Feature: waypoint job CLI #3067

merged 10 commits into from
Mar 4, 2022

Conversation

briancain
Copy link
Member

@briancain briancain commented Mar 3, 2022

This pull request introduces a new CLI command waypoint job. It includes subcommands for listing active jobs, inspecting a job, canceling a job, and a future TODO of attaching and outputing the job stream. It also updates the Operation queue message to include the job ID so users can check the status of a job while they're waiting and potentially cancel it if it's stuck.

Fixes #3064
Fixes #3063

This commit adds a job command for managing and inspecting jobs in
Waypoint server.
This commit updates the operation queue message to include the job id
that waypoint is currently waiting on. This will enable users to inspect
the job id that's being waited on to check the status of the job and
potentially cancel it if it is stuck
@briancain briancain added the pr/no-changelog No automatic changelog entry required for this pull request label Mar 3, 2022
@briancain briancain requested a review from a team March 3, 2022 22:43
@briancain briancain removed the pr/no-changelog No automatic changelog entry required for this pull request label Mar 3, 2022
}

// TODO(briancain): process and print terminal events like `internal/client/job.go`
c.ui.Output("Job stream is not implemented yet!", terminal.WithWarningStyle())
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll open a new issue once this PR is wrapped up to finish implementing this.

@briancain briancain merged commit ea25e30 into main Mar 4, 2022
@briancain briancain deleted the feature/cli/job-cmd branch March 4, 2022 23:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants