mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-18 15:01:14 +00:00
Use retry for artifact download
This commit is contained in:
18
.github/workflows/zzz-reuse-build.yml
vendored
18
.github/workflows/zzz-reuse-build.yml
vendored
@@ -103,9 +103,13 @@ jobs:
|
|||||||
### Download and import base
|
### Download and import base
|
||||||
###
|
###
|
||||||
- name: "[Artifact Load] Download base"
|
- name: "[Artifact Load] Download base"
|
||||||
uses: actions/download-artifact@v3
|
uses: Wandalen/wretry.action@v1.0.11
|
||||||
with:
|
with:
|
||||||
|
action: actions/download-artifact@v3
|
||||||
|
with: |
|
||||||
name: ${{ steps.set-artifact-name.outputs.base }}
|
name: ${{ steps.set-artifact-name.outputs.base }}
|
||||||
|
attempt_limit: 20
|
||||||
|
attempt_delay: 10000
|
||||||
if: ${{ inputs.flavour == 'mods' }}
|
if: ${{ inputs.flavour == 'mods' }}
|
||||||
|
|
||||||
- name: "[Artifact Load] Import base"
|
- name: "[Artifact Load] Import base"
|
||||||
@@ -119,9 +123,13 @@ jobs:
|
|||||||
### Download and import mods
|
### Download and import mods
|
||||||
###
|
###
|
||||||
- name: "[Artifact Load] Download mods"
|
- name: "[Artifact Load] Download mods"
|
||||||
uses: actions/download-artifact@v3
|
uses: Wandalen/wretry.action@v1.0.11
|
||||||
with:
|
with:
|
||||||
|
action: actions/download-artifact@v3
|
||||||
|
with: |
|
||||||
name: ${{ steps.set-artifact-name.outputs.mods }}
|
name: ${{ steps.set-artifact-name.outputs.mods }}
|
||||||
|
attempt_limit: 20
|
||||||
|
attempt_delay: 10000
|
||||||
if: ${{ inputs.flavour == 'prod' }}
|
if: ${{ inputs.flavour == 'prod' }}
|
||||||
|
|
||||||
- name: "[Artifact Load] Import mods"
|
- name: "[Artifact Load] Import mods"
|
||||||
@@ -135,9 +143,13 @@ jobs:
|
|||||||
### Download and import prod
|
### Download and import prod
|
||||||
###
|
###
|
||||||
- name: "[Artifact Load] Download prod"
|
- name: "[Artifact Load] Download prod"
|
||||||
uses: actions/download-artifact@v3
|
uses: Wandalen/wretry.action@v1.0.11
|
||||||
with:
|
with:
|
||||||
|
action: actions/download-artifact@v3
|
||||||
|
with: |
|
||||||
name: ${{ steps.set-artifact-name.outputs.prod }}
|
name: ${{ steps.set-artifact-name.outputs.prod }}
|
||||||
|
attempt_limit: 20
|
||||||
|
attempt_delay: 10000
|
||||||
if: ${{ inputs.flavour == 'work' }}
|
if: ${{ inputs.flavour == 'work' }}
|
||||||
|
|
||||||
- name: "[Artifact Load] Import prod"
|
- name: "[Artifact Load] Import prod"
|
||||||
|
|||||||
24
.github/workflows/zzz-reuse-deploy-images.yml
vendored
24
.github/workflows/zzz-reuse-deploy-images.yml
vendored
@@ -99,9 +99,13 @@ jobs:
|
|||||||
### Download and import base
|
### Download and import base
|
||||||
###
|
###
|
||||||
- name: "[Artifact Load] Download base"
|
- name: "[Artifact Load] Download base"
|
||||||
uses: actions/download-artifact@v3
|
uses: Wandalen/wretry.action@v1.0.11
|
||||||
with:
|
with:
|
||||||
|
action: actions/download-artifact@v3
|
||||||
|
with: |
|
||||||
name: ${{ steps.set-artifact-name.outputs.base }}
|
name: ${{ steps.set-artifact-name.outputs.base }}
|
||||||
|
attempt_limit: 20
|
||||||
|
attempt_delay: 10000
|
||||||
|
|
||||||
- name: "[Artifact Load] Import base"
|
- name: "[Artifact Load] Import base"
|
||||||
uses: cytopia/shell-command-retry-action@v0.1.2
|
uses: cytopia/shell-command-retry-action@v0.1.2
|
||||||
@@ -114,9 +118,13 @@ jobs:
|
|||||||
### Download and import mods
|
### Download and import mods
|
||||||
###
|
###
|
||||||
- name: "[Artifact Load] Download mods"
|
- name: "[Artifact Load] Download mods"
|
||||||
uses: actions/download-artifact@v3
|
uses: Wandalen/wretry.action@v1.0.11
|
||||||
with:
|
with:
|
||||||
|
action: actions/download-artifact@v3
|
||||||
|
with: |
|
||||||
name: ${{ steps.set-artifact-name.outputs.mods }}
|
name: ${{ steps.set-artifact-name.outputs.mods }}
|
||||||
|
attempt_limit: 20
|
||||||
|
attempt_delay: 10000
|
||||||
|
|
||||||
- name: "[Artifact Load] Import mods"
|
- name: "[Artifact Load] Import mods"
|
||||||
uses: cytopia/shell-command-retry-action@v0.1.2
|
uses: cytopia/shell-command-retry-action@v0.1.2
|
||||||
@@ -129,9 +137,13 @@ jobs:
|
|||||||
### Download and import prod
|
### Download and import prod
|
||||||
###
|
###
|
||||||
- name: "[Artifact Load] Download prod"
|
- name: "[Artifact Load] Download prod"
|
||||||
uses: actions/download-artifact@v3
|
uses: Wandalen/wretry.action@v1.0.11
|
||||||
with:
|
with:
|
||||||
|
action: actions/download-artifact@v3
|
||||||
|
with: |
|
||||||
name: ${{ steps.set-artifact-name.outputs.prod }}
|
name: ${{ steps.set-artifact-name.outputs.prod }}
|
||||||
|
attempt_limit: 20
|
||||||
|
attempt_delay: 10000
|
||||||
|
|
||||||
- name: "[Artifact Load] Import prod"
|
- name: "[Artifact Load] Import prod"
|
||||||
uses: cytopia/shell-command-retry-action@v0.1.2
|
uses: cytopia/shell-command-retry-action@v0.1.2
|
||||||
@@ -144,9 +156,13 @@ jobs:
|
|||||||
### Download and import prod
|
### Download and import prod
|
||||||
###
|
###
|
||||||
- name: "[Artifact Load] Download work"
|
- name: "[Artifact Load] Download work"
|
||||||
uses: actions/download-artifact@v3
|
uses: Wandalen/wretry.action@v1.0.11
|
||||||
with:
|
with:
|
||||||
|
action: actions/download-artifact@v3
|
||||||
|
with: |
|
||||||
name: ${{ steps.set-artifact-name.outputs.work }}
|
name: ${{ steps.set-artifact-name.outputs.work }}
|
||||||
|
attempt_limit: 20
|
||||||
|
attempt_delay: 10000
|
||||||
|
|
||||||
- name: "[Artifact Load] Import work"
|
- name: "[Artifact Load] Import work"
|
||||||
uses: cytopia/shell-command-retry-action@v0.1.2
|
uses: cytopia/shell-command-retry-action@v0.1.2
|
||||||
|
|||||||
Reference in New Issue
Block a user