-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathapply.yaml
30 lines (24 loc) · 952 Bytes
/
apply.yaml
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
28
29
30
- hosts: localhost
connection: local
vars:
repo_path: "{{ lookup('env', 'PWD') }}"
tasks:
- import_tasks: tasks/version-migrations.yaml
- import_tasks: tasks/retrieve-validate-repo-data.yaml
- import_tasks: tasks/retrieve-docs-data.yaml
- import_tasks: tasks/generate-files.yaml
- import_tasks: tasks/husky.yaml
when: repo.type != 'other'
- import_tasks: tasks/helm.yaml
when: repo.helm_charts
- name: Execute tasks for applications, libraries, and symfony-bundles
block:
- import_tasks: tasks/devcontainer.yaml
- import_tasks: tasks/other-dev-generated-files.yaml
when: >
repo.type in ['application', 'library', 'symfony-bundle']
or repo.type.startswith('php-') or repo.type.startswith('nodejs-')
- import_tasks: tasks/php-qa.yaml
when: >
repo.type in ['application', 'library', 'symfony-bundle']
or repo.type.startswith('php-')