Skip to content

Commit 671296f

Browse files
Changes to fix failed to fetch registry in AzureIOTEdgeV2 task (#20174)
* changes to fix AzureIOTEdgeV2 task failed to fetch registry * task version upgrade
1 parent 74460ae commit 671296f

File tree

10 files changed

+19
-19
lines changed

10 files changed

+19
-19
lines changed

Tasks/AzureIoTEdgeV2/pushimage.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function getRegistryAuthenticationToken(): Promise<AuthenticationToken> {
1818
let token : AuthenticationToken;
1919

2020
if (registryType == "Azure Container Registry") {
21-
authenticationProvider = new ACRAuthenticationTokenProvider(tl.getInput("azureSubscriptionEndpointForSecrets"), tl.getInput("azureContainerRegistry"));
21+
authenticationProvider = new ACRAuthenticationTokenProvider(tl.getInput("azureSubscriptionEndpoint"), tl.getInput("azureContainerRegistry"));
2222
token = authenticationProvider.getAuthenticationToken();
2323
}
2424
else {

Tasks/AzureIoTEdgeV2/task.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 243,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"preview": false,
2020
"showEnvironmentVariables": true,

Tasks/AzureIoTEdgeV2/task.loc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 243,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"preview": false,
2020
"showEnvironmentVariables": true,
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Default|2.243.0
2-
Node20_229_11|2.243.1
1+
Default|2.243.2
2+
Node20_229_11|2.243.3

_generated/AzureIoTEdgeV2/pushimage.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function getRegistryAuthenticationToken(): Promise<AuthenticationToken> {
1818
let token : AuthenticationToken;
1919

2020
if (registryType == "Azure Container Registry") {
21-
authenticationProvider = new ACRAuthenticationTokenProvider(tl.getInput("azureSubscriptionEndpointForSecrets"), tl.getInput("azureContainerRegistry"));
21+
authenticationProvider = new ACRAuthenticationTokenProvider(tl.getInput("azureSubscriptionEndpoint"), tl.getInput("azureContainerRegistry"));
2222
token = authenticationProvider.getAuthenticationToken();
2323
}
2424
else {

_generated/AzureIoTEdgeV2/task.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 243,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"preview": false,
2020
"showEnvironmentVariables": true,
@@ -296,7 +296,7 @@
296296
}
297297
],
298298
"_buildConfigMapping": {
299-
"Default": "2.243.0",
300-
"Node20_229_11": "2.243.1"
299+
"Default": "2.243.2",
300+
"Node20_229_11": "2.243.3"
301301
}
302302
}

_generated/AzureIoTEdgeV2/task.loc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 243,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"preview": false,
2020
"showEnvironmentVariables": true,
@@ -296,7 +296,7 @@
296296
}
297297
],
298298
"_buildConfigMapping": {
299-
"Default": "2.243.0",
300-
"Node20_229_11": "2.243.1"
299+
"Default": "2.243.2",
300+
"Node20_229_11": "2.243.3"
301301
}
302302
}

_generated/AzureIoTEdgeV2_Node20/pushimage.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function getRegistryAuthenticationToken(): Promise<AuthenticationToken> {
1818
let token : AuthenticationToken;
1919

2020
if (registryType == "Azure Container Registry") {
21-
authenticationProvider = new ACRAuthenticationTokenProvider(tl.getInput("azureSubscriptionEndpointForSecrets"), tl.getInput("azureContainerRegistry"));
21+
authenticationProvider = new ACRAuthenticationTokenProvider(tl.getInput("azureSubscriptionEndpoint"), tl.getInput("azureContainerRegistry"));
2222
token = authenticationProvider.getAuthenticationToken();
2323
}
2424
else {

_generated/AzureIoTEdgeV2_Node20/task.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 243,
17-
"Patch": 1
17+
"Patch": 3
1818
},
1919
"preview": false,
2020
"showEnvironmentVariables": true,
@@ -300,7 +300,7 @@
300300
}
301301
],
302302
"_buildConfigMapping": {
303-
"Default": "2.243.0",
304-
"Node20_229_11": "2.243.1"
303+
"Default": "2.243.2",
304+
"Node20_229_11": "2.243.3"
305305
}
306306
}

_generated/AzureIoTEdgeV2_Node20/task.loc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 243,
17-
"Patch": 1
17+
"Patch": 3
1818
},
1919
"preview": false,
2020
"showEnvironmentVariables": true,
@@ -300,7 +300,7 @@
300300
}
301301
],
302302
"_buildConfigMapping": {
303-
"Default": "2.243.0",
304-
"Node20_229_11": "2.243.1"
303+
"Default": "2.243.2",
304+
"Node20_229_11": "2.243.3"
305305
}
306306
}

0 commit comments

Comments
 (0)