diff --git a/.github/workflows/chef.yaml b/.github/workflows/chef.yaml index 9103d0c7e80192..a76e6228f6e7b5 100644 --- a/.github/workflows/chef.yaml +++ b/.github/workflows/chef.yaml @@ -43,7 +43,6 @@ jobs: - name: Chef validate zzz shell: bash run: | - git fetch origin master cd examples/chef python3 chef.py --validate_zzz diff --git a/examples/chef/chef.py b/examples/chef/chef.py index aa88869fba21fd..591683a22b7bba 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -199,10 +199,10 @@ def main(argv: Sequence[str]) -> None: device_file_md5 = hashlib.md5(device_file_data).hexdigest() ci_manifest[device_name] = device_file_md5 print(f"Manifest for {device_name} : {device_file_md5}") - 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("\\")] + # 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("\\")] print(f"zap commit: {zap_commit}") ci_manifest["zap_commit"] = zap_commit with open(ci_manifest_file_name, "r", encoding="utf-8") as ci_manifest_file: