Skip to content

Commit 372ac1a

Browse files
committed
Support for v4 functions (signed)
1 parent 91b22bb commit 372ac1a

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

BlobStorage/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ export NEWLINE_PATTERN ?= (?:\r\n|\r|\n)
1010

1111
# Change to "https://api.coralogix.us:443/api/v1/logs" for US cluster
1212
# Change to "https://api.app.coralogix.in:443/api/v1/logs" for IN cluster
13-
export CORALOGIX_URL ?= "https://api.coralogix.com:443/api/v1/logs"
13+
export CORALOGIX_URL ?= "https://api.coralogix.com:443/api/v1/logs"
1414

1515
functools:
16-
@echo "Will now install: azure-functions-core-tools v3 "
17-
@npm install -g azure-functions-core-tools@3 --unsafe-perm true
16+
@echo "Will now install: azure-functions-core-tools v4 "
17+
@npm install -g azure-functions-core-tools@4 --unsafe-perm true
1818

1919
dependencies:
2020
@echo "Will now build the dependencies"
@@ -39,7 +39,7 @@ install:
3939
--name "$(AZURE_FUNCTION_NAME)" \
4040
--location $(AZURE_REGION) \
4141
--resource-group $(AZURE_RESOURCE_GROUP) \
42-
--sku Standard_LRS
42+
--sku Standard_LRS
4343
@echo "Will now create the function with the following parametrs"
4444
@echo "Function Name: $(AZURE_FUNCTION_NAME)"
4545
@echo "Resource Group: $(AZURE_RESOURCE_GROUP)"
@@ -52,8 +52,8 @@ install:
5252
--resource-group $(AZURE_RESOURCE_GROUP) \
5353
--consumption-plan-location $(AZURE_REGION) \
5454
--runtime node \
55-
--runtime-version 12 \
56-
--functions-version 3 \
55+
--runtime-version 16 \
56+
--functions-version ~4 \
5757
--storage-account $(AZURE_FUNCTION_NAME)
5858

5959
configure:

BlobStorage/host.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"strategy": "exponentialBackoff",
99
"maxRetryCount": 5,
1010
"minimumInterval": "00:00:10",
11-
"maximumInterval": "00:10:00"
11+
"maximumInterval": "00:10:00"
1212
},
1313
"extensions": {
1414
"blobs": {
@@ -25,6 +25,6 @@
2525
},
2626
"extensionBundle": {
2727
"id": "Microsoft.Azure.Functions.ExtensionBundle",
28-
"version": "[1.*, 2.0.0)"
28+
"version": "[3.*, 4.0.0)"
2929
}
3030
}

BlobStorage/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@
5252
"url": "https://github.com/coralogix/coralogix-azure-serverless/issues"
5353
},
5454
"devDependencies": {
55-
"@azure/functions": "^1.0.1-beta1",
56-
"@types/node": "^14.14.10",
55+
"@azure/functions": "^3.0.0",
56+
"azure-functions-core-tools": "^4.x",
57+
"@types/node": "16.x",
5758
"@typescript-eslint/eslint-plugin": "^4.8.2",
5859
"@typescript-eslint/parser": "^4.8.2",
5960
"eslint": "^7.14.0",

0 commit comments

Comments
 (0)