mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
ci: save docker logs as artifact
This commit is contained in:
parent
b6fa39e8fa
commit
00a854540e
2 changed files with 3 additions and 0 deletions
|
@ -176,6 +176,8 @@ jobs:
|
|||
command: |
|
||||
echo ${GITHUB_TOKEN} | docker login https://docker.pkg.github.com -u ${CIRCLE_PROJECT_USERNAME} --password-stdin
|
||||
./.circleci/run_test.sh
|
||||
- store_artifacts:
|
||||
path: /tmp/docker_nodes.log
|
||||
|
||||
build-lib-darwin-windows:
|
||||
macos:
|
||||
|
|
|
@ -5,6 +5,7 @@ set -e
|
|||
|
||||
function stop_and_cleanup() {
|
||||
EXIT_CODE=$?
|
||||
docker-compose logs --no-color --tail="all" > /tmp/docker_nodes.log 2>&1
|
||||
docker-compose run --rm test python ./utils/send_results.py --build-id=${CIRCLE_BUILD_NUM} --build-url=${CIRCLE_BUILD_URL} --git-branch=${CIRCLE_BRANCH} --exit-code=${EXIT_CODE}
|
||||
docker-compose down
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue