-
Notifications
You must be signed in to change notification settings - Fork 582
(MODULES-6332) - PDK convert #881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
# This file is generated by ModuleSync, do not edit. | ||
*.iml | ||
.*.sw[op] | ||
.DS_Store | ||
.bundle/ | ||
.idea/ | ||
.metadata | ||
.vagrant/ | ||
.yardoc | ||
.yardwarns | ||
Gemfile.local | ||
Gemfile.lock | ||
bin/ | ||
coverage/ | ||
doc/ | ||
junit/ | ||
log/ | ||
pkg/ | ||
spec/fixtures/manifests/ | ||
spec/fixtures/modules/ | ||
tmp/ | ||
vendor/ | ||
|
||
!spec/fixtures/ | ||
spec/fixtures/manifests/site.pp | ||
spec/fixtures/modules/* | ||
*.iml | ||
/.bundle/ | ||
/.idea/ | ||
/.vagrant/ | ||
/coverage/ | ||
/bin/ | ||
/doc/ | ||
/Gemfile.local | ||
/Gemfile.lock | ||
/junit/ | ||
/log/ | ||
/pkg/ | ||
/spec/fixtures/manifests/ | ||
/spec/fixtures/modules/ | ||
/tmp/ | ||
/vendor/ | ||
/convert_report.txt | ||
.DS_Store |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Style/HashSyntax: | ||
EnforcedStyle: hash_rockets | ||
RSpec/NamedSubject: | ||
Enabled: false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unsure how ok this is? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would say this is fine for now. Plus it won't get lost if it's in the todo, so seems perfect solution for the meantime. |
||
Lint/ScriptPermission: | ||
Enabled: false |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,61 @@ | ||
--- | ||
NOTICE: | ||
unmanaged: true | ||
.gitignore: | ||
paths: | ||
- '!spec/fixtures/' | ||
- 'spec/fixtures/manifests/site.pp' | ||
- 'spec/fixtures/modules/*' | ||
spec/spec_helper.rb: | ||
allow_deprecations: true | ||
appveyor.yml: | ||
environment: | ||
PUPPET_GEM_VERSION: "~> 4.0" | ||
matrix: | ||
- RUBY_VERSION: 24-x64 | ||
CHECK: "syntax lint" | ||
- RUBY_VERSION: 24-x64 | ||
CHECK: metadata_lint | ||
- RUBY_VERSION: 24-x64 | ||
CHECK: rubocop | ||
|
||
.travis.yml: | ||
bundle_args: --without system_tests | ||
docker_sets: | ||
- set: docker/centos-7 | ||
options: | ||
- set: docker/ubuntu-14.04 | ||
options: | ||
docker_defaults: | ||
bundler_args: "" | ||
secure: "" | ||
branches: | ||
- release | ||
extras: | ||
- rvm: 2.1.9 | ||
env: PUPPET_GEM_VERSION="~> 4.6.0" | ||
bundler_args: --without system_tests | ||
- rvm: 2.1.9 | ||
env: PUPPET_GEM_VERSION="~> 4.7.0" | ||
bundler_args: --without system_tests | ||
- rvm: 2.1.9 | ||
script: bundle exec rake rubocop | ||
- env: CHECK=release_checks | ||
rvm: 2.1.9 | ||
|
||
Gemfile: | ||
required: | ||
':system_tests': | ||
- gem: 'puppet-module-posix-system-r#{minor_version}' | ||
platforms: ruby | ||
- gem: 'puppet-module-win-system-r#{minor_version}' | ||
platforms: | ||
- mswin | ||
- mingw | ||
- x64_mingw | ||
- gem: beaker | ||
version: '~> 3.13' | ||
from_env: BEAKER_VERSION | ||
- gem: beaker-abs | ||
from_env: BEAKER_ABS_VERSION | ||
version: '~> 0.1' | ||
- gem: beaker-pe | ||
- gem: beaker-hostgenerator | ||
from_env: BEAKER_HOSTGENERATOR_VERSION | ||
- gem: beaker-rspec | ||
from_env: BEAKER_RSPEC_VERSION | ||
':development': | ||
- gem: puppet-blacksmith | ||
version: '~> 3.4' | ||
|
||
Rakefile: | ||
requires: | ||
- puppet_blacksmith/rake_tasks | ||
- puppet-lint/tasks/puppet-lint | ||
|
||
.rubocop.yml: | ||
unmanaged: true | ||
default_configs: | ||
inherit_from: .rubocop_todo.yml |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,68 @@ | ||
#This file is generated by ModuleSync, do not edit. | ||
--- | ||
sudo: false | ||
dist: trusty | ||
language: ruby | ||
cache: bundler | ||
script: "bundle exec rake release_checks" | ||
before_install: | ||
- bundle -v | ||
- rm Gemfile.lock || true | ||
- gem update --system | ||
- gem update bundler | ||
- gem --version | ||
- bundle -v | ||
script: | ||
- 'bundle exec rake $CHECK' | ||
bundler_args: --without system_tests | ||
rvm: | ||
- 2.4.1 | ||
env: | ||
- PUPPET_GEM_VERSION="~> 5.0" CHECK=spec | ||
matrix: | ||
fast_finish: true | ||
include: | ||
- rvm: 2.3.1 | ||
dist: trusty | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04 | ||
script: bundle exec rake beaker | ||
services: docker | ||
sudo: required | ||
- rvm: 2.3.1 | ||
dist: trusty | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7 | ||
script: bundle exec rake beaker | ||
services: docker | ||
sudo: required | ||
- rvm: 2.4.1 | ||
bundler_args: --without system_tests | ||
env: PUPPET_GEM_VERSION="~> 5.0" | ||
- rvm: 2.1.9 | ||
bundler_args: --without system_tests | ||
env: PUPPET_GEM_VERSION="~> 4.0" | ||
- rvm: 2.1.9 | ||
bundler_args: --without system_tests | ||
env: PUPPET_GEM_VERSION="~> 4.6.0" | ||
- rvm: 2.1.9 | ||
bundler_args: --without system_tests | ||
env: PUPPET_GEM_VERSION="~> 4.7.0" | ||
- rvm: 2.1.9 | ||
script: bundle exec rake rubocop | ||
- | ||
bundler_args: | ||
dist: trusty | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7 | ||
rvm: 2.4.1 | ||
script: bundle exec rake beaker | ||
services: docker | ||
sudo: required | ||
- | ||
bundler_args: | ||
dist: trusty | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04 | ||
rvm: 2.4.1 | ||
script: bundle exec rake beaker | ||
services: docker | ||
sudo: required | ||
- | ||
env: CHECK=rubocop | ||
- | ||
env: CHECK="syntax lint" | ||
- | ||
env: CHECK=metadata_lint | ||
- | ||
env: CHECK=spec | ||
- | ||
env: PUPPET_GEM_VERSION="~> 4.0" CHECK=spec | ||
rvm: 2.1.9 | ||
- | ||
env: CHECK=release_checks | ||
rvm: 2.1.9 | ||
branches: | ||
only: | ||
- master | ||
- /^v\d/ | ||
- release | ||
notifications: | ||
email: false | ||
deploy: | ||
provider: puppetforge | ||
user: puppet | ||
password: | ||
secure: "" | ||
on: | ||
tags: true | ||
all_branches: true | ||
condition: "$DEPLOY_TO_FORGE = yes" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is required to avoid making the module backwards compatible.