---
# This file is used by the jenkins job
#
# Repos to enable for compontent test
#
enable_repos: [
  rhelosp-rhel-7.4-server-opt,
]
#
# The pep8 target
# For puppet-tripleo we use bundler and rake to do lint/syntax
#
pep8:
  remove_rpm: []
  rpm_deps: [
    git,
    gcc,
    gcc-c++,
    ruby-devel,
    zlib-devel,
  ]
  run: >
    mkdir .bundled_gems;
    export GEM_HOME=`pwd`/.bundled_gems;
    gem install bundler --no-rdoc --no-ri --verbose;
    $GEM_HOME/bin/bundle install --without system_tests 2>&1 | tee ../logs/testrun.log;
    $GEM_HOME/bin/bundle exec rake lint 2>&1 | tee -a ../logs/testrun.log;
    $GEM_HOME/bin/bundle exec rake syntax 2>&1 | tee -a ../logs/testrun.log;
#
# The project run config.
#
puppet_tripleo_run_config:
  run: >
    set -o pipefail;
    rpm -qa | sort > ../logs/installed-rpms.log;
    {{ hostvars[inventory_hostname][tester.component.tox_target]['run'] }}
#
# The rpms that shouldn't be installed when running tests
#
remove_rpm: [
  "{{ hostvars[inventory_hostname][tester.component.tox_target]['remove_rpm'] }}"
]
#
# Common rpm deps needed for all tester types (pep8 / unittest / functional)
#
rpm_deps: [
  "{{ hostvars[inventory_hostname][tester.component.tox_target]['rpm_deps'] }}"
]
#
# Main test configuration section
#
test_config:
  virt:
    RedHat-7:
      run: "{{puppet_tripleo_run_config.run}}"
      setup:
        enable_repos: "{{enable_repos}}"
        install: "{{rpm_deps}}"
        remove: "{{remove_rpm}}"

Add puppet-tripleo for OSP 13 based on 12
Add puppet-tripleo for OSP 13 based on 12

Change-Id: Iea735e06ffc3288b20f6e9c47ed56909014b15ff
