Skip to content

Commit

Permalink
run docker logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmou committed Sep 23, 2024
1 parent cc3d9b6 commit 2ee1918
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ jobs:
run: |
docker compose -f docker-test.yml exec -e TEST_RETRY_COUNT=$TEST_RETRY_COUNT -e DEPLOY_ENV=ci -T pender bundle exec rails routes
echo 'ran routes'
docker compose -f docker-test.yml exec -e TEST_RETRY_COUNT=$TEST_RETRY_COUNT -e DEPLOY_ENV=ci -T pender bundle exec rake "parallel:test"
docker compose --tail 50 pender
docker compose -f docker-test.yml exec -e TEST_RETRY_COUNT=$TEST_RETRY_COUNT -e DEPLOY_ENV=ci -T pender bundle exec rake "parallel:test"
echo 'ran parallel:test not 3'
# docker compose -f docker-test.yml exec -e TEST_RETRY_COUNT=$TEST_RETRY_COUNT -e DEPLOY_ENV=ci -T pender bundle exec rake parallel:spec
# echo 'ran parallel:spec'
Expand Down
2 changes: 1 addition & 1 deletion bin/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if [ "${APP}" = 'pender' ] ; then
port ${SERVER_PORT}
EOF

if [ "${DEPLOY_ENV}" = 'local' || "${DEPLOY_ENV}" = 'test' ] ; then
if [ "${DEPLOY_ENV}" = 'local' || "${RAILS_ENV}" = 'test' ] ; then
rm -f "${DIRPATH}/pids/server-${DEPLOY_ENV}.pid"
bundle exec puma -C "${PUMA}"
else # qa, live etc
Expand Down

0 comments on commit 2ee1918

Please sign in to comment.