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

add --no-python flag, don't cancel experiment on keyboard interrupt #89

Merged
merged 4 commits into from
May 21, 2024

Conversation

epwalsh
Copy link
Member

@epwalsh epwalsh commented May 21, 2024

  • Adds a new flag --no-python to gantry run that tells gantry to completely skip building a Python environment. This is useful of course for non-Python jobs, or jobs where the Python environment is already built into the image.
  • Hitting CTRL-C while following a job with gantry run will no longer cancel the Beaker experiment. Instead it will just print out the beaker command you can use to cancel the experiment before exiting.
  • Adds a runtime environment GANTRY_TASK_NAME which will always match the --task-name option to gantry run.

@epwalsh epwalsh changed the title add --no-python flag add --no-python flag, don't cancel experiment on keyboard interrupt May 21, 2024
@epwalsh epwalsh merged commit 9e458d5 into main May 21, 2024
12 checks passed
@epwalsh epwalsh deleted the epwalsh/no-python branch May 21, 2024 23:35
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

Successfully merging this pull request may close these issues.

1 participant