mirror of
https://github.com/voxpupuli/puppet-hashi_stack.git
synced 2025-05-24 10:55:00 +01:00
modulesync 5.5.0
This commit is contained in:
parent
df00263284
commit
f7b6e2de9d
6 changed files with 60 additions and 92 deletions
3
.github/SECURITY.md
vendored
3
.github/SECURITY.md
vendored
|
@ -1,3 +0,0 @@
|
||||||
# Vox Pupuli Security Policy
|
|
||||||
|
|
||||||
Our vulnerabilities reporting process is at https://voxpupuli.org/security/
|
|
36
.gitignore
vendored
36
.gitignore
vendored
|
@ -1,23 +1,23 @@
|
||||||
# Managed by modulesync - DO NOT EDIT
|
# Managed by modulesync - DO NOT EDIT
|
||||||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
|
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
|
||||||
|
|
||||||
pkg/
|
/pkg/
|
||||||
Gemfile.lock
|
/Gemfile.lock
|
||||||
Gemfile.local
|
/Gemfile.local
|
||||||
vendor/
|
/vendor/
|
||||||
.vendor/
|
/.vendor/
|
||||||
spec/fixtures/manifests/
|
/spec/fixtures/manifests/
|
||||||
spec/fixtures/modules/
|
/spec/fixtures/modules/
|
||||||
.vagrant/
|
/.vagrant/
|
||||||
.bundle/
|
/.bundle/
|
||||||
.ruby-version
|
/.ruby-version
|
||||||
coverage/
|
/coverage/
|
||||||
log/
|
/log/
|
||||||
.idea/
|
/.idea/
|
||||||
.dependencies/
|
/.dependencies/
|
||||||
.librarian/
|
/.librarian/
|
||||||
Puppetfile.lock
|
/Puppetfile.lock
|
||||||
*.iml
|
*.iml
|
||||||
.*.sw?
|
.*.sw?
|
||||||
.yardoc/
|
/.yardoc/
|
||||||
Guardfile
|
/Guardfile
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
# Managed by modulesync - DO NOT EDIT
|
# Managed by modulesync - DO NOT EDIT
|
||||||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
|
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
|
||||||
|
|
||||||
modulesync_config_version: '5.4.0'
|
modulesync_config_version: '5.5.0'
|
||||||
|
|
64
.pmtignore
64
.pmtignore
|
@ -1,37 +1,37 @@
|
||||||
# Managed by modulesync - DO NOT EDIT
|
# Managed by modulesync - DO NOT EDIT
|
||||||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
|
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
|
||||||
|
|
||||||
docs/
|
/docs/
|
||||||
pkg/
|
/pkg/
|
||||||
Gemfile
|
/Gemfile
|
||||||
Gemfile.lock
|
/Gemfile.lock
|
||||||
Gemfile.local
|
/Gemfile.local
|
||||||
vendor/
|
/vendor/
|
||||||
.vendor/
|
/.vendor/
|
||||||
spec/
|
/spec/
|
||||||
Rakefile
|
/Rakefile
|
||||||
.vagrant/
|
/.vagrant/
|
||||||
.bundle/
|
/.bundle/
|
||||||
.ruby-version
|
/.ruby-version
|
||||||
coverage/
|
/coverage/
|
||||||
log/
|
/log/
|
||||||
.idea/
|
/.idea/
|
||||||
.dependencies/
|
/.dependencies/
|
||||||
.github/
|
/.github/
|
||||||
.librarian/
|
/.librarian/
|
||||||
Puppetfile.lock
|
/Puppetfile.lock
|
||||||
*.iml
|
*.iml
|
||||||
.editorconfig
|
/.editorconfig
|
||||||
.fixtures.yml
|
/.fixtures.yml
|
||||||
.gitignore
|
/.gitignore
|
||||||
.msync.yml
|
/.msync.yml
|
||||||
.overcommit.yml
|
/.overcommit.yml
|
||||||
.pmtignore
|
/.pmtignore
|
||||||
.rspec
|
/.rspec
|
||||||
.rspec_parallel
|
/.rspec_parallel
|
||||||
.rubocop.yml
|
/.rubocop.yml
|
||||||
.sync.yml
|
/.sync.yml
|
||||||
.*.sw?
|
.*.sw?
|
||||||
.yardoc/
|
/.yardoc/
|
||||||
.yardopts
|
/.yardopts
|
||||||
Dockerfile
|
/Dockerfile
|
||||||
|
|
3
Gemfile
3
Gemfile
|
@ -21,8 +21,7 @@ end
|
||||||
|
|
||||||
group :release do
|
group :release do
|
||||||
gem 'github_changelog_generator', '>= 1.16.1', :require => false if RUBY_VERSION >= '2.5'
|
gem 'github_changelog_generator', '>= 1.16.1', :require => false if RUBY_VERSION >= '2.5'
|
||||||
gem 'voxpupuli-release', '>= 1.2.0', :require => false
|
gem 'voxpupuli-release', '~> 2.0', :require => false
|
||||||
gem 'puppet-strings', '>= 2.2', :require => false
|
|
||||||
end
|
end
|
||||||
|
|
||||||
gem 'rake', :require => false
|
gem 'rake', :require => false
|
||||||
|
|
36
Rakefile
36
Rakefile
|
@ -24,6 +24,10 @@ end
|
||||||
begin
|
begin
|
||||||
require 'voxpupuli/release/rake_tasks'
|
require 'voxpupuli/release/rake_tasks'
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
|
# voxpupuli-release not present
|
||||||
|
else
|
||||||
|
GCGConfig.user = 'voxpupuli'
|
||||||
|
GCGConfig.project = 'puppet-hashi_stack'
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Run main 'test' task and report merged results to coveralls"
|
desc "Run main 'test' task and report merged results to coveralls"
|
||||||
|
@ -37,36 +41,4 @@ task test_with_coveralls: [:test] do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'Generate REFERENCE.md'
|
|
||||||
task :reference, [:debug, :backtrace] do |t, args|
|
|
||||||
patterns = ''
|
|
||||||
Rake::Task['strings:generate:reference'].invoke(patterns, args[:debug], args[:backtrace])
|
|
||||||
end
|
|
||||||
|
|
||||||
begin
|
|
||||||
require 'github_changelog_generator/task'
|
|
||||||
require 'puppet_blacksmith'
|
|
||||||
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
|
||||||
metadata = Blacksmith::Modulefile.new
|
|
||||||
config.future_release = "v#{metadata.version}" if metadata.version =~ /^\d+\.\d+.\d+$/
|
|
||||||
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file.\nEach new release typically also includes the latest modulesync defaults.\nThese should not affect the functionality of the module."
|
|
||||||
config.exclude_labels = %w{duplicate question invalid wontfix wont-fix modulesync skip-changelog}
|
|
||||||
config.user = 'voxpupuli'
|
|
||||||
config.project = 'puppet-hashi_stack'
|
|
||||||
end
|
|
||||||
|
|
||||||
# Workaround for https://github.com/github-changelog-generator/github-changelog-generator/issues/715
|
|
||||||
require 'rbconfig'
|
|
||||||
if RbConfig::CONFIG['host_os'] =~ /linux/
|
|
||||||
task :changelog do
|
|
||||||
puts 'Fixing line endings...'
|
|
||||||
changelog_file = File.join(__dir__, 'CHANGELOG.md')
|
|
||||||
changelog_txt = File.read(changelog_file)
|
|
||||||
new_contents = changelog_txt.gsub(%r{\r\n}, "\n")
|
|
||||||
File.open(changelog_file, "w") {|file| file.puts new_contents }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
rescue LoadError
|
|
||||||
end
|
|
||||||
# vim: syntax=ruby
|
# vim: syntax=ruby
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue