-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
54 lines (51 loc) · 1.57 KB
/
config.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
######
# APIs:
# - provision
# - bind
# - verify
# - unbind
# - deprovision
######
# Example multi-apb integration test
provision: ansibleplaybookbundle/mediawiki-apb
provision: ansibleplaybookbundle/postgresql-apb
bind: ansibleplaybookbundle/postgresql-apb
verify: rthallisey/service-broker-ci/verify-mediawiki-postgresql.sh
unbind: postgresql-apb | mediawiki-apb
deprovision: ansibleplaybookbundle/mediawiki-apb
deprovision: ansibleplaybookbundle/postgresql-apb
######
# How to use the API calls:
#
# - A Template with the name 'mediawiki-apb' is expected at the address:
# 'https://github.com/ansibleplaybookbundle/mediawiki-apb/blob/master/templates/mediawiki-apb.yaml'
#
# provision: ansibleplaybookbundle/mediawiki-apb
#
# - To reference a local template in './templates/postgresql.yaml', use this
# format.
#
# provision: postgresql
#
# - Specify the path of the BindApp. This will bind to the first provisioned
# app that is not the same as the BindApp.
# - This will look for the file './templates/postgresql-mediawiki-apb-bind.yaml'
# and bind postgresql to mediawiki.
#
# provision: ansibleplaybookbundle/mediawiki-apb
# bind: postgresql
#
# - Verify any action has succeeded.
# - The verify field is run as a shell command
#
# verify: kubectl get pods | grep Running | grep mediawiki
# verify: verify-app-health.sh
#
# - The BindApp is the application that is binded to the BindTarget.
# - Format:
# <BindApp> | <BindTarget>
# - Unbind postgresql from mediawiki.
#
# unbind: postgresql | mediawiki-apb
#
######