File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ jobs:
414
414
deploy_to_azure :
415
415
runs-on : ubuntu-20.04
416
416
name : Deploy demo app to Microsoft Azure
417
- if : github.repository == 'Taskana/taskana' && github.ref == 'refs/heads/master' && github.head_ref == ''
417
+ if : github.repository == 'Taskana/taskana' && ( github.ref == 'refs/heads/master' || github.ref == 'refs/heads/deploy-demo-fix') && github.head_ref == ''
418
418
needs : [ test_frontend, test_e2e, test_backend ]
419
419
steps :
420
420
- name : Git checkout
@@ -462,7 +462,7 @@ jobs:
462
462
- name : Wait for Azure for 60 seconds
463
463
uses : jakejarvis/wait-action@master
464
464
with :
465
- time : ' 60s '
465
+ time : ' 100s '
466
466
- name : Smoke test documentation
467
467
run : ci/verify_docs_alive.sh
468
468
- name : Cancel workflow
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e # fail fast
3
3
set -x
4
+
4
5
BASE_URL=https://taskana.azurewebsites.net/taskana
6
+ TIMEOUT=30 # seconds
5
7
6
- test 200 -eq " $( curl -sw " %{http_code}" -o /dev/null " $BASE_URL /docs/rest/rest-api.html" ) "
7
- test 200 -eq " $( curl -sw " %{http_code}" -o /dev/null " $BASE_URL /docs/rest/simplehistory-rest-api.html" ) "
8
- test 200 -eq " $( curl -sw " %{http_code}" -o /dev/null " $BASE_URL /docs/rest/routing-rest-api.html" ) "
8
+ test 200 -eq " $( curl -sw " %{http_code}" -o /dev/null --connect-timeout $TIMEOUT --max-time $TIMEOUT " $BASE_URL /docs/rest/rest-api.html" ) "
9
+ test 200 -eq " $( curl -sw " %{http_code}" -o /dev/null --connect-timeout $TIMEOUT --max-time $TIMEOUT " $BASE_URL /docs/rest/simplehistory-rest-api.html" ) "
10
+ test 200 -eq " $( curl -sw " %{http_code}" -o /dev/null --connect-timeout $TIMEOUT --max-time $TIMEOUT " $BASE_URL /docs/rest/routing-rest-api.html" ) "
9
11
for module in taskana-core taskana-spring; do
10
- test 200 -eq " $( curl -sw " %{http_code}" -o /dev/null " $BASE_URL /docs/java/$module /index.html" ) "
12
+ test 200 -eq " $( curl -sw " %{http_code}" -o /dev/null --connect-timeout $TIMEOUT --max-time $TIMEOUT " $BASE_URL /docs/java/$module /index.html" ) "
11
13
done
12
14
for module in taskana-cdi; do
13
- test 200 -eq " $( curl -sw " %{http_code}" -o /dev/null " $BASE_URL /docs/java/$module /pro/taskana/common/internal/package-summary.html" ) "
15
+ test 200 -eq " $( curl -sw " %{http_code}" -o /dev/null --connect-timeout $TIMEOUT --max-time $TIMEOUT " $BASE_URL /docs/java/$module /pro/taskana/common/internal/package-summary.html" ) "
14
16
done
You can’t perform that action at this time.
0 commit comments