Skip to content

Commit

Permalink
remove curl output from logs
Browse files Browse the repository at this point in the history
  • Loading branch information
iadgovuser26 committed Jul 25, 2024
1 parent 6df75c5 commit 4f21e17
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .ci/system-tests/container/pc_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .ci/system-tests/container/rim_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .ci/system-tests/tests/aca_policy_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4f21e17

Please sign in to comment.