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

Backport of [cli] Adds Actions to job status command output into release/1.9.x #25019

Open
wants to merge 1 commit into
base: release/1.9.x
Choose a base branch
from

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #24959 to be assessed for backporting due to the inclusion of the label backport/1.9.x.

The below text is copied from the body of the original PR.


Provides a little table showing Nomad Actions available to a job when running nomad job status $jobid. Mimics what we show in the Web UI (where there's an Actions dropdown on the main page of jobs that have 'em)

nomad job status actions-demo-service
ID            = actions-demo-service
Name          = actions-demo-service
Submit Date   = 2025-01-23T16:13:22-05:00
Type          = service

Summary
Task Group  Queued  Starting  Running  Failed  Complete  Lost  Unknown
actionless  0       0         3        0       16        0     0
group1      0       0         1        0       7         0     0
group2      0       0         6        0       25        0     0

.....

Actions
Action Name     Task Group  Task
weather         group1      task
get-alloc-info  group1      task
echo-time       group1      task
get-alloc-info  group2      task
echo-time       group2      task

.....

Allocations
ID        Node ID   Task Group  Version  Desired  Status   Created    Modified
13ab36c1  c1b3d83b  actionless  6        run      running  3d20h ago  3d20h ago
5125fdda  c1b3d83b  group1      6        run      running  3d20h ago  3d20h ago
664ec7e8  c1b3d83b  group2      6        run      running  3d20h ago  3d20h ago

Overview of commits

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

Successfully merging this pull request may close these issues.

2 participants