diff --git a/.github/workflows/docker-compose.yml b/.github/workflows/docker-compose.yml index 8912b5f..9412aad 100644 --- a/.github/workflows/docker-compose.yml +++ b/.github/workflows/docker-compose.yml @@ -36,10 +36,26 @@ jobs: run: | sleep 60 docker compose --file docker-compose.yml ps -a + - name: ns logs run: | docker compose --file docker-compose.yml logs openmldb-ns1 docker compose --file docker-compose.yml logs openmldb-ns2 + docker compose --file docker-compose.yml logs openmldb-zk + + - name: ns internal log + run: | + mkdir ns-logs + pushd ns-logs + docker compose --file docker-compose.yml exec openmldb-ns1 cp /opt/openmldb/logs ns1/ + docker compose --file docker-compose.yml logs openmldb-ns2 cp /opt/openmldb/logs ns2/ + popd + + - uses: actions/upload-artifact@v3 + with: + name: ns-logs + path: ns-logs + - name: verbose exporter log run: |