1
0
Fork 0
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:
requilence 2021-03-11 19:15:23 +04:00
parent b6fa39e8fa
commit 00a854540e
No known key found for this signature in database
GPG key ID: F07A7D55A2684852
2 changed files with 3 additions and 0 deletions

View file

@ -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:

View file

@ -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
}