Skip to content

Commit

Permalink
More test troubleshooting:debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
markspolakovs committed Aug 26, 2024
1 parent ab64569 commit 58a88da
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:
- name: Retart services
run: |
docker compose -f docker-compose.yml -f docker-compose-rc-test.yml restart server jobrunner
curl --connect-timeout 1 --retry 25 --retry-delay 2 -fsS -o/dev/null http://localhost:3000
curl --connect-timeout 1 --retry 25 --retry-delay 2 -fsS -o/dev/null http://localhost:28342
- name: Run Playwright tests
run: yarn ${{ runner.debug && 'test:e2e:debug' || 'test:e2e' }}
Expand Down Expand Up @@ -81,6 +79,9 @@ jobs:
uses: actions/download-artifact@v4
with:
name: badger-desktop-windows
- name: DEBUG
run: ls -la
shell: pwsh
- name: Install Badger
run: Start-Process -FilePath "badger-desktop-windows\Badger Desktop-${{ github.ref_name }}.exe" -ArgumentList "/S","/D=${{ runner.temp }}\badger" -Wait
shell: pwsh
Expand All @@ -102,12 +103,15 @@ jobs:
with:
path: artifacts
- name: Re-tag and push Docker images
run: docker pull ghcr.io/ystv/badger/server:${{ github.ref_name }}
docker pull ghcr.io/ystv/badger/jobrunner:${{ github.ref_name }}
docker tag ghcr.io/ystv/badger/server:${{ github.ref_name }} ghcr.io/ystv/badger/server:$VERSION
docker tag ghcr.io/ystv/badger/jobrunner:${{ github.ref_name }} ghcr.io/ystv/badger/jobrunner:$VERSION
docker push ghcr.io/ystv/badger/server:$VERSION
docker push ghcr.io/ystv/badger/jobrunner:$VERSION
run: |
for img in server jobrunner; do
docker pull ghcr.io/ystv/badger/$img:${{ github.ref_name }}
docker tag ghcr.io/ystv/badger/$img:${{ github.ref_name }} ghcr.io/ystv/badger/$img:$VERSION
docker push ghcr.io/ystv/badger/$img:$VERSION
docker tag ghcr.io/ystv/badger/$img:${{ github.ref_name }} ghcr.io/ystv/badger/$img:latest
docker push ghcr.io/ystv/badger/$img:latest
done
shell: bash
- name: Create GitHub release
uses: actions/github-script@v7
id: release
Expand Down

0 comments on commit 58a88da

Please sign in to comment.