21 lines
703 B
YAML
21 lines
703 B
YAML
- hosts: all[0]
|
|
vars_files:
|
|
- "{{ zuul.executor.work_root }}/osa-gate-scenario.yml"
|
|
tasks:
|
|
- name: Run gate-check-commit.sh script
|
|
become: yes
|
|
become_user: root
|
|
shell: >-
|
|
scripts/gate-check-commit.sh
|
|
{{ scenario | quote }}
|
|
{{ action | quote }}
|
|
{{ install_method | quote }}
|
|
args:
|
|
chdir: "src/opendev.org/openstack/openstack-ansible"
|
|
executable: /bin/bash
|
|
environment:
|
|
# ZUUL_SRC_PATH is used by tests/get-ansible-role-requirements to
|
|
# where the CI provided git sources were cloned.
|
|
ZUUL_SRC_PATH: "{{ ansible_user_dir }}/src"
|
|
ANSIBLE_PACKAGE: "{{ ansible_package | default('') }}"
|