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

Add run list command #77

Merged
merged 1 commit into from
Aug 25, 2022
Merged

Add run list command #77

merged 1 commit into from
Aug 25, 2022

Conversation

adamconnelly
Copy link
Contributor

Added a new command to list the runs for a stack.

I've tried to keep the amount of data in the table output minimal while still being useful, but we'll probably need to tweak it in future. The JSON output only contains fields that are relevant for a tracked run.

Here's what the table output looks like:

image

Here's a sample of the JSON output:

[
  {
    "id": "01GB88NGH5D5JRS51ZJSMZ42N9",
    "branch": "pr-promotion-branch",
    "canRetry": true,
    "comments": [
      {
        "body": "This was the best result",
        "createdAt": 1661356291,
        "username": "adamconnelly"
      }
    ],
    "commit": {
      "authorLogin": "adamconnelly",
      "authorName": "Adam Connelly",
      "hash": "50da536a8698873c3cc11647ab6d9b21585be68e"
    },
    "createdAt": 1661356130,
    "delta": null,
    "driftDetection": false,
    "expired": false,
    "isMostRecent": true,
    "needsApproval": true,
    "state": "FAILED",
    "title": "Reduce password length",
    "triggeredBy": "adamconnelly"
  },
]

Issues: #75

Added a new command to list the runs for a stack.

I've tried to keep the amount of data in the table output minimal while still being useful, but we'll probably need to tweak it in future. The JSON output only contains fields that are relevant for a tracked run.

Issues: #75
@adamconnelly adamconnelly merged commit fe19550 into main Aug 25, 2022
@adamconnelly adamconnelly deleted the 75-run-list branch August 25, 2022 09:16
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