Skip to content

Commit

Permalink
Pushing WIP to Master (#549)
Browse files Browse the repository at this point in the history
* Update readme.md

* Remove test credentials

* Update readme.md

---------

Co-authored-by: Steve Lee <[email protected]>
  • Loading branch information
SydneyhSmith and SteveL-MSFT authored Sep 9, 2024
1 parent d1ba58d commit d25ee92
Show file tree
Hide file tree
Showing 3 changed files with 576 additions and 271 deletions.
2 changes: 1 addition & 1 deletion Test/ModuleTests/tests/install-packageprovider.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ Describe "install-packageprovider with Scope" -Tags "Feature" {
if ($IsWindows)
{
$userName = "smartguy"
$password = ('p','a','s','s','w', 'o', 'r', 'd', '%', '1' | Get-Random -Shuffle ) -join ''
$password = ""
#net user $userName /delete | Out-Null
net user $userName $password /add
$secesurestring = ConvertTo-SecureString $password -AsPlainText -Force
Expand Down
4 changes: 2 additions & 2 deletions Test/ModuleTests/tests/nuget.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ Describe "Azure Artifacts Credential Provider Integration" -Tags "Feature" {
$pkgSourceName = "OneGetTestPrivateFeed"
# This pkg source is an Azure DevOps private feed
$testSource = "https://pkgs.dev.azure.com/onegettest/_packaging/onegettest/nuget/v2";
$username = "[email protected]"
$PAT = "qo2xvzdnfi2mlcq3eq2jkoxup576kt4gnngcicqhup6bbix6sila"
$username = ""
$PAT = ""
# see https://github.com/Microsoft/artifacts-credprovider#environment-variables for more info on env vars for the credential provider
# The line below is purely for local testing. Make sure to update env vars in AppVeyor and Travis CI as necessary.
$VSS_NUGET_EXTERNAL_FEED_ENDPOINTS = "{'endpointCredentials': [{'endpoint':'$testSource', 'username':'$username', 'password':'$PAT'}]}"
Expand Down
Loading

0 comments on commit d25ee92

Please sign in to comment.