Skip to content
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

Improve unit tests for latest versions of dependencies #15

Merged
merged 2 commits into from
May 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .fixtures-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,18 @@ fixtures:
repositories:
apt:
repo: git://github.com/puppetlabs/puppetlabs-apt.git
ref: 6.3.0
yumrepo_core:
repo: git://github.com/puppetlabs/puppetlabs-yumrepo_core
ref: 1.0.1
puppet_version: ">= 6.0.0"
stdlib:
repo: git://github.com/puppetlabs/puppetlabs-stdlib.git
ref: 5.1.0
remote_file:
repo: git://github.com/lwf/puppet-remote_file.git
ref: v1.1.3
dsc:
repo: git://github.com/puppetlabs/puppetlabs-dsc.git
ref: 1.7.0
acl:
repo: git://github.com/puppetlabs/puppetlabs-acl.git
ref: 2.1.0
powershell:
repo: git://github.com/puppetlabs/puppetlabs-powershell.git
ref: 2.2.0
symlinks:
sensuclassic: "#{source_dir}"
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ matrix:
env: BEAKER_set="amazonlinux-2" BEAKER_PUPPET_COLLECTION=puppet6
bundler_args:
script: bundle exec rake beaker
allow_failures:
- rvm: 2.4.4
env: PUPPET_GEM_VERSION="~> 5" FIXTURES_YML=".fixtures-latest.yml"
- rvm: 2.5.3
env: PUPPET_GEM_VERSION="~> 6" FIXTURES_YML=".fixtures-latest.yml"

notifications:
email: false
8 changes: 3 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ install:
- ps: |
if (!(Test-Path C:\downloads)) { mkdir C:\downloads | Out-Null }
$log = "C:/puppet-agent.log"
$agent_url = "https://downloads.puppetlabs.com/windows/${ENV:PUPPET_REPO}/puppet-agent-${ENV:PUPPET_VERSION}-x64.msi"
$agent_url = "https://downloads.puppetlabs.com/windows/${ENV:PUPPET_REPO}/puppet-agent-x64-latest.msi"
Write-Output "Installing Puppet from $agent_url"
Write-Output "Log will be written to $log"
if ( Test-Path $log ) { Remove-Item $log }
cd C:\downloads
if (!(Test-Path "puppet-agent-${ENV:PUPPET_VERSION}-x64.msi")) { Start-FileDownload $agent_url }
Start-Process msiexec.exe -Wait -NoNewWindow -ArgumentList @("/i", "C:\downloads\puppet-agent-${ENV:PUPPET_VERSION}-x64.msi", "/qn", "/l*", "$log")
if (!(Test-Path "puppet-agent-x64-latest.msi")) { Start-FileDownload $agent_url }
Start-Process msiexec.exe -Wait -NoNewWindow -ArgumentList @("/i", "C:\downloads\puppet-agent-x64-latest.msi", "/qn", "/l*", "$log")
cd $ENV:APPVEYOR_BUILD_FOLDER
- ps: Copy-Item -Path $ENV:APPVEYOR_BUILD_FOLDER -Destination C:/ProgramData/PuppetLabs/code/environments/production/modules/sensuclassic -Recurse
- set PATH=C:\Program Files\Puppet Labs\Puppet\bin;%PATH%
Expand All @@ -46,11 +46,9 @@ environment:
matrix:
- PUPPET_GEM_VERSION: '~>5.x'
PUPPET_REPO: puppet5
PUPPET_VERSION: 5.5.8
RUBY_VERSION: 24-x64
- PUPPET_GEM_VERSION: '~>6.x'
PUPPET_REPO: puppet6
PUPPET_VERSION: 6.1.0
RUBY_VERSION: 25-x64
matrix:
fast_finish: false