Skip to content

Infrared plugin for running post deployment verifications against a TripleO environment

License

Notifications You must be signed in to change notification settings

rhos-infra/tripleo-post-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tripleo-post-tests

Infrared plugin for running post deployment verifications against a TripleO environment

Requirements

The tests require an undercloud/overcloud to be available for testing the configuration against.

Contributing new tests

Code changes can be submitted via review.gerrithub.io

For adding a new test you have to to:

  • Create a new playbook including the verification tasks under the tasks/ dir:

    e.g. tasks/timesync.yml
    
  • Add a new option for the timesync test in plugin.spec

        - title: Validate configuration
          options:
              timesync:
                  type: Bool
                  help: |
                      Validate undercloud and overcloud nodes time is synchronized.
                  default: False
    
  • Import the playbook created in the step above in the root main.yml based on the conditional option added in the previous step

        - name: Validate time is in sync
          import_playbook: tasks/timesync.yml
          when: test.timesync|default(False)
    

Usage with InfraRed

For manual installation:

# Install plugin
infrared plugin add https://github.com/rhos-infra/tripleo-post-tests

# Trigger timesync test
infrared tripleo-post-tests --timesync yes

License

Apache 2.0

About

Infrared plugin for running post deployment verifications against a TripleO environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published