Skip to content

Commit

Permalink
test: query docuploader (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma authored Jan 31, 2025
1 parent 09c1cdc commit 603c52f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions toys/release/perform.rb
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ def run_docuploader staging_bucket:, extra_docuploader_args: [], dry_run: false
logger.warn "**** In dry run mode. Skipping upload"
return
end
temp_check_docuploader_credentials
docuploader_cmd = [
"python3", "-m", "docuploader", "upload", ".",
"--credentials", docuploader_credentials,
Expand All @@ -424,6 +425,14 @@ def run_docuploader staging_bucket:, extra_docuploader_args: [], dry_run: false
end
end

def temp_check_docuploader_credentials
require "digest"
puts docuploader_credentials
data = File.read docuploader_credentials
puts data.size
puts Digest::MD5.hexdigest data
end

def run_aux_task task_name, remove: []
Array(remove).each { |path| FileUtils.rm_rf path }
if File.file? "Rakefile"
Expand Down

0 comments on commit 603c52f

Please sign in to comment.