ci: ensure PROFILE for ct runs
This commit is contained in:
parent
95f3df9a10
commit
c6b32c2773
|
@ -75,7 +75,7 @@ case "${WHICH_APP}" in
|
||||||
export PROFILE='emqx-enterprise'
|
export PROFILE='emqx-enterprise'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
true
|
export PROFILE="${PROFILE:-emqx}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -167,10 +167,10 @@ fi
|
||||||
if [ "$ATTACH" = 'yes' ]; then
|
if [ "$ATTACH" = 'yes' ]; then
|
||||||
docker exec -it "$ERLANG_CONTAINER" bash
|
docker exec -it "$ERLANG_CONTAINER" bash
|
||||||
elif [ "$CONSOLE" = 'yes' ]; then
|
elif [ "$CONSOLE" = 'yes' ]; then
|
||||||
docker exec -i $TTY "$ERLANG_CONTAINER" bash -c "make run"
|
docker exec -e PROFILE="$PROFILE" -i $TTY "$ERLANG_CONTAINER" bash -c "make run"
|
||||||
else
|
else
|
||||||
set +e
|
set +e
|
||||||
docker exec -i $TTY -e EMQX_CT_SUITES="$SUITES" "$ERLANG_CONTAINER" bash -c "BUILD_WITHOUT_QUIC=1 make ${WHICH_APP}-ct"
|
docker exec -e PROFILE="$PROFILE" -i $TTY -e EMQX_CT_SUITES="$SUITES" "$ERLANG_CONTAINER" bash -c "BUILD_WITHOUT_QUIC=1 make ${WHICH_APP}-ct"
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
if [ "$KEEP_UP" = 'yes' ]; then
|
if [ "$KEEP_UP" = 'yes' ]; then
|
||||||
exit $RESULT
|
exit $RESULT
|
||||||
|
|
Loading…
Reference in New Issue