Skip to content

Commit

Permalink
DEBUG: see if we're running docker in experimental mode
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Mar 20, 2020
1 parent b632f50 commit 27ae586
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,29 @@ jobs:
python-version: [3.6]

steps:
- name: Workaround docker error on Windows
if: matrix.os == 'windows-latest'
run: |
sc queryex type=service state=all | find /i "SERVICE_NAME:"
docker version
dir C:\ProgramData\Docker\config
sc queryex type=service state=all
net stop com.docker.service
dir C:\ProgramData\Docker\config
echo '{"experimental": true}' > C:\ProgramData\Docker\config\daemon.json
cat C:\ProgramData\Docker\config\daemon.json
net start com.docker.service
dir C:\ProgramData\Docker\config
cat C:\ProgramData\Docker\config\daemon.json
docker version
docker pull --platform linux kiwitcms/kiwi
- name: Check out code
uses: actions/checkout@v2

Expand All @@ -46,10 +69,6 @@ jobs:
run: |
pip install winkerberos
- name: Workaround docker error on Windows
if: matrix.os == 'windows-latest'
run: |
docker pull --platform linux kiwitcms/kiwi
- name: Build & start services
run: |
Expand Down

0 comments on commit 27ae586

Please sign in to comment.