Skip to content

Commit

Permalink
Disable git manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed May 24, 2022
1 parent 78752e2 commit df7883e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/chef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
- name: Chef validate zzz
shell: bash
run: |
git fetch origin master
cd examples/chef
python3 chef.py --validate_zzz
Expand Down
8 changes: 4 additions & 4 deletions examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit df7883e

Please sign in to comment.