-
Notifications
You must be signed in to change notification settings - Fork 2
/
actions.yaml
31 lines (30 loc) · 925 Bytes
/
actions.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
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
update-db:
description: |
Updates the Mongodb and MySQL with the new data needed for the target OSM
params:
current-version:
type: integer
description: "Current version of Charmed OSM - Example: 9"
target-version:
type: integer
description: "Final version of OSM after the update - Example: 10"
mysql-only:
type: boolean
description: "if True the update is only applied for mysql database"
mongodb-only:
type: boolean
description: "if True the update is only applied for mongo database"
required:
- current-version
- target-version
apply-patch:
description: |
Updates de database to apply the changes needed to fix a bug
params:
bug-number:
type: integer
description: "The number of the bug that needs to be fixed"
required:
- bug-number