Skip to content

Commit 2f8f424

Browse files
hallvictoriaVictoria Hall
andauthored
fix: unique function names (#1557)
* initial test fixes * del function_app * refactor variables into separate file e2e & unit tests * refactor variables for all pipelines * typo * absolute paths * run all db tests * typo --------- Co-authored-by: Victoria Hall <[email protected]>
1 parent 296e3c6 commit 2f8f424

16 files changed

+122
-183
lines changed

eng/ci/core-tools-tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ resources:
1010
ref: refs/tags/release
1111

1212
variables:
13-
- template: /ci/variables/build.yml@eng
14-
- template: /ci/variables/cfs.yml@eng
15-
- group: python-integration-resources
13+
- template: /eng/templates/utils/official-variables.yml@self
14+
1615
extends:
1716
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es
1817
parameters:

eng/ci/custom-image-tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ resources:
1010
ref: refs/tags/release
1111

1212
variables:
13-
- template: /ci/variables/build.yml@eng
14-
- template: /ci/variables/cfs.yml@eng
15-
- group: python-integration-resources
13+
- template: /eng/templates/utils/official-variables.yml@self
1614

1715
extends:
1816
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es

eng/ci/docker-consumption-tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ resources:
2121
ref: refs/tags/release
2222

2323
variables:
24-
- template: /ci/variables/build.yml@eng
25-
- template: /ci/variables/cfs.yml@eng
26-
- group: python-integration-resources
24+
- template: /eng/templates/utils/official-variables.yml@self
2725

2826
extends:
2927
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es

eng/ci/docker-dedicated-tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ resources:
2121
ref: refs/tags/release
2222

2323
variables:
24-
- template: /ci/variables/build.yml@eng
25-
- template: /ci/variables/cfs.yml@eng
26-
- group: python-integration-resources
24+
- template: /eng/templates/utils/official-variables.yml@self
2725

2826
extends:
2927
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es

eng/ci/integration-tests.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,8 @@ resources:
3131
ref: refs/tags/release
3232

3333
variables:
34-
- template: /ci/variables/build.yml@eng
35-
- template: /ci/variables/cfs.yml@eng
36-
- group: python-integration-resources
37-
- name: isSdkRelease
38-
value: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/sdk/')]
39-
- name: isExtensionsRelease
40-
value: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/extensions/')]
34+
- template: /eng/templates/utils/variables.yml@self
35+
- template: /eng/templates/utils/official-variables.yml@self
4136

4237
extends:
4338
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es

eng/ci/official-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ resources:
2828
ref: refs/tags/release
2929

3030
variables:
31-
- template: /ci/variables/build.yml@eng
32-
- template: /ci/variables/cfs.yml@eng
33-
- group: python-integration-resources
31+
- template: /eng/templates/utils/variables.yml@self
32+
- template: /eng/templates/utils/official-variables.yml@self
3433

3534
extends:
3635
template: v1/1ES.Official.PipelineTemplate.yml@1es

eng/ci/public-build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ resources:
2727
ref: refs/tags/release
2828

2929
variables:
30-
- name: isSdkRelease
31-
value: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/sdk/')]
32-
- name: isExtensionsRelease
33-
value: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/extensions/')]
30+
- template: /eng/templates/utils/variables.yml@self
3431

3532
extends:
3633
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es

eng/scripts/test-extensions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
python -m pip install --upgrade pip
44
if [[ $2 != "3.7" ]]; then
55
python -m pip install -e $1/PythonExtensionArtifact
6-
python -m pip install --pre -U -e .[test-http-v2]
6+
python -m pip install --pre -e .[test-http-v2]
77
fi
88
if [[ $2 != "3.7" && $2 != "3.8" ]]; then
99
python -m pip install -e $1/PythonExtensionArtifact

eng/scripts/test-sdk.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
python -m pip install --upgrade pip
44
python -m pip install -e $1/PythonSdkArtifact
5-
python -m pip install -U -e .[dev]
5+
python -m pip install -e .[dev]
66

77
if [[ $2 != "3.7" ]]; then
88
python -m pip install --pre -U -e .[test-http-v2]

eng/templates/official/jobs/ci-e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
displayName: 'Install test python extension, dependencies and the worker'
117117
condition: or(eq(variables.isExtensionsRelease, true), eq(variables['USETESTPYTHONEXTENSIONS'], true))
118118
- bash: |
119-
python -m pytest -q -n auto --dist loadfile --reruns 4 --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend tests/extension_tests/deferred_bindings_tests/test_deferred_bindings_blob_functions.py tests/extension_tests/http_v2_tests
119+
python -m pytest -q -n auto --dist loadfile --reruns 4 --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend tests/extension_tests/deferred_bindings_tests tests/extension_tests/http_v2_tests
120120
env:
121121
AzureWebJobsStorage: $(STORAGE_CONNECTION)
122122
AzureWebJobsCosmosDBConnectionString: $(COSMOSDB_CONNECTION)

0 commit comments

Comments
 (0)