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

Commit

Permalink
CI debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaudill committed Apr 25, 2024
1 parent 7d6f66e commit 2c8b2f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ def modify(cli_):
# “Flatten” commands array
for c in cli.c:
commands += c
ch.ILLERI("COMMANDS: %s" % commands)
src_image = im.Image(im.Reference(cli.image_ref))
out_image = im.Image(im.Reference(cli.out_image))
ch.ILLERI("SRC REF: %s" % str(src_image.ref))
Expand All @@ -310,6 +311,8 @@ def modify(cli_):
if (commands != []):
tree = modify_tree_make(src_image.ref, commands)

ch.ILLERI("TREE")
ch.ILLERI(tree)
# Count the number of stages (i.e., FROM instructions)
global image_ct
image_ct = sum(1 for i in tree.children_("from_"))
Expand Down

0 comments on commit 2c8b2f7

Please sign in to comment.