Skip to content

Commit 9582d0b

Browse files
authored
Merge pull request #13958 from DefectDojo/bugfix
Github action fix for 2.53.4
2 parents 78ea812 + 327d1bb commit 9582d0b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/fetch-oas.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
DJANGO_VERSION: ${{ env.release_version }}-alpine
3939
NGINX_VERSION: ${{ env.release_version }}-alpine
4040

41+
- name: Wait for Dojo to be ready
42+
run: |
43+
timeout 120 bash -c 'until curl -f http://localhost:8080/api/v2/oa3/schema/; do sleep 10; done'
44+
4145
- name: Download OpenAPI Specifications
4246
run: |-
4347
wget 'http://localhost:8080/api/v2/oa3/schema/?format=${{ matrix.file-type }}' -O oas.${{ matrix.file-type }} --tries=10 --retry-on-http-error=502

0 commit comments

Comments
 (0)