Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aceforeverd committed Sep 21, 2023
1 parent 947cd19 commit 48bd76c
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,15 @@ jobs:
- name: ns internal log
run: |
docker compose --file docker-compose.yml exec openmldb-ns1 cp /opt/openmldb/logs log-ns1/
docker compose --file docker-compose.yml logs openmldb-ns2 cp /opt/openmldb/logs log-ns2/
docker compose --file docker-compose.yml exec openmldb-ns1 cp -r /opt/openmldb/logs log-ns1-src/
docker compose --file docker-compose.yml logs openmldb-ns2 cp -r /opt/openmldb/logs log-ns2-src/
- uses: actions/upload-artifact@v3
with:
name: ns-logs
path: |
log-ns1/
log-ns2/
log-ns1-src/
log-ns2-src/
- name: verbose exporter log
run: |
Expand Down Expand Up @@ -89,6 +88,18 @@ jobs:
run: |
docker compose --file docker-compose.yml --env-file prod.env up -d grafana
- name: ns internal log
run: |
docker compose --file docker-compose.yml exec openmldb-ns1 cp -r /opt/openmldb/logs log-ns1-prod/
docker compose --file docker-compose.yml logs openmldb-ns2 cp -r /opt/openmldb/logs log-ns2-prod/
- uses: actions/upload-artifact@v3
with:
name: ns-logs
path: |
log-ns1-prod/
log-ns2-prod/
- name: run tests
run: |
docker compose --file docker-compose.yml --env-file prod.env up --no-recreate --exit-code-from testing testing

0 comments on commit 48bd76c

Please sign in to comment.