-
Notifications
You must be signed in to change notification settings - Fork 139
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
actions: overlay: Check source exists during RecipeDir during verification #304
base: main
Are you sure you want to change the base?
actions: overlay: Check source exists during RecipeDir during verification #304
Conversation
bors try |
tryBuild failed: |
12bd81a
to
9a89ebe
Compare
…ation If an overlay (with a source from the recipe directory which is unlikely to change during execution) doesn't exist, the recipe errors out during execution. Let's check early if the overlay exists on the host filesystem inside the recipe directory. Signed-off-by: Christopher Obbard <[email protected]>
Signed-off-by: Christopher Obbard <[email protected]>
Since the overlay-non-existent-destination test now also checks for a non-existent source, let's rename the test to be overlay to better describe the test contents. Signed-off-by: Christopher Obbard <[email protected]>
9a89ebe
to
add9a02
Compare
@@ -1,6 +1,12 @@ | |||
architecture: amd64 | |||
|
|||
actions: | |||
# This overlay action is expected to error out here because the source | |||
# doesn't exist in the recipe directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so now the next part is no longer tested because this one already errored out right or am i missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it make sense to do the rename in the same commit where you changed it ? also this seems to only delete not add the new name?
If an overlay coming from the recipe directory doesn't
exist, the recipe exits during execution. Let's check
early if the overlay exists on the host filesystem.