Skip to content

Commit

Permalink
[Easy] Configure autodeploy request timeout (#2119)
Browse files Browse the repository at this point in the history
# Description
I noticed our auto-deploy jobs are frequently timing out in the services
repo:
https://github.com/cowprotocol/services/actions/workflows/deploy.yaml,
which is due to our k8s deployment being too slow (currently [~7
minutes](https://production-6de61f.kb.eu-central-1.aws.cloud.es.io/app/r/s/DylSb))
for all pods to restart.
cowprotocol/autodeploy-action#39 made the
timeout for the requests configurable (before it was hardcoded to 6
minutes). This PR uses this config value.

# Changes
- [ ] Set the timeout to 10 minutes

## How to test
Observe deploy job succeeding after this PR is merged.
  • Loading branch information
fleupold authored Dec 4, 2023
1 parent 02bfbbf commit ecf8590
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ jobs:
tag: ${{ secrets.AUTODEPLOY_TAG }}
url: ${{ secrets.AUTODEPLOY_URL }}
token: ${{ secrets.AUTODEPLOY_TOKEN }}
timeout: 600000 # 10 minutes

0 comments on commit ecf8590

Please sign in to comment.