GRM-20: Fix molecule verify playbooks and update Makefile targets
- Add runner_name variable to default, binary, and lifecycle verify playbooks - Update molecule target to test all 7 scenarios sequentially - Add molecule-docker and molecule-binary platform matrix targets - Disable checkmake maxbodylength rule to accommodate longer recipes
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
- name: Verify
|
||||
hosts: all
|
||||
become: true
|
||||
vars:
|
||||
runner_name: "molecule-test-runner"
|
||||
pre_tasks:
|
||||
- name: Load role defaults
|
||||
ansible.builtin.include_vars:
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
- name: Verify
|
||||
hosts: all
|
||||
become: true
|
||||
vars:
|
||||
runner_name: "molecule-test-runner"
|
||||
pre_tasks:
|
||||
- name: Load role defaults
|
||||
ansible.builtin.include_vars:
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
- name: Verify
|
||||
hosts: all
|
||||
become: true
|
||||
vars:
|
||||
runner_name: "lifecycle-test-runner"
|
||||
pre_tasks:
|
||||
- name: Load role defaults
|
||||
ansible.builtin.include_vars:
|
||||
@@ -31,7 +33,7 @@
|
||||
|
||||
- name: Check instance data directory exists after lifecycle
|
||||
ansible.builtin.stat:
|
||||
path: "/var/lib/gitea-runner/lifecycle-test-runner"
|
||||
path: "{{ gitea_runner_base_data_dir }}/{{ runner_name }}"
|
||||
register: data_dir_stat
|
||||
|
||||
- name: Assert instance data directory exists
|
||||
|
||||
Reference in New Issue
Block a user