FINERACT-1724: Added retry to build & test github workflow steps
This commit is contained in:
committed by
Arnold Gálovics
parent
971179ce6d
commit
47aceb923d
@@ -79,6 +79,7 @@ jobs:
|
|||||||
sudo apt-get install ghostscript graphviz -y
|
sudo apt-get install ghostscript graphviz -y
|
||||||
|
|
||||||
- name: Build & Test
|
- name: Build & Test
|
||||||
|
uses: nick-fields/retry@v2
|
||||||
env:
|
env:
|
||||||
AWS_ENDPOINT_URL: http://localhost:4566
|
AWS_ENDPOINT_URL: http://localhost:4566
|
||||||
AWS_ACCESS_KEY_ID: localstack
|
AWS_ACCESS_KEY_ID: localstack
|
||||||
@@ -86,7 +87,11 @@ jobs:
|
|||||||
AWS_REGION: us-east-1
|
AWS_REGION: us-east-1
|
||||||
FINERACT_REPORT_EXPORT_S3_ENABLED: true
|
FINERACT_REPORT_EXPORT_S3_ENABLED: true
|
||||||
FINERACT_REPORT_EXPORT_S3_BUCKET_NAME: fineract-reports
|
FINERACT_REPORT_EXPORT_S3_BUCKET_NAME: fineract-reports
|
||||||
run: |
|
with:
|
||||||
|
timeout_minutes: 90
|
||||||
|
max_attempts: 3
|
||||||
|
retry_on: error
|
||||||
|
command: |
|
||||||
./gradlew --no-daemon --console=plain build test -x doc -x :twofactor-tests:test -x :oauth2-test:test
|
./gradlew --no-daemon --console=plain build test -x doc -x :twofactor-tests:test -x :oauth2-test:test
|
||||||
./gradlew --no-daemon --console=plain :twofactor-tests:test
|
./gradlew --no-daemon --console=plain :twofactor-tests:test
|
||||||
./gradlew --no-daemon --console=plain :oauth2-tests:test
|
./gradlew --no-daemon --console=plain :oauth2-tests:test
|
||||||
|
|||||||
@@ -79,6 +79,7 @@ jobs:
|
|||||||
sudo apt-get install ghostscript graphviz -y
|
sudo apt-get install ghostscript graphviz -y
|
||||||
|
|
||||||
- name: Build & Test
|
- name: Build & Test
|
||||||
|
uses: nick-fields/retry@v2
|
||||||
env:
|
env:
|
||||||
AWS_ENDPOINT_URL: http://localhost:4566
|
AWS_ENDPOINT_URL: http://localhost:4566
|
||||||
AWS_ACCESS_KEY_ID: localstack
|
AWS_ACCESS_KEY_ID: localstack
|
||||||
@@ -86,7 +87,11 @@ jobs:
|
|||||||
AWS_REGION: us-east-1
|
AWS_REGION: us-east-1
|
||||||
FINERACT_REPORT_EXPORT_S3_ENABLED: true
|
FINERACT_REPORT_EXPORT_S3_ENABLED: true
|
||||||
FINERACT_REPORT_EXPORT_S3_BUCKET_NAME: fineract-reports
|
FINERACT_REPORT_EXPORT_S3_BUCKET_NAME: fineract-reports
|
||||||
run: |
|
with:
|
||||||
|
timeout_minutes: 90
|
||||||
|
max_attempts: 3
|
||||||
|
retry_on: error
|
||||||
|
command: |
|
||||||
./gradlew --no-daemon --console=plain build test -x doc -x :twofactor-tests:test -x :oauth2-test:test -PdbType=mysql
|
./gradlew --no-daemon --console=plain build test -x doc -x :twofactor-tests:test -x :oauth2-test:test -PdbType=mysql
|
||||||
./gradlew --no-daemon --console=plain :twofactor-tests:test -PdbType=mysql
|
./gradlew --no-daemon --console=plain :twofactor-tests:test -PdbType=mysql
|
||||||
./gradlew --no-daemon --console=plain :oauth2-tests:test -PdbType=mysql
|
./gradlew --no-daemon --console=plain :oauth2-tests:test -PdbType=mysql
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ jobs:
|
|||||||
sudo apt-get install ghostscript graphviz -y
|
sudo apt-get install ghostscript graphviz -y
|
||||||
|
|
||||||
- name: Build & Test
|
- name: Build & Test
|
||||||
|
uses: nick-fields/retry@v2
|
||||||
env:
|
env:
|
||||||
AWS_ENDPOINT_URL: http://localhost:4566
|
AWS_ENDPOINT_URL: http://localhost:4566
|
||||||
AWS_ACCESS_KEY_ID: localstack
|
AWS_ACCESS_KEY_ID: localstack
|
||||||
@@ -87,7 +88,11 @@ jobs:
|
|||||||
AWS_REGION: us-east-1
|
AWS_REGION: us-east-1
|
||||||
FINERACT_REPORT_EXPORT_S3_ENABLED: true
|
FINERACT_REPORT_EXPORT_S3_ENABLED: true
|
||||||
FINERACT_REPORT_EXPORT_S3_BUCKET_NAME: fineract-reports
|
FINERACT_REPORT_EXPORT_S3_BUCKET_NAME: fineract-reports
|
||||||
run: |
|
with:
|
||||||
|
timeout_minutes: 90
|
||||||
|
max_attempts: 3
|
||||||
|
retry_on: error
|
||||||
|
command: |
|
||||||
./gradlew --no-daemon --console=plain build test -x doc -x :twofactor-tests:test -x :oauth2-test:test -PdbType=postgresql
|
./gradlew --no-daemon --console=plain build test -x doc -x :twofactor-tests:test -x :oauth2-test:test -PdbType=postgresql
|
||||||
./gradlew --no-daemon --console=plain :twofactor-tests:test -PdbType=postgresql
|
./gradlew --no-daemon --console=plain :twofactor-tests:test -PdbType=postgresql
|
||||||
./gradlew --no-daemon --console=plain :oauth2-tests:test -PdbType=postgresql
|
./gradlew --no-daemon --console=plain :oauth2-tests:test -PdbType=postgresql
|
||||||
|
|||||||
Reference in New Issue
Block a user