File tree Expand file tree Collapse file tree 3 files changed +27
-4
lines changed
Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ source .env/bin/activate
55python -m pip install --upgrade pip
66
77python -m pip install .
8-
98python -m pip install . --no-compile --target " $BUILD_SOURCESDIRECTORY /deps"
10- cp .artifactignore " $BUILD_SOURCESDIRECTORY /deps"
9+
10+ python -m pip install invoke
11+ cd tests
12+ python -m invoke -c test_setup build-protos
13+
14+ cd ..
15+ cp .artifactignore " $BUILD_SOURCESDIRECTORY /deps"
16+ cp azure_functions_worker/protos/FunctionRpc_pb2_grpc.py " $BUILD_SOURCESDIRECTORY /deps/azure_functions_worker/protos"
17+ cp azure_functions_worker/protos/FunctionRpc_pb2.py " $BUILD_SOURCESDIRECTORY /deps/azure_functions_worker/protos"
Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ source .env/bin/activate
55python -m pip install --upgrade pip
66
77python -m pip install .
8-
98python -m pip install . --no-compile --target " $BUILD_SOURCESDIRECTORY /deps"
10- cp .artifactignore " $BUILD_SOURCESDIRECTORY /deps"
9+
10+ python -m pip install invoke
11+ cd tests
12+ python -m invoke -c test_setup build-protos
13+
14+ cd ..
15+ cp .artifactignore " $BUILD_SOURCESDIRECTORY /deps"
16+ cp azure_functions_worker/protos/FunctionRpc_pb2_grpc.py " $BUILD_SOURCESDIRECTORY /deps/azure_functions_worker/protos"
17+ cp azure_functions_worker/protos/FunctionRpc_pb2.py " $BUILD_SOURCESDIRECTORY /deps/azure_functions_worker/protos"
Original file line number Diff line number Diff line change @@ -5,6 +5,15 @@ python -m pip install --upgrade pip
55python - m pip install .
66
77$depsPath = Join-Path - Path $env: BUILD_SOURCESDIRECTORY - ChildPath " deps"
8+ $protosPath = Join-Path - Path $depsPath - ChildPath " azure_functions_worker/protos"
89
910python - m pip install . azure- functions -- no- compile -- target $depsPath.ToString ()
11+
12+ python - m pip install invoke
13+ cd tests
14+ python - m invoke - c test_setup build-protos
15+
16+ cd ..
1017Copy-Item - Path " .artifactignore" - Destination $depsPath.ToString ()
18+ Copy-Item - Path " azure_functions_worker/protos/FunctionRpc_pb2_grpc.py" - Destination $protosPath.ToString ()
19+ Copy-Item - Path " azure_functions_worker/protos/FunctionRpc_pb2.py" - Destination $protosPath.ToString ()
You can’t perform that action at this time.
0 commit comments