mirror of
https://github.com/rgl/nexus-vagrant.git
synced 2026-09-30 00:31:11 +02:00
drop the nuget-hosted repository customization has those are now set by default
This commit is contained in:
@@ -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.
|
||||
repository.createNugetHosted("powershell-hosted", "default", true, WritePolicy.ALLOW_ONCE)
|
||||
// create a powershell proxy repository backed by the default blob store.
|
||||
|
||||
Reference in New Issue
Block a user