Skip to content

Commit

Permalink
Collect logs in build pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Chang <[email protected]>
  • Loading branch information
mocsharp committed Nov 1, 2023
1 parent 1962498 commit d0a88a5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/test-monai-deploy-express.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:

- name: Start MONAI Deploy Express
working-directory: ./deploy/monai-deploy-express
continue-on-error: true
run: |
./init.sh
docker compose up --wait
Expand All @@ -45,7 +46,16 @@ jobs:
- name: Stop MONAI Deploy Express
working-directory: ./deploy/monai-deploy-express
continue-on-error: true
run: docker compose down


- name: Collect Logs
working-directory: ./deploy/monai-deploy-express
continue-on-error: true
run: docker compose logs > logs.txt

- uses: actions/upload-artifact@v3
working-directory: ./deploy/monai-deploy-express
with:
name: logs
path: logs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@
}
}
]
}
}

0 comments on commit d0a88a5

Please sign in to comment.