Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow single KT to run and not automatically destroy resources

See original GitHub issue

An iteration of the harness runner for a single KT destroys its resources at the end of its run. This totally makes sense that it would work this way to validate the KT.

However, this impacts the workflow for the user who wants to run the KT and leave it running to interrogate the system. This would be a blocker for someone who wants to leave it running and do other steps, query it, etc.

The cleanup happens in the last step of all harnesses, e.g.,

Harness-runner can take a 3rd parameter, the stages to run. By default it’s dev, test, prod.

If we switched line 22 to below, it could work:

harness-runner ../../../../../_data/harnesses/filtering/ksql.yml $(TEMP_DIR) dev,test

This is where the envs get selected.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

rspurgeoncommented, Jun 25, 2020

I vote for Option 1 above. If a second Makefile target is desired, it could be added but it just delegates to the tutorial target passing in the SEQUENCE parameter as needed. That would eliminate the duplication across two targets

ybyzekcommented, Jun 27, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Blank Apply: Destroying Without Terraform Configuration
Your browser can't play this video. ... it made and manually reassemble a configuration, or you can manually destroy the resources.
Read more >
Exclude resources from the destroy process #23547 - GitHub
Everything is currently running and we want to run terraform destroy . We encounter two problems : A failure problem. Terraform will try...
Read more >
Destroy Command - How to Destroy Resources from Terraform
Learn how to destroy resources from Terraform. See how to use the Terraform destroy command, also to target a specific resource.
Read more >
Generate Resources - Kyverno
A generate rule can be used to create additional resources when a new resource is created or when the source is updated.
Read more >
Destroy Resources and Workspaces | Terraform
Destroy the resources in a Terraform Cloud workspace, and delete the workspace via the web UI.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found