drop the nuget-hosted repository customization has those are now set by default

This commit is contained in:
Rui Lopes 2024-12-09 08:40:30 +00:00
parent 9c10197712
commit 996c7b692e
No known key found for this signature in database
1 changed files with 0 additions and 6 deletions

View File

@ -26,12 +26,6 @@ capabilityRegistry.all.findAll {it.context().type().toString().startsWith("Outre
//]) //])
// modify the default nuget-hosted repository for not allowing re-deployments.
config = repository.repositoryManager.get("nuget-hosted").configuration.copy()
config.attributes.storage.writePolicy = WritePolicy.ALLOW_ONCE
repository.repositoryManager.update(config)
// create a powershell repository backed by the default blob store. // create a powershell repository backed by the default blob store.
repository.createNugetHosted("powershell-hosted", "default", true, WritePolicy.ALLOW_ONCE) repository.createNugetHosted("powershell-hosted", "default", true, WritePolicy.ALLOW_ONCE)
// create a powershell proxy repository backed by the default blob store. // create a powershell proxy repository backed by the default blob store.