diff --git a/examples/chef/chef.py b/examples/chef/chef.py index df44dae7d28672..9029945b471a94 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -98,11 +98,16 @@ def check_python_version() -> None: def check_zap_master() -> str: - """Produces hash of ZAP submodule in branch master""" - git_cmd = ["git", "ls-tree", "master", "third_party/zap/repo"] - zap_commit = str(subprocess.check_output(git_cmd, cwd=_REPO_BASE_PATH)) - zap_commit = zap_commit.split(" ")[2] - zap_commit = zap_commit[:zap_commit.index("\\")] + """Produces hash of ZAP submodule in branch master + This will need to be replaced with stateful shell once it supports output + The branch should be taken as a parameter + Old code to show intent: + # git_cmd = ["git", "ls-tree", "master", "third_party/zap/repo"] + # zap_commit = str(subprocess.check_output(git_cmd, cwd=_REPO_BASE_PATH)) + # zap_commit = zap_commit.split(" ")[2] + # zap_commit = zap_commit[:zap_commit.index("\\")] + """ + zap_commit = 'TEMP DISABLED' flush_print(f"zap commit: {zap_commit}") return zap_commit diff --git a/examples/chef/cimanifest.json b/examples/chef/cimanifest.json index c1ee0ed009737c..ca576bba65b1a7 100644 --- a/examples/chef/cimanifest.json +++ b/examples/chef/cimanifest.json @@ -1,4 +1,4 @@ { "lighting-app": "81a1262e611fab1a71ac4129b91cec0f", - "zap_commit": "6594a9257ce96ee6d852eed052939849b31259fc" + "zap_commit": "TEMP DISABLED" }