Skip to content

Commit 1e5ca51

Browse files
authored
Updating TwineAuthenticateV1 to allow new service connection (#20317)
* Updating TwineAuthenticateV1 to allow new service connection * Updated tl.loc name * Made twine auth cleaner
1 parent 709c585 commit 1e5ca51

Some content is hidden

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

54 files changed

+3868
-439
lines changed

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,27 @@
99
"loc.input.help.artifactFeed": "Select a feed to authenticate present in this organization.",
1010
"loc.input.label.pythonUploadServiceConnection": "Feed from external organizations",
1111
"loc.input.help.pythonUploadServiceConnection": "Select an endpoint to authenticate outside this organization. Make sure the endpoint has package upload permissions.",
12+
"loc.input.label.workloadIdentityServiceConnection": "'Entra Workload ID-backed Azure DevOps user' Service Connection",
13+
"loc.input.help.workloadIdentityServiceConnection": "If this is set, feedUrl is required. All other inputs are ignored.",
14+
"loc.input.label.feedUrl": "Azure Artifacts Feed url.",
15+
"loc.input.help.feedUrl": "If this is set, workloadIdentityServiceConnection is required. All other inputs are ignored. Not compatible with pythonUploadServiceConnections. Feed Url should be in the pypi upload registry format, e.g. https://pkgs.dev.azure.com/{ORG_NAME}/{PROJECT}/_packaging/{FEED_NAME}/pypi/upload/",
1216
"loc.messages.Info_AddingInternalFeeds": "Adding auth information for %s internal feed.",
1317
"loc.messages.Info_AddingExternalFeeds": "Adding auth information for %s external endpoint.",
1418
"loc.messages.Info_AddingAuthForRegistry": "Adding authentication to configuration for registry %s",
1519
"loc.messages.Info_SuccessAddingAuth": "Successfully added auth for %s internal feed and %s external endpoint.",
1620
"loc.messages.Info_AddingPasswordAuthEntry": "Adding username password auth entry for feed %s",
1721
"loc.messages.Info_AddingTokenAuthEntry": "Adding token auth entry for feed %s",
22+
"loc.messages.Info_SuccessAddingFederatedFeedAuth": "Successfully added federated auth for feed %s.",
1823
"loc.messages.Error_FailedToParseFeedUrlAndAuth": "Failed to parse the feed url and add auth information. %s",
1924
"loc.messages.Warning_OnlyOneFeedAllowed": "Only one internal feed can be authorized at a time using this task. All the feeds except first one will be ignored.",
2025
"loc.messages.Warning_OnlyOneServiceConnectionAllowed": "Only one service connection can be authorized at a time using this task. All the connections except first one will be ignored.",
21-
"loc.messages.Error_DuplicateEntryForFeed": "This is a duplicate entry for the feed name. Use unique names to avoid potential publish issues.",
26+
"loc.messages.Warning_DuplicateEntryForFeed": "This is a duplicate entry for the feed name. Use unique names to avoid potential publish issues.",
2227
"loc.messages.FailedToGetPackagingUri": "Unable to get packaging uri, using default collection uri.",
2328
"loc.messages.FailedToAddAuthentication": "Failed to add authentication.",
2429
"loc.messages.NoPypircFile": "No .pypirc file to clean up.",
2530
"loc.messages.VariableSetForPypirc": "Environment variable for .pypirc at %s is set.",
2631
"loc.messages.Info_RemovingPypircFile": "Removing .pypirc file from %s",
27-
"loc.messages.DuplicateRegistry": "%s registry is already authenticated",
2832
"loc.messages.NoRepoFound": "No repo url found under %s",
29-
"loc.messages.DuplicateRepoUrl": "Repo with repository url %s already exists and is authenticated"
33+
"loc.messages.Error_FailedToGetServiceConnectionAuth": "Unable to get federated credentials from service connection: %s.",
34+
"loc.messages.Error_MissingFeedUrlOrServiceConnection": "Both feed url and service connection need to be set and cannot be empty."
3035
}

0 commit comments

Comments
 (0)