Skip to content

Commit

Permalink
upload logs
Browse files Browse the repository at this point in the history
  • Loading branch information
aceforeverd committed Sep 21, 2023
1 parent eed1024 commit 51be5e6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 51be5e6

Please sign in to comment.