Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Run images by name #1505

Merged
merged 68 commits into from
Jan 6, 2023
Merged

Run images by name #1505

merged 68 commits into from
Jan 6, 2023

Conversation

lucaudill
Copy link
Collaborator

@lucaudill lucaudill commented Dec 7, 2022

closes #1058

Here's the tea: we've noticed that some users (a.k.a. me) try to run images out of the storage directory, e.g.

$ ch-run $CH_IMAGE_STORAGE/img/foo -- echo foo

In general we don't want people to do this, so this PR is gonna make it so ch-run yells at you if you try it. Instead, we'll allow users to run images directly from storage by calling them by name, e.g.

$ ch-run foo -- echo foo

@reidpr reidpr marked this pull request as ready for review December 22, 2022 22:37
Copy link
Collaborator

@reidpr reidpr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! See tidy (untested). LMK what questions you have. Hope your holiday is going well.

test/run/ch-run_misc.bats Outdated Show resolved Hide resolved
test/run/ch-run_misc.bats Outdated Show resolved Hide resolved
@lucaudill lucaudill requested a review from reidpr January 5, 2023 20:09
Copy link
Collaborator

@reidpr reidpr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work. Please check my tidy. If it looks good and tests pass, I'll merge.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ch-run: run images by name
2 participants