File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 env :
6464 pythonVersion : ${{ parameters.pythonVersion }}
6565- powershell : |
66- Write-Host "workerPath: $(workerPath) "
67- Write-Host "proxyWorker: $(proxyWorker) "
68- Write-Host "rustWorker: $(rustWorker) "
66+ Write-Host "workerPath: $env:WORKERPATH "
67+ Write-Host "proxyWorker: $env:PROXYWORKER "
68+ Write-Host "rustWorker: $env:RUSTWORKER "
6969 displayName : ' Display variables'
7070- task : ShellScript@2
7171 inputs :
@@ -74,6 +74,11 @@ steps:
7474 args : ' ${{ parameters.pythonVersion }}'
7575 displayName : ' Install Dependencies'
7676 condition : ne(variables['rustWorker'], 'true')
77+ - task : CargoAuthenticate@0
78+ displayName : ' Authenticate Cargo to CFS'
79+ inputs :
80+ configFile : ' $(Build.SourcesDirectory)/workers/rust_worker/.cargo/config.toml'
81+ condition : eq(variables['rustWorker'], 'true')
7782- task : ShellScript@2
7883 inputs :
7984 disableAutoCwd : true
@@ -308,8 +313,7 @@ steps:
308313 "azure_functions_runtime_v1/native_invocation.py",
309314 "azure_functions_runtime_v1/utils/executor.py",
310315 "azure",
311- "azurefunctions",
312- "google"
316+ "azurefunctions"
313317 )
314318 $forbidden = @("grpc", "proxy_worker", "uvloop")
315319
Original file line number Diff line number Diff line change @@ -38,6 +38,11 @@ steps:
3838 cargo clippy --version
3939 displayName: 'Check Rust versions'
4040
41+ - task : CargoAuthenticate@0
42+ displayName : ' Authenticate Cargo to CFS'
43+ inputs :
44+ configFile : ' $(Build.SourcesDirectory)/${{ parameters.PROJECT_DIRECTORY }}/.cargo/config.toml'
45+
4146 - bash : |
4247 set -euo pipefail
4348 python -m pip install --upgrade pip
Original file line number Diff line number Diff line change 1+ [registries ]
2+ upstream = { index = " sparse+https://pkgs.dev.azure.com/azfunc/internal/_packaging/upstream/Cargo/index/" }
3+
4+ [source .crates-io ]
5+ replace-with = " upstream"
Original file line number Diff line number Diff line change 11/target
2- Cargo.lock
You can’t perform that action at this time.
0 commit comments