From 3c443642eb835f66016213adcea34113741fd27b Mon Sep 17 00:00:00 2001 From: Jeremy Clerc Date: Fri, 26 Jan 2024 20:20:35 +0100 Subject: [PATCH] bump default nexus version 3.64 --- attributes/default.rb | 2 +- spec/spec_helper.rb | 2 +- .../cookbooks/nexus3_resources_test/attributes/group.rb | 2 +- .../cookbooks/nexus3_resources_test/attributes/repo.rb | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/attributes/default.rb b/attributes/default.rb index fbb0d37..54caaa2 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -6,7 +6,7 @@ default['nexus3']['group'] = 'nexus' end # Download URL is defined in the resource but you can override it with the default['nexus3']['url'] attribute -default['nexus3']['version'] = '3.27.0-03' +default['nexus3']['version'] = '3.64.0-04' default['nexus3']['url'] = nil # optional default['nexus3']['checksum'] = nil # optional default['nexus3']['home'] = "#{node['nexus3']['path']}/nexus3" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 349b8a8..c8efd2e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,7 +2,7 @@ require 'chefspec/policyfile' require 'webmock/rspec' -VER = '3.27.0-03'.freeze +VER = '3.64.0-04'.freeze CACHE = Chef::Config[:file_cache_path] CENTOS_VERSION = '7.8.2003'.freeze diff --git a/test/fixtures/cookbooks/nexus3_resources_test/attributes/group.rb b/test/fixtures/cookbooks/nexus3_resources_test/attributes/group.rb index 95603cd..92050f6 100644 --- a/test/fixtures/cookbooks/nexus3_resources_test/attributes/group.rb +++ b/test/fixtures/cookbooks/nexus3_resources_test/attributes/group.rb @@ -1,5 +1,5 @@ # Test group resource -default_repo_conf = ::Mash.new(storage: { blobStoreName: 'default', writePolicy: 'ALLOW_ONCE' }) +default_repo_conf = ::Mash.new(storage: { blobStoreName: 'default', writePolicy: 'ALLOW_ONCE' }, component: {}) default_group_conf = ::Mash.new(storage: { blobStoreName: 'default', strictContentTypeValidation: true }) # Create 2 pypi repo first diff --git a/test/fixtures/cookbooks/nexus3_resources_test/attributes/repo.rb b/test/fixtures/cookbooks/nexus3_resources_test/attributes/repo.rb index 826d36a..dd7ea3f 100644 --- a/test/fixtures/cookbooks/nexus3_resources_test/attributes/repo.rb +++ b/test/fixtures/cookbooks/nexus3_resources_test/attributes/repo.rb @@ -1,7 +1,7 @@ # Test repo resource default_repo_conf = ::Mash.new(storage: { blobStoreName: 'default', writePolicy: 'ALLOW_ONCE' }) -default_maven_conf = default_repo_conf.merge(maven: { versionPolicy: 'RELEASE', layoutPolicy: 'STRICT' }) -default_maven_proxy_conf = default_maven_conf.merge('maven-indexer': {}, proxy: { remoteUrl: 'http://localhost:8081' }, httpclient: {}, negativeCache: {}) +default_maven_conf = default_repo_conf.merge(maven: { versionPolicy: 'RELEASE', layoutPolicy: 'STRICT' }, component: {}) +default_maven_proxy_conf = default_maven_conf.merge('maven-indexer': {}, proxy: { remoteUrl: 'http://localhost:8081' }, httpclient: {}, negativeCache: {}, replication:{}) # action: create default['nexus3_resources_test']['repo']['create']['maven']['repo_name'] = 'foo_maven' default['nexus3_resources_test']['repo']['create']['maven']['repo_type'] = 'maven2-hosted'