forked from redhat-cop/container-pipelines
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathci-cd-tooling.yml
More file actions
27 lines (26 loc) · 833 Bytes
/
ci-cd-tooling.yml
File metadata and controls
27 lines (26 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This playbook will install a targeted set of CI/CD tools for the spring boot pipeline by reusing https://github.com/rht-labs/labs-ci-cd
---
- name: Create Projects and Policies
hosts: bootstrap
vars_files:
- project-names.yml
tasks:
- include_role:
name: openshift-applier/roles/openshift-applier
vars:
filter_tags: projects,rolebinding-jenkins
- name: Create CI/CD tools
hosts: tools
vars_files:
- project-names.yml
tasks:
# https://github.com/redhat-cop/openshift-applier/issues/113
- copy:
src: roles/labs-ci-cd/pre_post_requirements.yml
dest: pre_post_requirements.yml
- include_role:
name: openshift-applier/roles/openshift-applier
tags:
- openshift-applier
vars:
filter_tags: sonarqube,mvn-slave,nexus,jenkins