update
This commit is contained in:
@@ -116,10 +116,10 @@ def build_and_push(
|
|||||||
try:
|
try:
|
||||||
# 1. Print the contents of the /workspace root directory
|
# 1. Print the contents of the /workspace root directory
|
||||||
print(f"Contents of {workspace_root}:")
|
print(f"Contents of {workspace_root}:")
|
||||||
workspace_files = subprocess.run(["ls", "-la", str(workspace_root)], capture_output=True, text=True)
|
workspace_files = subprocess.run(["ls", "-la", str(workspace_root / "workspace/deps/implementation/backend_deploy")], capture_output=True, text=True)
|
||||||
print(workspace_files.stdout)
|
print(workspace_files.stdout)
|
||||||
|
|
||||||
# 2. Verify exactly where the copied Kaniko binary lives
|
# # 2. Verify exactly where the copied Kaniko binary lives
|
||||||
# print("Checking for Kaniko binary location:")
|
# print("Checking for Kaniko binary location:")
|
||||||
# kaniko_check = subprocess.run(["ls", "-la", "/usr/local/bin/kaniko"], capture_output=True, text=True)
|
# kaniko_check = subprocess.run(["ls", "-la", "/usr/local/bin/kaniko"], capture_output=True, text=True)
|
||||||
# print(kaniko_check.stdout if kaniko_check.returncode == 0 else "❌ Kaniko not found in /usr/local/bin/kaniko\n")
|
# print(kaniko_check.stdout if kaniko_check.returncode == 0 else "❌ Kaniko not found in /usr/local/bin/kaniko\n")
|
||||||
|
|||||||
Reference in New Issue
Block a user