Skip to content

Commit

Permalink
bump default nexus version 3.64
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-clerc committed Jan 26, 2024
1 parent 118c82c commit 3c44364
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 3c44364

Please sign in to comment.