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

Cloud run tasks (post-plan only) CLI integration #30141

Merged
merged 17 commits into from Feb 25, 2022

Commits on Feb 24, 2022

  1. [cloud] run tasks integration

    This change will await the completion of pre-apply run tasks if they
    exist on a run and then report the results.
    
    It also adds an abstraction when interacting with cloud integrations such
    as policy checking and cost estimation that simplify and unify output,
    although I did not go so far as to refactor those callers to use it yet.
    uturunku1 authored and sebasslash committed Feb 24, 2022
    Copy the full SHA
    3e9ae69 View commit details
    Browse the repository at this point in the history
  2. [cloud] handle unreachable run tasks

    brandonc authored and sebasslash committed Feb 24, 2022
    Copy the full SHA
    2938ec4 View commit details
    Browse the repository at this point in the history
  3. [cloud] run tasks output formatting

    uturunku1 authored and sebasslash committed Feb 24, 2022
    Copy the full SHA
    6b5da4d View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    791c36c View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    0b8bb29 View commit details
    Browse the repository at this point in the history
  6. delete unused function

    uturunku1 authored and sebasslash committed Feb 24, 2022
    Copy the full SHA
    8090b23 View commit details
    Browse the repository at this point in the history
  7. pull latest changes from go-tfe branch and use use new field name tha…

    …t previously was incorrectly named TaskStage
    uturunku1 authored and sebasslash committed Feb 24, 2022
    Copy the full SHA
    77946af View commit details
    Browse the repository at this point in the history
  8. run go mod tidy

    uturunku1 authored and sebasslash committed Feb 24, 2022
    Copy the full SHA
    385589e View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    a9da859 View commit details
    Browse the repository at this point in the history
  10. run go mod tidy

    uturunku1 authored and sebasslash committed Feb 24, 2022
    Copy the full SHA
    46aaaa0 View commit details
    Browse the repository at this point in the history
  11. update go-tfe

    go-tfe is pinned to branch run-tasks-integration pending API changes until run tasks support in the CLI is closer to release
    brandonc authored and sebasslash committed Feb 24, 2022
    Copy the full SHA
    391b9c4 View commit details
    Browse the repository at this point in the history
  12. Fall back to reading latest run without task_stages

    Older versions of TFE will not allow "task_stages" as an include parameter. In this case, fall back to reading the Run without additional options.
    brandonc authored and sebasslash committed Feb 24, 2022
    Copy the full SHA
    aa0dda8 View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    e46683d View commit details
    Browse the repository at this point in the history
  14. use new enum string for task stages

    uturunku1 authored and sebasslash committed Feb 24, 2022
    Copy the full SHA
    383da48 View commit details
    Browse the repository at this point in the history
  15. run go mod tidy

    uturunku1 authored and sebasslash committed Feb 24, 2022
    Copy the full SHA
    542e3f9 View commit details
    Browse the repository at this point in the history
  16. Added run task support for post plan run stage, removed pre apply

    This commit stems from the change to make post plan the default run task stage, at the
    time of this commit's writing! Since pre apply is under internal revision, we have removed
    the block that polls the pre apply stage until the team decides to re-add support for pre apply
    run tasks.
    sebasslash committed Feb 24, 2022
    Copy the full SHA
    126d6df View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. Copy the full SHA
    52c5f9f View commit details
    Browse the repository at this point in the history