Skip to content

Commit

Permalink
Use tar --force-local for so Windows does not complain
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Stachyra committed Apr 5, 2022
1 parent bf1c4bd commit ffdafe9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ task :get_latest_node_db, [:env] do |task, args|
cmd "wget #{url} -O #{node_db_file}"

log "Start extracting archive into #{NODE_DB}..."
cmd "tar -xvf #{node_db_file} -C #{NODE_DB}"
cmd "tar --force-local -xvf #{node_db_file} -C #{NODE_DB}"

log "Start moving from #{node_db_extracted_dir} into #{node_db_dir}..."
mv(node_db_extracted_dir, node_db_dir)
Expand Down
4 changes: 4 additions & 0 deletions test/e2e/helpers/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,14 @@ def get_latest_binary_url(pr = nil)
end
end

##
# Latest Cardano configs
def get_latest_configs_base_url
"https://hydra.iohk.io/job/Cardano/iohk-nix/cardano-deployment/latest/download/1"
end

##
# Latest node-db snapshot updated at the end of every epoch
def get_latest_node_db_url(env)
raise "Unsupported env, supported are: 'mainnet' or 'testnet'" if (env != 'testnet') && (env != 'mainnet')
case env
Expand Down

0 comments on commit ffdafe9

Please sign in to comment.