Skip to content

Commit

Permalink
Export FO output for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Aug 21, 2023
1 parent 1563d7d commit f4b9d15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ jobs:
- name: Start up shop docker
working-directory: ${{ env.PS_DIR }}
timeout-minutes: 8
timeout-minutes: 5
env:
VERSION: ${{ (github.event.inputs.base_branch == '1.7.8.x') && github.event.inputs.php_version || env.VERSION }}
URL_FO: ${{ ((github.event.inputs.base_branch == '8.0.x') || (github.event.inputs.base_branch == '1.7.8.x')) && 'http://localhost:8001/' || 'https://localhost:8002/' }}
Expand All @@ -394,7 +394,7 @@ jobs:
echo Build the remaining dockers
USER_ID=$(id -u) GROUP_ID=$(id -g) docker-compose -f docker-compose.yml up -d --build
echo Waiting for response from the FO ${{ env.URL_FO }}en/
bash -c 'while [[ "$(curl -L -s -o /dev/null -w %{http_code} ${{ env.URL_FO }}en/)" != "200" ]]; do echo Received HTTP code $(curl -L -s -o /dev/null -w %{http_code} ${{ env.URL_FO }}en/); sleep 5; done'
bash -c 'while [[ "$(curl -L -s -o /dev/null -w %{http_code} ${{ env.URL_FO }}en/)" != "200" ]]; do echo Saving output in logs and retry; curl -L -s -o ${{ env.PS_DIR }}/var/logs/fo.html ${{ env.URL_FO }}en/; sleep 5; done'
# UI Tests : Setup, Install & Execute
- uses: actions/checkout@v3
Expand Down

0 comments on commit f4b9d15

Please sign in to comment.