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

Commit

Permalink
more ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaudill committed Apr 25, 2024
1 parent 05dac9b commit 00e2ec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,6 @@ def modify_tree_make(src_img, cmds):
run_shell
LINE_CHUNK echo bar
"""
ch.ILLERI("commands (in tree func): %s" % cmds)

# Children of dockerfile tree
df_children = []
# Metadata attribute. We use this attribute in the “_pretty” method for our
Expand Down
4 changes: 2 additions & 2 deletions test/build/50_ch-image.bats
Original file line number Diff line number Diff line change
Expand Up @@ -1002,11 +1002,11 @@ EOF

run ch-image modify -c 'echo foo' -- alpine:3.17 alpine:3.17
echo "$output"
echo "$status"
[[ $status -eq 1 ]]
[[ $output = *'output must be different from source image'* ]]

run ch-image modify -S "foo" -- alpine:3.17 tmpimg
run ch-image modify -S "doesnotexist" -- alpine:3.17 tmpimg
echo "$output"
[[ $status -eq 1 ]]
[[ $output = *'Unable to run shell:'* ]]
}

0 comments on commit 00e2ec6

Please sign in to comment.