Skip to content

Commit c1367d7

Browse files
committed
action: add support to override configs
1 parent e841b58 commit c1367d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

action.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ inputs:
44
branch:
55
description: 'Name of the branch to deploy'
66
default: 'master'
7+
conf_overrides:
8+
description: 'Configuration overrides for devstack'
9+
default: ''
710
enabled_services:
811
description: 'Add or remove services to deploy via devstack'
912
default: ''
@@ -44,6 +47,9 @@ runs:
4447
ENABLED_SERVICES+=",${{ inputs.enabled_services }}"
4548
fi
4649
echo "ENABLED_SERVICES+=${ENABLED_SERVICES}" >> local.conf
50+
if [[ "${{ inputs.conf_overrides }}" != "" ]]; then
51+
echo "${{ inputs.conf_overrides }}" >> local.conf
52+
fi
4753
working-directory: ./devstack
4854
shell: bash
4955
- name: Run devstack

0 commit comments

Comments
 (0)