Skip to content

Commit

Permalink
Debug from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
benja-M-1 committed Nov 8, 2023
1 parent 615c556 commit fae4480
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ jobs:

- name: Start Desktop
uses: ./start
timeout-minutes: 5

- name: Gather Diagnostics
if: ${{ always() }}
run: /Applications/Docker.app/Contents/MacOS/com.docker.diagnose gather -upload

- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3

- name: Debug
run: |
Expand Down
35 changes: 16 additions & 19 deletions start/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,26 +79,23 @@ runs:
echo "ls ./cache/desktopInstallSettings/"
ls ./cache/desktopInstallSettings/ || true
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
- name: Start Docker Desktop app
shell: bash
run: |
/usr/bin/open /Applications/Docker.app --args --unattended --add-host-docker-internal-registry --telemetry
echo "Docker starting..."
# - name: Start Docker Desktop app
# shell: bash
# run: |
# /usr/bin/open /Applications/Docker.app --args --unattended --add-host-docker-internal-registry --telemetry
# echo "Docker starting..."
##
# - name: Wait for Docker to be up and running
# shell: bash
# run: |
# docker ps || true
# sleep 10
# docker ps || true
# sleep 10
# docker ps || true
# sleep 10
# docker ps || true
# sleep 10
- name: Wait for Docker to be up and running
shell: bash
run: |
docker ps || true
sleep 10
docker ps || true
sleep 10
docker ps || true
sleep 10
docker ps || true
sleep 10
# until docker ps; do echo "docker not ready, sleep 10 s and try again"; sleep 10; done
# echo "Docker started and ready"
Expand Down

0 comments on commit fae4480

Please sign in to comment.