Browse Source

Add Puppet Litmus

Depends-On: https://review.opendev.org/#/c/740601/
Change-Id: Iff4fafb66878ce3273516e7c3ba046a844a9d09a
changes/26/749126/1
Tobias Urdin 10 months ago
parent
commit
1d57c4e2c8
12 changed files with 6 additions and 99 deletions
  1. +1
    -1
      .zuul.yaml
  2. +0
    -11
      spec/acceptance/nodesets/centos-70-x64.yml
  3. +0
    -10
      spec/acceptance/nodesets/default.yml
  4. +0
    -10
      spec/acceptance/nodesets/nodepool-bionic.yml
  5. +0
    -10
      spec/acceptance/nodesets/nodepool-centos7.yml
  6. +0
    -10
      spec/acceptance/nodesets/nodepool-centos8.yml
  7. +0
    -10
      spec/acceptance/nodesets/nodepool-trusty.yml
  8. +0
    -10
      spec/acceptance/nodesets/nodepool-xenial.yml
  9. +0
    -11
      spec/acceptance/nodesets/ubuntu-server-1404-x64.yml
  10. +0
    -11
      spec/acceptance/nodesets/ubuntu-server-1604-x64.yml
  11. +4
    -4
      spec/acceptance/openstack_extras_repo_spec.rb
  12. +1
    -1
      spec/spec_helper_acceptance.rb

+ 1
- 1
.zuul.yaml View File

@ -3,5 +3,5 @@
- puppet-openstack-check-jobs
- puppet-openstack-module-unit-jobs
- puppet-openstack-integration-jobs-all
- puppet-openstack-beaker-jobs
- puppet-openstack-litmus-jobs
- release-notes-jobs-python3

+ 0
- 11
spec/acceptance/nodesets/centos-70-x64.yml View File

@ -1,11 +0,0 @@
HOSTS:
centos-server-70-x64:
roles:
- master
platform: el-7-x86_64
box: puppetlabs/centos-7.0-64-nocm
box_url: https://vagrantcloud.com/puppetlabs/centos-7.0-64-nocm
hypervisor: vagrant
CONFIG:
log_level: debug
type: foss

+ 0
- 10
spec/acceptance/nodesets/default.yml View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-server-14.04-amd64:
roles:
- master
platform: ubuntu-14.04-amd64
box: puppetlabs/ubuntu-14.04-64-nocm
box_url: https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
hypervisor: vagrant
CONFIG:
type: foss

+ 0
- 10
spec/acceptance/nodesets/nodepool-bionic.yml View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-18.04-amd64:
roles:
- master
platform: ubuntu-18.04-amd64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

+ 0
- 10
spec/acceptance/nodesets/nodepool-centos7.yml View File

@ -1,10 +0,0 @@
HOSTS:
centos-70-x64:
roles:
- master
platform: el-7-x86_64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

+ 0
- 10
spec/acceptance/nodesets/nodepool-centos8.yml View File

@ -1,10 +0,0 @@
HOSTS:
centos-80-x64:
roles:
- master
platform: el-8-x86_64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

+ 0
- 10
spec/acceptance/nodesets/nodepool-trusty.yml View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-14.04-amd64:
roles:
- master
platform: ubuntu-14.04-amd64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

+ 0
- 10
spec/acceptance/nodesets/nodepool-xenial.yml View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-16.04-amd64:
roles:
- master
platform: ubuntu-16.04-amd64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

+ 0
- 11
spec/acceptance/nodesets/ubuntu-server-1404-x64.yml View File

@ -1,11 +0,0 @@
HOSTS:
ubuntu-server-14.04-amd64:
roles:
- master
platform: ubuntu-14.04-amd64
box: puppetlabs/ubuntu-14.04-64-nocm
box_url: https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
hypervisor: vagrant
CONFIG:
log_level: debug
type: foss

+ 0
- 11
spec/acceptance/nodesets/ubuntu-server-1604-x64.yml View File

@ -1,11 +0,0 @@
HOSTS:
ubuntu-server-16.04-amd64:
roles:
- master
platform: ubuntu-16.04-amd64
box: puppetlabs/ubuntu-16.04-64-nocm
box_url: https://vagrantcloud.com/puppetlabs/ubuntu-16.04-64-nocm
hypervisor: vagrant
CONFIG:
log_level: debug
type: foss

+ 4
- 4
spec/acceptance/openstack_extras_repo_spec.rb View File

@ -19,11 +19,11 @@ describe 'openstack_extras::repo::*' do
it 'should be able to install openstack packages' do
if os[:family] == 'Debian'
expect(shell('apt-get install -y python-openstackclient').exit_code).to be_zero
expect(shell('apt-cache policy python-openstackclient | grep -A 1 \*\*\*').stdout).to match(/#{release}/)
expect(command('apt-get install -y python-openstackclient').exit_code).to be_zero
expect(command('apt-cache policy python-openstackclient | grep -A 1 \*\*\*').stdout).to match(/#{release}/)
elsif os[:family] == 'RedHat'
expect(shell('yum install -y python-openstackclient').exit_code).to be_zero
expect(shell('yum list python-openstackclient | grep -A 1 "Installed Packages"').stdout).to match(/@rdo-release/)
expect(command('yum install -y python-openstackclient').exit_code).to be_zero
expect(command('yum list python-openstackclient | grep -A 1 "Installed Packages"').stdout).to match(/@rdo-release/)
end
end
end


+ 1
- 1
spec/spec_helper_acceptance.rb View File

@ -1 +1 @@
require 'puppet-openstack_spec_helper/beaker_spec_helper'
require 'puppet-openstack_spec_helper/litmus_spec_helper'

Loading…
Cancel
Save