Skip to content

Commit

Permalink
feat: Add initial deny list
Browse files Browse the repository at this point in the history
  • Loading branch information
PerfectSlayer committed Sep 5, 2024
1 parent 7497a93 commit 99cb49a
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab/prepare-oci-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ fi
mkdir -p sources
cp ../workspace/dd-java-agent/build/libs/*.jar sources/dd-java-agent.jar
echo -n "$VERSION" > sources/version
cp ../metadata/requirements.json sources/
83 changes: 83 additions & 0 deletions metadata/requirements.json
Original file line number Diff line number Diff line change
@@ -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
}
}
]
}

0 comments on commit 99cb49a

Please sign in to comment.