Skip to content

Commit

Permalink
fix: make hidden files available to Azure worker
Browse files Browse the repository at this point in the history
This change makes sure that files such as custom .npmrc config
are made available to the worker on Azure.
  • Loading branch information
hassy committed Aug 15, 2024
1 parent 533dfcd commit a1f56c3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,11 @@ sync_test_data_azure () {
# So we need to move them all up two levels to the current directory
az storage blob download-batch -d . --account-name "$AZURE_STORAGE_ACCOUNT" -s "$azure_storage_container_name" --pattern "tests/$test_run_id/*"
local tmpdir="$(mktemp -d)"
mv tests/$test_run_id/* $tmpdir
set +e
mv tests/$test_run_id/{.,}* $tmpdir
rm -rf tests/$test_run_id
mv $tmpdir/* .
set -e
}

sync_test_data_s3 () {
Expand Down

0 comments on commit a1f56c3

Please sign in to comment.