pdqtest 1.9.9beta2 → 1.9.9beta3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 133ce9046197e77d059c3096f234f584869345117cc5bb4e390d4dadca28e0c8
4
- data.tar.gz: e49e82c1178044f981dcfb4d07a7549918acbe0e04d9d96f58ead72031a529a6
3
+ metadata.gz: a0c9a27b45852149fcd9276d11eec3f2871fe2a9ac9b217b1bb5ec07e4f6af38
4
+ data.tar.gz: 919d100008c60f017ed133ac3a44adb708240b633a709a102f6cf1e7ba771ff8
5
5
  SHA512:
6
- metadata.gz: 0be32828cc23fa885eb8876cb66bd8da89e5a2e18ba1f3173c7fd76bc7b32034011a723903533ec046f7af3dcd4f4b1f9d01f08d91bb0fef498169b8aaae37cc
7
- data.tar.gz: 974ad82acd6cbeaf3f02df995eb422386a68843b9708f72b7ad610105e4fc06bafc8e9bb2f38967f931cb662d4aab3a598c44cec33985335ed59d2b5618dd00b
6
+ metadata.gz: ad6cc53b6afa097adda8aec514c38257d2ea6b7cda705b5ced032ee68d780cb5925f793bc1e6ba777920523af9c80fb0557c2755332f31f63ea222ca46ad22d7
7
+ data.tar.gz: c0a252d197531b548d859ada453d8bacd477ce65156ddd23066edee30474b1accbcc31d37cbcd05cb66c01e91c6af918a03b2c40236c70ba4222538ac6e0384e
data/lib/pdqtest/pdk.rb CHANGED
@@ -61,6 +61,11 @@ module PDQTest
61
61
  ].include? e
62
62
  }
63
63
 
64
+ # we must run build target nastyhack before running PDK on linux
65
+ if ! Util.is_windows
66
+ $logger.warn("Running nasty hack: https://tickets.puppetlabs.com/browse/PDK-1192")
67
+ system("make nastyhack")
68
+ end
64
69
  status = system(env, pdk, :unsetenv_others=>true)
65
70
 
66
71
  PDQTest::Emoji.partial_status(status, subcommand)
@@ -1,3 +1,3 @@
1
1
  module PDQTest
2
- VERSION = "1.9.9beta2"
2
+ VERSION = "1.9.9beta3"
3
3
  end
@@ -9,8 +9,13 @@ services:
9
9
  - docker
10
10
  cache: bundler
11
11
  before_install:
12
- - bundle install
12
+ - wget https://apt.puppetlabs.com/puppet5-release-trusty.deb
13
+ - sudo dpkg -i puppet5-release-trusty.deb
14
+ - sudo apt-get update
15
+ - sudo apt install -y pdk
16
+ - make Gemfile.local
13
17
  - bundle exec pdqtest setup
14
- script: "make"
18
+ script:
19
+ - make
15
20
  rvm:
16
- - 2.5.1
21
+ - 2.4.1
@@ -14,8 +14,15 @@ logical: Gemfile.local
14
14
  bundle exec pdqtest syntax
15
15
  bundle exec pdqtest rspec
16
16
 
17
+ nastyhack:
18
+ # fix for - https://tickets.puppetlabs.com/browse/PDK-1192
19
+ find vendor -iname '*.pp' -exec rm {} \;
20
+
17
21
  bundle:
22
+ # Obtain puppet 5x and lock
18
23
  pdk bundle install
24
+ # Install all gems into _normal world_ bundle so we can use all of em
25
+ bundle install
19
26
 
20
27
  Gemfile.local:
21
28
  echo "[🐌] Creating symlink and running pdk bundle..."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdqtest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.9beta2
4
+ version: 1.9.9beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Williams