Add Puppet Litmus
Depends-On: https://review.opendev.org/#/c/740601/ Change-Id: Ib904df34e9c6c1bcff0bfd09003785aa165f81a7
This commit is contained in:
parent
5607e63e78
commit
354aa077e2
@ -3,5 +3,5 @@
|
||||
- puppet-openstack-check-jobs
|
||||
- puppet-openstack-module-unit-jobs
|
||||
- puppet-openstack-integration-jobs-scenario002
|
||||
- puppet-openstack-beaker-jobs
|
||||
- puppet-openstack-litmus-jobs
|
||||
- release-notes-jobs-python3
|
||||
|
25
README.md
25
README.md
@ -15,11 +15,10 @@ barbican
|
||||
3. [Setup - The basics of getting started with barbican](#setup)
|
||||
4. [Implementation - An under-the-hood peek at what the module is doing](#implementation)
|
||||
5. [Limitations - OS compatibility, etc.](#limitations)
|
||||
6. [Beaker-Rspec - Beaker-rspec tests for the project](#beaker-rspec)
|
||||
7. [Development - Guide for contributing to the module](#development)
|
||||
8. [Release Notes - Release notes for the project](#release-notes)
|
||||
9. [Contributors - Those with commits](#contributors)
|
||||
10. [Repository - The project source code repository](#repository)
|
||||
6. [Development - Guide for contributing to the module](#development)
|
||||
7. [Release Notes - Release notes for the project](#release-notes)
|
||||
8. [Contributors - Those with commits](#contributors)
|
||||
9. [Repository - The project source code repository](#repository)
|
||||
|
||||
Overview
|
||||
--------
|
||||
@ -62,22 +61,6 @@ Limitations
|
||||
|
||||
* All the barbican types use the CLI tools and so need to be ran on the barbican node.
|
||||
|
||||
Beaker-Rspec
|
||||
------------
|
||||
|
||||
This module has beaker-rspec tests
|
||||
|
||||
To run the tests on the default vagrant node:
|
||||
|
||||
```shell
|
||||
bundle install
|
||||
bundle exec rake acceptance
|
||||
```
|
||||
|
||||
For more information on writing and running beaker-rspec tests visit the documentation:
|
||||
|
||||
* https://github.com/puppetlabs/beaker-rspec/blob/master/README.md
|
||||
|
||||
Development
|
||||
-----------
|
||||
|
||||
|
@ -38,7 +38,7 @@ describe 'barbican::api basic test class' do
|
||||
if os[:family].casecmp('RedHat') == 0
|
||||
describe 'store a secret' do
|
||||
it 'should store a secret' do
|
||||
shell('barbican --os-username barbican --os-password a_big_secret --os-project-name services --os-user-domain-name Default --os-project-domain-name Default --os-auth-url http://127.0.0.1:5000/v3 --endpoint http://localhost:9311 secret store --payload "my big bad secret" --os-identity-api-version 3') do |r|
|
||||
command('barbican --os-username barbican --os-password a_big_secret --os-project-name services --os-user-domain-name Default --os-project-domain-name Default --os-auth-url http://127.0.0.1:5000/v3 --endpoint http://localhost:9311 secret store --payload "my big bad secret" --os-identity-api-version 3') do |r|
|
||||
expect(r.stdout).to match(/ACTIVE/)
|
||||
end
|
||||
end
|
||||
@ -46,7 +46,7 @@ describe 'barbican::api basic test class' do
|
||||
|
||||
describe 'generate a secret' do
|
||||
it 'should generate a secret' do
|
||||
shell('barbican --os-username barbican --os-password a_big_secret --os-project-name services --os-user-domain-name Default --os-project-domain-name Default --os-auth-url http://127.0.0.1:5000/v3 --endpoint http://localhost:9311 secret order create key --name foo --os-identity-api-version 3') do |r|
|
||||
command('barbican --os-username barbican --os-password a_big_secret --os-project-name services --os-user-domain-name Default --os-project-domain-name Default --os-auth-url http://127.0.0.1:5000/v3 --endpoint http://localhost:9311 secret order create key --name foo --os-identity-api-version 3') do |r|
|
||||
expect(r.stdout).to match(/Order href/)
|
||||
end
|
||||
end
|
||||
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -1 +1 @@
|
||||
require 'puppet-openstack_spec_helper/beaker_spec_helper'
|
||||
require 'puppet-openstack_spec_helper/litmus_spec_helper'
|
||||
|
Loading…
x
Reference in New Issue
Block a user