Skip to content

Commit 603c52f

Browse files
authored
test: query docuploader (#359)
1 parent 09c1cdc commit 603c52f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

toys/release/perform.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ def run_docuploader staging_bucket:, extra_docuploader_args: [], dry_run: false
414414
logger.warn "**** In dry run mode. Skipping upload"
415415
return
416416
end
417+
temp_check_docuploader_credentials
417418
docuploader_cmd = [
418419
"python3", "-m", "docuploader", "upload", ".",
419420
"--credentials", docuploader_credentials,
@@ -424,6 +425,14 @@ def run_docuploader staging_bucket:, extra_docuploader_args: [], dry_run: false
424425
end
425426
end
426427

428+
def temp_check_docuploader_credentials
429+
require "digest"
430+
puts docuploader_credentials
431+
data = File.read docuploader_credentials
432+
puts data.size
433+
puts Digest::MD5.hexdigest data
434+
end
435+
427436
def run_aux_task task_name, remove: []
428437
Array(remove).each { |path| FileUtils.rm_rf path }
429438
if File.file? "Rakefile"

0 commit comments

Comments
 (0)