From 51be5e64ef20b513f486b4d4135ba6f16625714d Mon Sep 17 00:00:00 2001 From: aceforeverd Date: Thu, 21 Sep 2023 18:20:49 +0800 Subject: [PATCH] upload logs --- .github/workflows/docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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: |