Skip to content

Commit 061874d

Browse files
authored
fix artifactory url for building rhel probes (#1457)
1 parent 6c84e14 commit 061874d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/build-probe-binaries

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ elif [ "RHEL" = "$KERNEL_TYPE" ]; then
752752
echo Building RHEL from Stored Sources
753753

754754
# We're using aql to query for all of the objects in the repo
755-
JSON_RESULT=$(curl -H 'Content-Type: text/plain' -H "X-JFrog-Art-Api:$INTERNAL_ARTIFACTORY_API_KEY" -X POST -d 'items.find({"repo":"redhat-sources"})' https:///artifactory.internal.sysdig.com/artifactory/api/search/aql)
755+
JSON_RESULT=$(curl -H 'Content-Type: text/plain' -H "X-JFrog-Art-Api:$INTERNAL_ARTIFACTORY_API_KEY" -X POST -d 'items.find({"repo":"redhat-sources"})' https://artifactory.internal.sysdig.com/artifactory/api/search/aql)
756756

757757
# Use jq to parse the json to get the rpms
758758
URLS=$(echo "$JSON_RESULT"| jq -r '.results[].name as $o | $o | select(endswith(".rpm")) | "https://artifactory.internal.sysdig.com/artifactory/redhat-sources/" + $o')

0 commit comments

Comments
 (0)