
https://review.opendev.org/#/c/752419 added the content provider for centos-7 in multinode-standalone-pre.yml and the playbook become little messy. In order to keep thing seperate, we are moving the content provider plays to a seperate playbook and calling the same in multinode-standalone-pre.yml to avoid distruption in existing workflow. Change-Id: I3f8ae8b380b44db49e7a0486efba29d66437bd08 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
---
|
|
- name: Discover a real branch for a running job
|
|
hosts: undercloud
|
|
tags:
|
|
- standalone
|
|
- undercloud
|
|
tasks:
|
|
- name: Set branch for building containers check jobs
|
|
set_fact:
|
|
ci_branch: "{{ job.zuul.branch | regex_replace('(stable|cloudsig)/', '') }}"
|
|
cacheable: true
|
|
when: job.zuul is defined
|
|
|
|
- name: Set branch for building containers branchless
|
|
set_fact:
|
|
ci_branch: "{{ job.branch_override | regex_replace('(stable|cloudsig)/', '') }}"
|
|
cacheable: true
|
|
when: job.branch_override is defined
|
|
|
|
- name: Add the overcloud nodes to the generated inventory
|
|
hosts: undercloud
|
|
gather_facts: true
|
|
tags:
|
|
- standalone
|
|
- undercloud
|
|
vars:
|
|
inventory: multinode
|
|
roles:
|
|
- tripleo-inventory
|
|
|
|
- name: Prepare the undercloud for installation
|
|
hosts: undercloud
|
|
roles:
|
|
- undercloud-setup
|
|
tags:
|
|
- standalone
|
|
- undercloud
|
|
|
|
- name: Run DLRN gate role and install repo
|
|
hosts: undercloud
|
|
vars:
|
|
artg_compressed_gating_repo: "${HOME}/gating_repo.tar.gz"
|
|
roles:
|
|
- build-test-packages
|
|
- {role: install-built-repo, when: compressed_gating_repo is defined}
|
|
tags:
|
|
- build
|
|
|
|
- import_playbook: content-provider-containers.yml
|