Skip to content

Commit 31ecc70

Browse files
authored
Add workloadidentityuser service connection support to CondaAuthenticateV0 (#20262)
* Add workloadidentityuser service connection support to CondaAuthenticateV0 * Updated task * Added make.json * Add string * Nit * Update package.json * Updated strings * Fix strings * Update make-options.json
1 parent d0f3b6a commit 31ecc70

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2979
-936
lines changed

Tasks/CondaAuthenticateV0/Strings/resources.resjson/en-US/resources.resjson

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"loc.helpMarkDown": "",
44
"loc.description": "Authentication task for the conda client",
55
"loc.instanceNameFormat": "Conda Authenticate",
6+
"loc.input.label.workloadIdentityServiceConnection": "'Entra Workload ID-backed Azure DevOps user' Service Connection",
7+
"loc.input.help.workloadIdentityServiceConnection": "If this is set, it will generate credentials using service connection instead of the build pipeline identity.",
68
"loc.messages.FailedToAddAuthentication": "Failed to add authentication.",
7-
"loc.messages.AddingAuthChannel": "Adding auth for the token %s"
9+
"loc.messages.AddingAuthChannel": "Adding auth for the token %s",
10+
"loc.messages.Info_AddingFederatedFeedAuth": "Adding auth information from service connection %s",
11+
"loc.messages.Info_SuccessAddingFederatedFeedAuth": "Successfully added auth for service connection %s.",
12+
"loc.messages.FailedToGetServiceConnectionAuth": "Unable to get federated credentials from service connection: %s."
813
}

Tasks/CondaAuthenticateV0/_buildConfigs/Node20/package-lock.json

Lines changed: 244 additions & 212 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tasks/CondaAuthenticateV0/_buildConfigs/Node20/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"@types/node": "^20.3.1",
2727
"@types/mocha": "^5.2.7",
2828
"@types/uuid": "^8.3.0",
29-
"azure-pipelines-task-lib": "4.1.0"
29+
"azure-pipelines-task-lib": "^4.13.0",
30+
"azure-pipelines-tasks-artifacts-common": "^2.243.0"
3031
},
3132
"devDependencies": {
3233
"typescript": "5.1.6"

0 commit comments

Comments
 (0)