temp disable metadata validation (#273)

This commit is contained in:
Eugene Tolmachev 2024-08-09 13:17:35 -04:00 коммит произвёл GitHub
Родитель c0c798e5e0
Коммит ebe7cc1d19
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 24 добавлений и 24 удалений

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

@ -13,24 +13,24 @@ stages:
- job: Validate - job: Validate
displayName: 'Validate ${{ parameters.moduleFolderName }}' displayName: 'Validate ${{ parameters.moduleFolderName }}'
steps: steps:
- task: AzureCLI@2 # - task: AzureCLI@2
inputs: # inputs:
azureSubscription: Scripting Metadata # azureSubscription: Scripting Metadata
scriptLocation: 'inlineScript' # scriptLocation: 'inlineScript'
scriptType: 'pscore' # scriptType: 'pscore'
inlineScript: | # inlineScript: |
$accessToken = az account get-access-token --query accessToken --resource 499b84ac-1321-427f-aa17-267ca6975798 -o tsv # $accessToken = az account get-access-token --query accessToken --resource 499b84ac-1321-427f-aa17-267ca6975798 -o tsv
Write-Host "##vso[task.setsecret]$accessToken" # Write-Host "##vso[task.setsecret]$accessToken"
$env:AZURE_DEVOPS_EXT_PAT=$accessToken # $env:AZURE_DEVOPS_EXT_PAT=$accessToken
az artifacts universal download ` # az artifacts universal download `
--organization $(feedAuthority) ` # --organization $(feedAuthority) `
--project=$(feedProject) ` # --project=$(feedProject) `
--scope project ` # --scope project `
--feed $(metadataFeed) ` # --feed $(metadataFeed) `
--name shuttle ` # --name shuttle `
--version $(shuttleVersion) ` # --version $(shuttleVersion) `
--path shuttle # --path shuttle
displayName: Prepare shuttle # displayName: Prepare shuttle
- pwsh: - pwsh:
.build-tools/getRequiredModules.ps1 '${{ parameters.moduleFolderName }}/${{ parameters.moduleFolderName }}.psd1' .build-tools/getRequiredModules.ps1 '${{ parameters.moduleFolderName }}/${{ parameters.moduleFolderName }}.psd1'
displayName: 'Restore Dependencies for ${{ parameters.moduleFolderName }}' displayName: 'Restore Dependencies for ${{ parameters.moduleFolderName }}'
@ -43,9 +43,9 @@ stages:
$(Build.BuildNumber) $(Build.BuildNumber)
'$(System.DefaultWorkingDirectory)/tmp' '$(System.DefaultWorkingDirectory)/tmp'
displayName: 'Test publish' displayName: 'Test publish'
- pwsh: | # - pwsh: |
echo "+ ${{ parameters.moduleFolderName }}@$(moduleVersion)" > shuttle/baseline # echo "+ ${{ parameters.moduleFolderName }}@$(moduleVersion)" > shuttle/baseline
dotnet shuttle/Shuttle.dll generate # dotnet shuttle/Shuttle.dll generate
env: # env:
METADATA: uri://console # METADATA: uri://console
displayName: 'Generate metadata' # displayName: 'Generate metadata'