ci: fix elixir release

This commit is contained in:
Ivan Dyachkov 2023-08-02 16:11:05 +02:00
parent f8022a849a
commit ba86a039cd
1 changed files with 3 additions and 5 deletions

View File

@ -32,14 +32,12 @@ jobs:
run: make ${{ matrix.profile }}-elixir
- name: start release
run: |
cd _build/${{ matrix.profile }}/rel/emqx
bin/emqx start
_build/${{ matrix.profile }}/rel/emqx/bin/emqx start
- name: check if started
run: |
set -e
sleep 10
timeout 1 bash -c '</dev/tcp/localhost/1883'
cd _build/${{ matrix.profile }}/rel/emqx
bin/emqx ping
bin/emqx ctl status
_build/${{ matrix.profile }}/rel/emqx/bin/emqx ping
_build/${{ matrix.profile }}/rel/emqx/bin/emqx ctl status
./scripts/test/emqx-smoke-test.sh localhost 18083