diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index e2b83603f..214ca7d38 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -49,12 +49,11 @@ jobs: EOF - curl -X POST -H "Authorization:bearer $TOKEN" https://facade-main-6f3kfepqcq-uc.a.run.app/v1/provision --data @test_machines.json > inventory.yaml + curl -X POST -H "Authorization:bearer $TOKEN" https://facade-main-6f3kfepqcq-uc.a.run.app/v1/provision --data @test_machines.json > ./spec/fixtures/litmus_inventory.yaml - name: "print inventory" run: | - cat ./inventory.yaml - sleep 600s + cat ./spec/fixtures/litmus_inventory.yaml - name: "run acceptance" run: | diff --git a/Gemfile b/Gemfile index db64ff676..6ddda151e 100644 --- a/Gemfile +++ b/Gemfile @@ -31,6 +31,7 @@ group :acceptance do gem 'minitar-cli' gem 'rspec-xsd' gem 'serverspec' + gem 'puppet_litmus', '= 0.36.2' end group :acceptance_ci do diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 8a80661a7..d67ddd3b7 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -6,6 +6,9 @@ require 'pdk/util/template_uri' require 'tempfile' require 'json' +require 'puppet_litmus' + +PuppetLitmus.configure! # Sets default puppet/ruby versions to be used within the tests # Duplicates of this are found within spec_helper.rb and spec_helper_package.rb and should be updated simultaneously.