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

CWL/Calrissian feature: cleanup created resources #1008

Open
soxofaan opened this issue Jan 17, 2025 · 0 comments
Open

CWL/Calrissian feature: cleanup created resources #1008

soxofaan opened this issue Jan 17, 2025 · 0 comments
Assignees

Comments

@soxofaan
Copy link
Member

Running a CWL with Calrissian triggers the creation of a couple of resources (jobs, pods, logs, ...) that should be cleaned up at some point (e.g. immediately on success, with delay on failure?)

# TODO: cleanup procedure of these CWL files?
cwl_path = str(Path(self._volume_input.mount_path) / f"{name}.cwl")
_log.info(
f"create_input_staging_job_manifest creating {cwl_path=} from {cwl_content[:32]=} through {cwl_serialized[:32]=}"
)

# TODO: automatic cleanup after success?
# TODO: automatic cleanup after fail?
return job

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

No branches or pull requests

2 participants