Merged PR 234: refactor: removed large files
refactor: removed large files Former-commit-id: 5640a017df2ff9c504759c29cb181684305fe9be
This commit is contained in:
Коммит
1a0f9eace3
|
@ -12,6 +12,14 @@ $ContainerName = "flights-data"
|
|||
|
||||
$uploadStorage = Get-AzStorageAccount -ResourceGroupName $ResourceGroupName -Name $StorageAccountName
|
||||
|
||||
mkdir ./sample-data
|
||||
$samplesStorage = 'https://stlabvm.blob.core.windows.net/sample-data/'
|
||||
$sampleFiles = ('FlightWeatherWithAirportCode.csv','FlightDelaysWithAirportCodes.csv','AirportCodeLocationLookupClean.csv')
|
||||
|
||||
foreach ($sample in $sampleFiles){
|
||||
Invoke-WebRequest -Uri $samplesStorage$sample -OutFile "./sample-data/$sample"
|
||||
}
|
||||
|
||||
Set-AzStorageBlobContent -Container $ContainerName -File ./sample-data/AirportCodeLocationLookupClean.csv -Context $uploadStorage.Context -Force
|
||||
Set-AzStorageBlobContent -Container $ContainerName -File ./sample-data/FlightDelaysWithAirportCodes.csv -Context $uploadStorage.Context -Force
|
||||
Set-AzStorageBlobContent -Container $ContainerName -File ./sample-data/FlightWeatherWithAirportCode.csv -Context $uploadStorage.Context -Force
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1 +0,0 @@
|
|||
c44f1d897256bf02d11b57033d26c274ec5b9154
|
|
@ -1 +0,0 @@
|
|||
a9f78e7c40203908849cf5a877bcab0e44a4fe99
|
Загрузка…
Ссылка в новой задаче