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

feat: self-hosted agent get/list command #217

Merged
merged 3 commits into from
Jun 15, 2023
Merged

feat: self-hosted agent get/list command #217

merged 3 commits into from
Jun 15, 2023

Conversation

lucaspin
Copy link
Contributor

@lucaspin lucaspin commented Jun 7, 2023

Adds a new get command to list/describe self-hosted agents:

» sem get agents
NAME       TYPE         STATE           AGE
my-agent-1 s1-aws-small waiting_for_job 12m
my-agent-2 s1-aws-small waiting_for_job 10m
my-agent-3 s1-aws-small running_job      8m
my-agent-3 s1-aws-large waiting_for_job  1m

» sem get agent my-agent-1
apiVersion: v1alpha
kind: SelfHostedAgent
metadata:
  name: my-agent-1
  type: s1-aws-small
  connected_at: 1686789756
  version: v2.2.6
  os: Ubuntu 22.04
  arch: x86_64
  hostname: agenthostname
  ip_address: 0.0.0.0
  pid: 0
status:
  state: waiting_for_job

@lucaspin lucaspin merged commit ab41985 into master Jun 15, 2023
1 check passed
@lucaspin lucaspin deleted the new-agent-list branch June 15, 2023 20:32
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.

None yet

3 participants