Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

fix: add query support for token (self-hosted) #453

Merged
merged 2 commits into from
Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: mask the token in output
  • Loading branch information
drazisil-codecov committed Jul 15, 2021
commit 9bc19f15169e2f4aa3187d4f47697775104a79e4
2 changes: 1 addition & 1 deletion SHA1SUM
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
d658ba50c7e58f1f755e7333977a0390db717aea codecov
7070b61784ebda10bb05046a156953aa1023dbd4 codecov
8b75c056bddd46e8dbfaa475935fbba6f6a33c77 env
2 changes: 1 addition & 1 deletion SHA256SUM
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
6a6c5fb57a0bfd928ad272b5f36adbd1f2fa916c817128efc0ffdcfb9d54b1e5 codecov
c2059615276ccc1ddda18f4350e30b11d103c96cbd4659185dbf0e5d6548e144 codecov
8d0fa7c26d1e95f361b054649a1ad6afe5e2a1a0f128289149c7227e15eefc28 env
2 changes: 1 addition & 1 deletion SHA512SUM
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
333cc5669d2c5a2c121badf7a1903a995710fdf23b8550c3a80049db17109640891e1004b508642d09af08c02772799536ab7771f8cf0acb5d56e64f4620e7c0 codecov
6774e73b3c96ed2d826e7728e96b3270f3d23c668eaa6cc5042efd1f911330957a95a686fe12b75880d03bcfb0350ed4cbe846c4a088ea686eb8fa1a03f04670 codecov
47689572d9bcf89be411a63129a5eb95257558b5d8df6ae96a973bde6c954e9bc943f6a87c2884440abc831637b967f2da748564ff0f61d99dcf9b0a1447d1df env
3 changes: 2 additions & 1 deletion codecov
Original file line number Diff line number Diff line change
Expand Up @@ -1804,11 +1804,12 @@ else

# Full query (to display on terminal output)
query=$(echo "package=$package-$VERSION&token=$token&$query" | tr -d ' ')
queryNoToken=$(echo "package=$package-$VERSION&token=<hidden>&$query" | tr -d ' ')

if [ "$ft_s3" = "1" ];
then
say "${e}->${x} Pinging Codecov"
say "$url/upload/v4?$query"
say "$url/upload/v4?$queryNoToken"
# shellcheck disable=SC2086,2090
res=$(curl $curl_s -X POST $cacert \
--retry 5 --retry-delay 2 --connect-timeout 2 \
Expand Down