Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/deploy-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ on:
type: string
required: false
default: "./budget.json"
ping-timeout:
description: |
Timeout in seconds for the URL ping check.
See [`url-ping`](../../actions/check/url-ping/README.md).
type: string
required: false
default: "60"
print-summary:
description: "Whether to print a summary of the checks."
type: boolean
Expand Down Expand Up @@ -79,6 +86,7 @@ jobs:
id: ping
with:
url: ${{ inputs.url }}
timeout: ${{ inputs['ping-timeout'] }}

- id: lighthouse
uses: ./../self-workflow/actions/check/url-lighthouse
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/deploy-finish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,20 @@ on:
type: string
required: false
default: "./budget.json"
deployment-timeout:
description: |
Maximum time to wait for the deployment to reach a terminal state, in seconds.
See [`get-finished`](../../actions/deployment/get-finished/README.md).
type: string
required: false
default: "300"
ping-timeout:
description: |
Timeout in seconds for the URL ping check.
See [`url-ping`](../../actions/check/url-ping/README.md).
type: string
required: false
default: "60"
extra:
description: |
Extra information to send to the deployment summary.
Expand Down Expand Up @@ -71,6 +85,7 @@ jobs:
uses: ./../self-workflow/actions/deployment/get-finished
with:
deployment-id: ${{ inputs.deployment-id }}
timeout: ${{ inputs.deployment-timeout }}

deploy-checks:
name: Deploy checks
Expand All @@ -83,6 +98,7 @@ jobs:
runs-on: ${{ inputs.runs-on }}
url: ${{ needs.get-finished-deployment.outputs.url }}
budget-path: ${{ inputs.budget-path }}
ping-timeout: ${{ inputs.ping-timeout }}
print-summary: false

deploy-result:
Expand Down
2 changes: 1 addition & 1 deletion actions/deployment/get-finished/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ inputs:
timeout:
description: "Maximum time to wait for a terminal deployment status, in seconds"
required: false
default: "240"
default: "300"
allow-failure:
description: |
If "true", the action will not mark the step as failed when the deployment finishes with a non-success terminal state
Expand Down
Loading