18 lines
652 B
YAML
18 lines
652 B
YAML
---
|
|
# This playbooks is responsible for gating quickstart and the extra roles
|
|
# together with optional dependencies between them.
|
|
- name: Parse Jenkins changes
|
|
jenkins_deps:
|
|
host: "{{ lookup('env', 'GERRIT_HOST') }}"
|
|
change_id: "{{ lookup('env', 'GERRIT_CHANGE_ID') }}"
|
|
branch: "{{ lookup('env', 'GERRIT_BRANCH') }}"
|
|
patchset_rev: "{{ lookup('env', 'GERRIT_PATCHSET_REVISION') }}"
|
|
when:
|
|
- artg_change_list is not defined
|
|
- lookup('env', 'GERRIT_HOST') != ""
|
|
|
|
- name: Check out the specific changes
|
|
include: checkout.yml gated_change={{ item }}
|
|
with_items: '{{ artg_change_list }}'
|
|
when: item.project in gated_projects
|