Add zap to CIPD setup (#24630)
* Add zap to CIPD setup
This makes the tool available for running the tests.
* Add to zap version update script
Remove arm64 version, since the prebuilt zap-linux is for amd64 only.
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
diff --git a/scripts/environment.json b/scripts/environment.json
index e86227f..a4bd51b 100644
--- a/scripts/environment.json
+++ b/scripts/environment.json
@@ -2,7 +2,8 @@
"cipd_package_files": [
"third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/arm.json",
"third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/pigweed.json",
- "scripts/python.json"
+ "scripts/python.json",
+ "scripts/zap.json"
],
"virtualenv": {
"gn_root": ".",
diff --git a/scripts/tools/zap/version_update.py b/scripts/tools/zap/version_update.py
index 152db95..9d57791 100755
--- a/scripts/tools/zap/version_update.py
+++ b/scripts/tools/zap/version_update.py
@@ -55,6 +55,7 @@
'.github/workflows/fuzzing-build.yaml',
'.github/workflows/tests.yaml',
'integrations/docker/images/chip-cert-bins/Dockerfile',
+ 'scripts/zap.json',
]
# Note that chip-cert-bits is assumed USAGE on purpose (it compiles code)
diff --git a/scripts/zap.json b/scripts/zap.json
new file mode 100644
index 0000000..a130ca6
--- /dev/null
+++ b/scripts/zap.json
@@ -0,0 +1,9 @@
+{
+ "packages": [
+ {
+ "path": "fuchsia/third_party/zap/${platform}",
+ "platforms": ["linux-amd64", "mac-amd64", "windows-amd64"],
+ "tags": ["version:2@v2023.01.19-nightly.1"]
+ }
+ ]
+}