File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed
Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -157,15 +157,26 @@ jobs:
157157 echo "PLEXAPI_AUTH_SERVER_TOKEN=${{ secrets.PLEXAPI_AUTH_SERVER_TOKEN }}" >> $GITHUB_ENV
158158
159159 - name : Bootstrap ${{ matrix.plex }} Plex server
160- run : |
161- . venv/bin/activate
162- python \
163- -u tools/plex-bootstraptest.py \
164- --destination plex \
165- --advertise-ip 127.0.0.1 \
166- --bootstrap-timeout 540 \
167- --docker-tag ${{ env.PLEX_CONTAINER_TAG }} \
168- --${{ matrix.plex }}
160+ uses :
nick-fields/[email protected] 161+ with :
162+ max_attempts : 3
163+ timeout_minutes : 2
164+ command : |
165+ . venv/bin/activate
166+ python \
167+ -u tools/plex-bootstraptest.py \
168+ --destination plex \
169+ --advertise-ip 127.0.0.1 \
170+ --bootstrap-timeout 540 \
171+ --docker-tag ${{ env.PLEX_CONTAINER_TAG }} \
172+ --${{ matrix.plex }}
173+ on_retry_command : |
174+ if ["${{ matrix.plex }}" == "claimed"]; then
175+ python -u tools/plex-teardowntest.py
176+ fi
177+
178+ # remove docker container
179+ docker rm -f $(docker ps --latest)
169180
170181 - name : Main tests with ${{ matrix.plex }} server
171182 env :
You can’t perform that action at this time.
0 commit comments