Skip to content

Commit

Permalink
Added dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj committed Dec 6, 2018
1 parent e4d17c8 commit 1aa6c54
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
29 changes: 15 additions & 14 deletions build/ci/templates/virtual_env_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ parameters:

jobs:
- job: ${{ parameters.name }}
dependsOn: 'PR_Validate_Windows_py37'
pool:
name: ${{ parameters.PoolName }}

Expand Down Expand Up @@ -61,28 +62,28 @@ jobs:
name: 'show_bld_vars'


# - powershell: |
# New-Item -ItemType directory -Path "$(System.ArtifactsDirectory)/bin-artifacts"
- powershell: |
New-Item -ItemType directory -Path "$(System.ArtifactsDirectory)/bin-artifacts"
# $buildArtifactUri = "https://$(azureStorageAcctName).blob.core.windows.net/$(azureStorageContainerName)/$(Build.BuildNumber)/bin-artifacts.zip"
# Write-Verbose "Downloading from $buildArtifactUri"
$buildArtifactUri = "https://$(azureStorageAcctName).blob.core.windows.net/$(azureStorageContainerName)/$(Build.BuildNumber)/bin-artifacts.zip"
Write-Verbose "Downloading from $buildArtifactUri"
# $destination = "$(System.ArtifactsDirectory)/bin-artifacts/bin-artifacts.zip"
# Write-Verbose "Destination file: $destination"
$destination = "$(System.ArtifactsDirectory)/bin-artifacts/bin-artifacts.zip"
Write-Verbose "Destination file: $destination"
# Invoke-WebRequest -Uri $buildArtifactUri -OutFile $destination -Verbose
Invoke-WebRequest -Uri $buildArtifactUri -OutFile $destination -Verbose
# displayName: 'Download bin-artifacts from cloud-storage'
displayName: 'Download bin-artifacts from cloud-storage'
# - task: ExtractFiles@1
# displayName: 'Splat bin-artifacts'
# inputs:
# archiveFilePatterns: '$(System.ArtifactsDirectory)/bin-artifacts/bin-artifacts.zip'
- task: ExtractFiles@1
displayName: 'Splat bin-artifacts'
inputs:
archiveFilePatterns: '$(System.ArtifactsDirectory)/bin-artifacts/bin-artifacts.zip'

# destinationFolder: '$(Build.SourcesDirectory)'
destinationFolder: '$(Build.SourcesDirectory)'

# cleanDestinationFolder: false
cleanDestinationFolder: false


- task: UsePythonVersion@0
Expand Down
3 changes: 2 additions & 1 deletion build/ci/vscode-python-pr-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
Platform: 'Windows'
AzureStorageAccountName: 'vscodepythonci'
AzureStorageContainerName: 'vscode-python-ci'
VirtualExecutableFolder: 'Scripts'
EnvironmentExecutableFolder: 'Scripts'
DIRECTORY_FOR_VIRTUAL_ENVS: './envPaths.json'


- job: 'System_Test_macOS'
Expand Down

0 comments on commit 1aa6c54

Please sign in to comment.