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

Implement --dry-run, formerly --plan #862

Merged
merged 14 commits into from
Mar 11, 2022
Merged

Implement --dry-run, formerly --plan #862

merged 14 commits into from
Mar 11, 2022

Conversation

gsoltis
Copy link
Contributor

@gsoltis gsoltis commented Mar 10, 2022

Close #380

  • Split up different run modes in run.go
  • Update the scheduler to move the task-to-be-run to Execute rather than AddTask. This lets us construct the graph before deciding what to do with it, as well as leaving open the option of multiple passes.
  • Implement --dry-run[=json]. Outputs packages in scope, as well as tasks to be run.

@vercel
Copy link

vercel bot commented Mar 10, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel/turbo-site/AndRYuG16oJVsUqAjVe5PJqNX8nR
✅ Preview: https://turbo-site-git-gsoltis-dryrun.vercel.sh

Greg Soltis added 3 commits March 10, 2022 13:32
…lows reuse of the graph. Split out the execution task, as well as the dot graph function
@gsoltis gsoltis marked this pull request as ready for review March 10, 2022 21:39
@jaredpalmer jaredpalmer changed the title Implement --dry-run Implement --dry-run, formerly --plan Mar 10, 2022
@weyert
Copy link
Contributor

weyert commented Mar 11, 2022

Can't wait to try this out with GitLab CI :D

@jaredpalmer jaredpalmer added the pr: automerge Kodiak will merge these automatically after checks pass label Mar 11, 2022
@jaredpalmer
Copy link
Contributor

We'll do docs next week.

@kodiakhq kodiakhq bot merged commit 5292efb into main Mar 11, 2022
@kodiakhq kodiakhq bot deleted the gsoltis/dry_run branch March 11, 2022 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: automerge Kodiak will merge these automatically after checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants