Skip to content

Commit 549c5d7

Browse files
committed
move emulator var group to separate file
1 parent 42e537e commit 549c5d7

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

eng/ci/emulator-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ variables:
3434
- template: /ci/variables/build.yml@eng
3535
- template: /ci/variables/cfs.yml@eng
3636
- template: /eng/templates/utils/variables.yml@self
37+
- template: /eng/templates/utils/emulator-variables.yml@self
3738

3839
extends:
3940
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es

eng/ci/public-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ resources:
2828

2929
variables:
3030
- template: /eng/templates/utils/variables.yml@self
31+
- template: /eng/templates/utils/emulator-variables.yml@self
3132

3233
extends:
3334
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
- bash: |
153153
python -m pytest -q -n auto --dist loadfile --reruns 4 --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend
154154
env:
155-
AzureWebJobsStorageE2E: $(STORAGE_CONNECTION)
155+
AzureWebJobsStorage: $(STORAGE_CONNECTION)
156156
AzureWebJobsCosmosDBConnectionString: $(COSMOSDB_CONNECTION)
157157
AzureWebJobsEventHubConnectionString: $(EVENTHUB_CONNECTION)
158158
AzureWebJobsServiceBusConnectionString: $(SERVICEBUS_CONNECTION)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
variables:
2+
- group: python-emulator-resources

eng/templates/utils/variables.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
variables:
2-
- group: python-emulator-resources
32
- name: isSdkRelease
43
value: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/sdk/')]
54
- name: isExtensionsRelease

workers/tests/endtoend/eventgrid_functions/eventgrid_functions_stein/function_app.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@app.event_grid_trigger(arg_name="event")
1313
@app.blob_output(arg_name="$return",
1414
path="python-worker-tests/test-eventgrid-triggered.txt",
15-
connection="AzureWebJobsStorageE2E")
15+
connection="AzureWebJobsStorage")
1616
def event_grid_trigger(event: func.EventGridEvent) -> str:
1717
logging.info("Event grid function is triggered!")
1818
return json.dumps({
@@ -54,10 +54,10 @@ def eventgrid_output_binding(
5454

5555
@app.function_name(name="eventgrid_output_binding_message_to_blobstore")
5656
@app.queue_trigger(arg_name="msg", queue_name="test-event-grid-storage-queue",
57-
connection="AzureWebJobsStorageE2E")
57+
connection="AzureWebJobsStorage")
5858
@app.blob_output(arg_name="$return",
5959
path="python-worker-tests/test-eventgrid-output-binding.txt",
60-
connection="AzureWebJobsStorageE2E")
60+
connection="AzureWebJobsStorage")
6161
def eventgrid_output_binding_message_to_blobstore(
6262
msg: func.QueueMessage) -> bytes:
6363
return msg.get_body()
@@ -67,7 +67,7 @@ def eventgrid_output_binding_message_to_blobstore(
6767
@app.route(route="eventgrid_output_binding_success")
6868
@app.blob_input(arg_name="file",
6969
path="python-worker-tests/test-eventgrid-output-binding.txt",
70-
connection="AzureWebJobsStorageE2E")
70+
connection="AzureWebJobsStorage")
7171
def eventgrid_output_binding_success(
7272
req: func.HttpRequest, file: func.InputStream) -> str:
7373
return file.read().decode('utf-8')
@@ -77,7 +77,7 @@ def eventgrid_output_binding_success(
7777
@app.route(route="get_eventgrid_triggered")
7878
@app.blob_input(arg_name="file",
7979
path="python-worker-tests/test-eventgrid-triggered.txt",
80-
connection="AzureWebJobsStorageE2E")
80+
connection="AzureWebJobsStorage")
8181
def get_eventgrid_triggered(
8282
req: func.HttpRequest, file: func.InputStream) -> str:
8383
return file.read().decode('utf-8')

0 commit comments

Comments
 (0)