ci: fix work dir

This commit is contained in:
Zaiming (Stone) Shi 2022-06-29 08:28:57 +02:00
parent 4d4634335c
commit 2af6290040
1 changed files with 4 additions and 1 deletions

View File

@ -100,7 +100,9 @@ jobs:
- name: run relup test - name: run relup test
run: | run: |
set -e -x -u set -e -x -u
cd emqx chmod a+x scripts/**/*.sh
ls -l scripts
ls -l scripts/relup-test
case "$OLD_VSN" in case "$OLD_VSN" in
e*) e*)
export CUR_VSN="$CUR_EE_VSN" export CUR_VSN="$CUR_EE_VSN"
@ -113,6 +115,7 @@ jobs:
exit 1 exit 1
;; ;;
esac esac
mkdir -p lux_logs
if ! ./scripts/relup-test/run-relup-lux.sh $OLD_VSN; then if ! ./scripts/relup-test/run-relup-lux.sh $OLD_VSN; then
docker logs node1.emqx.io | tee lux_logs/emqx1.log docker logs node1.emqx.io | tee lux_logs/emqx1.log
docker logs node2.emqx.io | tee lux_logs/emqx2.log docker logs node2.emqx.io | tee lux_logs/emqx2.log