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 run: make ${{ matrix.profile }}-elixir
- name: start release - name: start release
run: | run: |
cd _build/${{ matrix.profile }}/rel/emqx _build/${{ matrix.profile }}/rel/emqx/bin/emqx start
bin/emqx start
- name: check if started - name: check if started
run: | run: |
set -e set -e
sleep 10 sleep 10
timeout 1 bash -c '</dev/tcp/localhost/1883' timeout 1 bash -c '</dev/tcp/localhost/1883'
cd _build/${{ matrix.profile }}/rel/emqx _build/${{ matrix.profile }}/rel/emqx/bin/emqx ping
bin/emqx ping _build/${{ matrix.profile }}/rel/emqx/bin/emqx ctl status
bin/emqx ctl status
./scripts/test/emqx-smoke-test.sh localhost 18083 ./scripts/test/emqx-smoke-test.sh localhost 18083