From 37c1d968f2a3fb777ae35c65ed38d7b9fcfa34db Mon Sep 17 00:00:00 2001 From: Bruce Bujon Date: Thu, 5 Sep 2024 13:45:15 +0200 Subject: [PATCH] feat: Add initial deny list --- metadata/requirements.json | 83 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 metadata/requirements.json diff --git a/metadata/requirements.json b/metadata/requirements.json new file mode 100644 index 00000000000..906934ccffe --- /dev/null +++ b/metadata/requirements.json @@ -0,0 +1,83 @@ +{ + "version": 1, + "host": { + "windows": { + "x64": {}, + "x86": {}, + "arm64": {} + }, + "linux": { + "x64": {}, + "arm64": {} + }, + "macos": { + "x64": {}, + "arm64": {} + } + }, + "deny": [ + { + "id": "unsupported_jvm", + "description": "Skip older JVMs", + "cmds": [ + "**/java-1.5*/**/java", + "**/java-1.6*/**/java", + "**/java-6*/**/java", + "**/java-7/**/java" + ], + "args": [], + "envars": null + }, + { + "id": "java8_version", + "description": "Skip java -version command", + "cmds": [ + "**/java" + ], + "args": [ + { + "args": [ + "-version" + ], + "position": 0 + } + ], + "envars": null + }, + { + "id": "java_version", + "description": "Skip java --version command", + "cmds": [ + "**/java" + ], + "args": [ + { + "args": [ + "--version" + ], + "position": 0 + } + ], + "envars": null + }, + { + "id": "apache_solr", + "description": "Skip Apache Solr", + "cmds": [], + "args": [], + "envars": { + "SOLR_HOME": null, + "SOLR_SERVER_DIR": null + } + }, + { + "id": "apache_zooker", + "description": "Skip Apache ZooKeeper", + "cmds": [], + "args": [], + "envars": { + "ZOOBINDIR": null + } + } + ] +}