Skip to content

Commit 9d0b880

Browse files
committed
fixing retry command
1 parent a167e11 commit 9d0b880

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/compose-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ jobs:
2727
timeout_minutes: 30
2828
retry_wait_seconds: 120
2929
max_attempts: 3
30-
command: DB_USERNAME=test DB_PASSWORD=test DB_ROOT_USER=root DB_ROOT_PASSWORD=toor RABBITMQ_USER=test RABBITMQ_PASSWORD=test DOMAIN=test.com docker compose -f ${{ inputs.file }} up -d
30+
command: DB_USERNAME=test DB_PASSWORD=test DB_ROOT_USER=root DB_ROOT_PASSWORD=toor RABBITMQ_USER=test RABBITMQ_PASSWORD=test DOMAIN=test.com docker compose -f ${{ inputs.file }} up -d
31+
on_retry_command: yes | docker system prune -a

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ jobs:
2222
uses: nick-fields/retry@v3
2323
with:
2424
timeout_minutes: 30
25-
retry_wait_seconds: 30
25+
retry_wait_seconds: 120
2626
max_attempts: 3
2727
command: DOMAIN=${{ secrets.DOMAIN }} docker compose -f ./dev-compose.yml up -d --build
28+
on_retry_command: yes | docker system prune -a
29+
2830

2931
- name: Get Dev dependencies
3032
run: |
@@ -36,7 +38,7 @@ jobs:
3638
uses: nick-fields/retry@v3
3739
with:
3840
timeout_seconds: 40
39-
retry_wait_seconds: 120
41+
retry_wait_seconds: 30
4042
max_attempts: 3
4143
command: cd ./proxy && chmod +x test.sh && DOMAIN=${{ secrets.DOMAIN }} PATH=$HOME/go-binaries/bin:$PATH ./test.sh
4244

0 commit comments

Comments
 (0)