
Create a set of roles to be composed into a new infrared plugin. The final goal for these roles is to be used for either downstream and upstream CI Change-Id: I48d5f500c2e694c3f94ee497a0df1d92b6c411b3
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
---
|
|
|
|
# --- Tobiko deploy options ---------------------------------------------------
|
|
|
|
user_home: '{{ ansible_env.get("HOME", "~")}}'
|
|
|
|
tobiko_dir: '{{ user_home }}/src/tobiko'
|
|
tobiko_src_dir: '{{ role_path | dirname | dirname }}'
|
|
tobiko_git_repo: 'https://opendev.org/x/tobiko.git'
|
|
tobiko_git_refspec: ''
|
|
tobiko_git_version: ''
|
|
|
|
|
|
# --- Test deploy options -----------------------------------------------------
|
|
|
|
test_dir: '{{ tobiko_dir }}'
|
|
test_src_dir: '{{ tobiko_src_dir }}'
|
|
test_git_repo: '{{ tobiko_git_repo }}'
|
|
test_git_refspec: ''
|
|
test_git_version: ''
|
|
|
|
|
|
# --- Test configuration options ----------------------------------------------
|
|
|
|
# Configuration options
|
|
test_conf_file: '{{ test_dir }}/tobiko.conf'
|
|
|
|
test_conf: {}
|
|
|
|
# Logging options
|
|
test_log_debug: true
|
|
|
|
|
|
# --- Test report options -----------------------------------------------------
|
|
|
|
# Remote directory where test cases shoulw write report files to
|
|
test_report_dir: "{{ test_dir }}"
|
|
test_report_files:
|
|
- '{{ test_conf_file }}'
|
|
- '{{ test_log_file }}'
|
|
|
|
# Test report files prefix
|
|
test_report_name: test_results
|
|
|
|
# Log file where test cases should write logging messages to
|
|
test_log_file: "{{ test_report_dir }}/tobiko.log"
|
|
|
|
# Local where test cases results are being collected to
|
|
test_collect_dir: "{{ test_src_dir }}/{{ test_report_name }}"
|