PowerShell version changed when run pipeline (#50)

* Rebase (#2)

* chore: enviornments variables adjustment

* chore: schema update

* fix: add SP version on job variable

* chore: force powershell version

* chore: change task order to publish DB secrets

* chore: Adjustments on Databricks Secrets deploy

* chore: adjust variables info on parameter

* chore: adjustment on Databricks scripts

* chore: dataLakeName variable adjustment

* chore: dataComputeRS variable change

* chore: documentation adjustment att image

* chore: change keyvalt set permissions on SP

* chore: Databricks task order

* chore: databricks adjustments

* chore: var output display removal

* chore: databricks adjustments

* chore: documentation adjustment

* chore: documentation change

* chore: script adjustment

* chore: add command to list scope content

* chore: add SP into Admin role

* chore: adjust Administrator Role SP

* chore: add connect to AD first

* chore: Remove connection do Azure AD

* chore: documentation adjustment

* chore: fix uppercase extensions on some images (#42)

* chore: fix uppercase extensions on some images

* chore: directory changes

* chore: directory rename

* Issue 43 - Templates Changes (#44)

* chore: fix uppercase extensions on some images

* chore: directory changes

* chore: directory rename

* chore: Service Principal secrets first adjustments

* fix: adjustment of SP

* chore: save secret on output

* chore: syntax fix

* chore: token adjustment

* chore: store secret inside output hol file

* chore: put SP inside parameters

* chore: template adjustment

* chore: lower parameter for fix

* chore: syntax adjustment

* chore: Add logs

* chore: add log info

* chore: log info

* Issue #43 - Adjust the pipeline run to use first time SP secret (#45)

* chore: fix uppercase extensions on some images

* chore: directory changes

* chore: directory rename

* chore: Service Principal secrets first adjustments

* fix: adjustment of SP

* chore: save secret on output

* chore: syntax fix

* chore: token adjustment

* chore: store secret inside output hol file

* chore: put SP inside parameters

* chore: template adjustment

* chore: lower parameter for fix

* chore: syntax adjustment

* chore: Add logs

* chore: add log info

* chore: log info

* chore: pipeline execution change

* chore: documentation adjustments

* chore: sample-data upload to main-stream

* chore: unzip and upload sample-data

* fix: adjustment on pipe run

* chore: changed databrick version

* chore: changes into PS Version on Pipe execution
This commit is contained in:
Fabio Padua 2022-02-18 09:44:17 -03:00 коммит произвёл GitHub
Родитель e389f42b2d
Коммит 4180df25bb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -110,8 +110,7 @@ stages:
-DatabricksName $(databricksName)
-KeyVaultName $(keyVaultName)
-DATABRICKS_TOKEN $(DATABRICKS_TOKEN)
azurePowerShellVersion: 'OtherVersion'
preferredAzurePowerShellVersion: 5.5.0
azurePowerShellVersion: latestVersion
- task: PowerShell@2
displayName: Deploy DBW Clusters

Просмотреть файл

@ -6,7 +6,7 @@ Write-Host "Unzip sample-data..."
mkdir ./sample-data
$zipFiles = ('FlightWeatherWithAirportCode.zip', 'FlightDelaysWithAirportCodes.zip', 'AirportCodeLocationLookupClean.zip')
$zipPath = '../infrastructure/sample-data/'
$zipPath = './infrastructure-as-code/infrastructure/sample-data/'
foreach ($zipFile in $zipFiles){
$file = ($zipPath + $zipFile)