Skip to content

Commit 9a8c302

Browse files
authored
Merge pull request #1128 from puppetlabs/pdksync_FM-7392_pdk_update
pdksync - (FM-7392) - Puppet 6 Testing Changes
2 parents c63a061 + 4901847 commit 9a8c302

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

.fixtures.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ fixtures:
33
"stdlib": "https://github.com/puppetlabs/puppetlabs-stdlib"
44
"staging": "https://github.com/voxpupuli/puppet-staging"
55
"translate": "https://github.com/puppetlabs/puppetlabs-translate"
6+
"cron_core": "https://github.com/puppetlabs/puppetlabs-cron_core.git"
67
symlinks:
78
"mysql": "#{source_dir}"

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ AllCops:
2121
Metrics/LineLength:
2222
Description: People have wide screens, use them.
2323
Max: 200
24+
GetText/DecorateString:
25+
Description: We don't want to decorate test output.
26+
Exclude:
27+
- spec/*
2428
RSpec/BeforeAfterAll:
2529
Description: Beware of using after(:all) as it may cause state to leak between tests.
2630
A necessary evil in acceptance testing.

.travis.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,36 @@ script:
1313
- 'bundle exec rake $CHECK'
1414
bundler_args: --without system_tests
1515
rvm:
16-
- 2.4.4
16+
- 2.5.0
1717
env:
1818
global:
19-
- BEAKER_PUPPET_COLLECTION=puppet5 PUPPET_GEM_VERSION="~> 5.0"
19+
- BEAKER_PUPPET_COLLECTION=puppet6 PUPPET_GEM_VERSION="~> 6.0"
2020
matrix:
2121
fast_finish: true
2222
include:
2323
-
2424
bundler_args:
2525
dist: trusty
26-
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_set=docker/centos-7 BEAKER_TESTMODE=apply
27-
rvm: 2.4.4
26+
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/centos-7 BEAKER_TESTMODE=apply
27+
rvm: 2.5.0
2828
script: bundle exec rake beaker
2929
services: docker
3030
sudo: required
3131
-
3232
bundler_args:
3333
dist: trusty
34-
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_set=docker/ubuntu-14.04 BEAKER_TESTMODE=apply
35-
rvm: 2.4.4
34+
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/ubuntu-14.04 BEAKER_TESTMODE=apply
35+
rvm: 2.5.0
3636
script: bundle exec rake beaker
3737
services: docker
3838
sudo: required
3939
-
4040
env: CHECK="syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop"
4141
-
4242
env: CHECK=parallel_spec
43+
-
44+
env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec
45+
rvm: 2.4.4
4346
-
4447
env: PUPPET_GEM_VERSION="~> 4.0" CHECK=parallel_spec
4548
rvm: 2.1.9

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@
8484
],
8585
"description": "MySQL module",
8686
"template-url": "https://github.com/puppetlabs/pdk-templates",
87-
"template-ref": "heads/master-0-g6a90b42",
87+
"template-ref": "heads/master-0-g8fc95db",
8888
"pdk-version": "1.7.0"
8989
}

spec/default_facts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Facts specified here will override the values provided by rspec-puppet-facts.
44
---
5-
concat_basedir: "/tmp"
5+
concat_basedir: ""
66
ipaddress: "172.16.254.254"
77
is_pe: false
88
macaddress: "AA:AA:AA:AA:AA:AA"

0 commit comments

Comments
 (0)