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

Allow to get run changes and replan a run #213

Merged
merged 2 commits into from
Jan 23, 2024
Merged

Conversation

tomasmik
Copy link
Contributor

@tomasmik tomasmik commented Jan 19, 2024

Added $ stack changes command

➜  spacectl git:(main) ✗ spc stack changes --id space_test --run 01HMGSDZS5F57BR0THMQ3N3QKR
[
  {
    "Resources": [
      {
        "Address": "spacelift_space.dev-test2",
        "PreviousAddress": "",
        "Metadata": {
          "Type": "CHANGE"
        }
      },
      {
        "Address": "spacelift_space.dev-test5",
        "PreviousAddress": "",
        "Metadata": {
          "Type": "CHANGE"
        }
      }
    ]
  }
]

Added $ stack replan command

➜  spacectl git:(main) ✗ spc stack replan --id space_test --run 01HMGSDZS5F57BR0THMQ3N3QKR --resources 'spacelift_space.dev-test5,spacelift_space.dev-test2' --tail

Added a special interactive menu to search and select resources:
image

@tomasmik tomasmik self-assigned this Jan 19, 2024
@tomasmik tomasmik force-pushed the run-changes-and-replan branch 2 times, most recently from 3045bd4 to 8d88612 Compare January 19, 2024 13:51
@tomasmik tomasmik added the feature A new feature request label Jan 19, 2024
internal/cmd/stack/run_replan.go Outdated Show resolved Hide resolved
internal/cmd/stack/run_replan.go Outdated Show resolved Hide resolved
internal/cmd/stack/run_replan.go Outdated Show resolved Hide resolved
@tomasmik tomasmik merged commit 16bff7c into main Jan 23, 2024
9 checks passed
@tomasmik tomasmik deleted the run-changes-and-replan branch January 23, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants