remove curl output from logs

This commit is contained in:
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil 2024-07-25 14:00:42 -04:00
parent 6df75c594c
commit 4f21e17f46
3 changed files with 5 additions and 5 deletions

View File

@ -86,7 +86,7 @@ dnf install -y unzip &> /dev/null
# Step 2: Unpack the dmi files.
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
if [[ ! -d $pcDir ]]; then
@ -103,7 +103,7 @@ pushd $pcDir > /dev/null
fi
if [ "$UPLOAD_ARTIFACTS" = YES ]; then
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
done
fi

View File

@ -84,7 +84,7 @@ pushd $swidDir > /dev/null
fi
if [ "$UPLOAD_ARTIFACTS" = YES ]; then
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
done
fi
@ -102,7 +102,7 @@ pushd $rimDir > /dev/null
fi
if [ "$UPLOAD_ARTIFACTS" = YES ]; then
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
done
fi

View File

@ -102,7 +102,7 @@ if [ "$test" = "10" ] || [ "$test" = "all" ]; then
uploadTrustedCerts
setPlatformCerts -p "laptop" -t "default"
setRims -p "laptop" -t "default" -u -n
provisionTpm2 "fail"
provisionTpm2 "pass"
fi
# Process Test Results, any single failure will send back a failed result.