mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-18 20:47:58 +00:00
remove curl output from logs
This commit is contained in:
parent
6df75c594c
commit
4f21e17f46
@ -86,7 +86,7 @@ dnf install -y unzip &> /dev/null
|
|||||||
|
|
||||||
# Step 2: Unpack the dmi files.
|
# Step 2: Unpack the dmi files.
|
||||||
echo "dmi file used was $dmiZip"
|
echo "dmi file used was $dmiZip"
|
||||||
unzip -o "$dmiZip" -d $HIRS_CI_TEST_ROOT
|
unzip -o "$dmiZip" -d $HIRS_CI_TEST_ROOT > /dev/null
|
||||||
|
|
||||||
# Step 3: Copy the platform cert to tcg folder and or upload it to the ACA
|
# Step 3: Copy the platform cert to tcg folder and or upload it to the ACA
|
||||||
if [[ ! -d $pcDir ]]; then
|
if [[ ! -d $pcDir ]]; then
|
||||||
@ -103,7 +103,7 @@ pushd $pcDir > /dev/null
|
|||||||
fi
|
fi
|
||||||
if [ "$UPLOAD_ARTIFACTS" = YES ]; then
|
if [ "$UPLOAD_ARTIFACTS" = YES ]; then
|
||||||
echo "Uploading $cert to $SERVER_PCERT_POST"
|
echo "Uploading $cert to $SERVER_PCERT_POST"
|
||||||
curl -k -F "file=@$cert" $SERVER_PCERT_POST
|
curl -k -F "file=@$cert" $SERVER_PCERT_POST > /dev/null
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
@ -84,7 +84,7 @@ pushd $swidDir > /dev/null
|
|||||||
fi
|
fi
|
||||||
if [ "$UPLOAD_ARTIFACTS" = YES ]; then
|
if [ "$UPLOAD_ARTIFACTS" = YES ]; then
|
||||||
echo "Uploading $swidtag to $SERVER_RIM_POST"
|
echo "Uploading $swidtag to $SERVER_RIM_POST"
|
||||||
curl -k -F "file=@$swidtag" $SERVER_RIM_POST
|
curl -k -F "file=@$swidtag" $SERVER_RIM_POST > /dev/null
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
@ -102,7 +102,7 @@ pushd $rimDir > /dev/null
|
|||||||
fi
|
fi
|
||||||
if [ "$UPLOAD_ARTIFACTS" = YES ]; then
|
if [ "$UPLOAD_ARTIFACTS" = YES ]; then
|
||||||
echo "Uploading $rim to $SERVER_RIM_POST"
|
echo "Uploading $rim to $SERVER_RIM_POST"
|
||||||
curl -k -F "file=@$rim" $SERVER_RIM_POST
|
curl -k -F "file=@$rim" $SERVER_RIM_POST > /dev/null
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
@ -102,7 +102,7 @@ if [ "$test" = "10" ] || [ "$test" = "all" ]; then
|
|||||||
uploadTrustedCerts
|
uploadTrustedCerts
|
||||||
setPlatformCerts -p "laptop" -t "default"
|
setPlatformCerts -p "laptop" -t "default"
|
||||||
setRims -p "laptop" -t "default" -u -n
|
setRims -p "laptop" -t "default" -u -n
|
||||||
provisionTpm2 "fail"
|
provisionTpm2 "pass"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Process Test Results, any single failure will send back a failed result.
|
# Process Test Results, any single failure will send back a failed result.
|
||||||
|
Loading…
Reference in New Issue
Block a user