Skip to content

Commit 7fa4136

Browse files
committed
Fix action
1 parent 88ee58a commit 7fa4136

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

action.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,15 @@ runs:
3535
RABBIT_PASSWORD=secret
3636
SERVICE_PASSWORD=secret
3737
SWIFT_HASH=1234123412341234
38-
ENABLED_SERVICES+=-horizon,-dstat,${{ inputs.enabled_services }}
3938
LOGFILE=${{ inputs.log_dir }}/devstack.log
4039
EOF
40+
# horizon does not work in github action, permission error
41+
# dstat log takes too much memory to be stored by log artifacts
42+
ENABLED_SERVICES=",-horizon,-dstat"
43+
if [[ "${{ inputs.enabled_services }}" != "" ]]; then
44+
ENABLED_SERVICES+=",${{ inputs.enabled_services }}"
45+
fi
46+
echo "${ENABLED_SERVICES}" >> local.conf
4147
working-directory: ./devstack
4248
shell: bash
4349
- name: Run devstack

0 commit comments

Comments
 (0)