Closed ciriousjoker closed 2 years ago
Hi @ciriousjoker I replied to your other comment at https://github.com/google-github-actions/deploy-cloudrun/issues/239#issuecomment-1200308291. The timeout
value is the runtime request timeout, not the build timeout. There is no way to customize the build timeout right now. This is a limitation of Cloud Run, not this GitHub Action.
TL;DR
.github/workflows/deploy.yml
Expected behavior
Cloud Build should use 30 minutes
Observed behavior
Cloud Build used 10 minutes. (default)
Action YAML
Log output
(collapsed because really long!)
```text 2022-07-30T05:35:11.3917313Z Requested labels: ubuntu-latest 2022-07-30T05:35:11.3917356Z Job defined at: ... 2022-07-30T05:35:11.3917378Z Waiting for a runner to pick up this job... 2022-07-30T05:35:12.0042467Z Job is waiting for a hosted runner to come online. 2022-07-30T05:35:15.7142237Z Job is about to start running on the hosted runner: Hosted Agent (hosted) 2022-07-30T05:35:20.2759397Z Current runner version: '2.294.0' 2022-07-30T05:35:20.2797739Z ##[group]Operating System 2022-07-30T05:35:20.2798505Z Ubuntu 2022-07-30T05:35:20.2798884Z 20.04.4 2022-07-30T05:35:20.2799301Z LTS 2022-07-30T05:35:20.2799671Z ##[endgroup] 2022-07-30T05:35:20.2800089Z ##[group]Virtual Environment 2022-07-30T05:35:20.2800517Z Environment: ubuntu-20.04 2022-07-30T05:35:20.2800983Z Version: 20220724.1 2022-07-30T05:35:20.2801641Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20220724.1/images/linux/Ubuntu2004-Readme.md 2022-07-30T05:35:20.2802484Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20220724.1 2022-07-30T05:35:20.2803068Z ##[endgroup] 2022-07-30T05:35:20.2803575Z ##[group]Virtual Environment Provisioner 2022-07-30T05:35:20.2804032Z 1.0.0.0-main-20220701-2 2022-07-30T05:35:20.2804367Z ##[endgroup] 2022-07-30T05:35:20.2805214Z ##[group]GITHUB_TOKEN Permissions 2022-07-30T05:35:20.2805917Z Contents: read 2022-07-30T05:35:20.2806562Z Metadata: read 2022-07-30T05:35:20.2807044Z ##[endgroup] 2022-07-30T05:35:20.2811917Z Secret source: Actions 2022-07-30T05:35:20.2812901Z Prepare workflow directory 2022-07-30T05:35:20.4231785Z Prepare all required actions 2022-07-30T05:35:20.4560533Z Getting action download info 2022-07-30T05:35:20.6907609Z Download action repository 'actions/checkout@v2' (SHA:7884fcad6b5d53d10323aee724dc68d8b9096a2e) 2022-07-30T05:35:21.4353961Z Download action repository 'google-github-actions/auth@v0' (SHA:ceee102ec2387dd9e844e01b530ccd4ec87ce955) 2022-07-30T05:35:21.9097789Z Download action repository 'google-github-actions/deploy-cloudrun@v0' (SHA:530b4b6c6355648c5ef3ec32a4744d4e0659a016) 2022-07-30T05:35:22.8026063Z ##[group]Run actions/checkout@v2 2022-07-30T05:35:22.8026473Z with: 2022-07-30T05:35:22.8026760Z fetch-depth: 2 2022-07-30T05:35:22.8027043Z repository: ... 2022-07-30T05:35:22.8027698Z token: *** 2022-07-30T05:35:22.8027958Z ssh-strict: true 2022-07-30T05:35:22.8028252Z persist-credentials: true 2022-07-30T05:35:22.8028551Z clean: true 2022-07-30T05:35:22.8028798Z lfs: false 2022-07-30T05:35:22.8029047Z submodules: false 2022-07-30T05:35:22.8029329Z set-safe-directory: true 2022-07-30T05:35:22.8029613Z env: 2022-07-30T05:35:22.8029908Z PROJECT_ID: some-project-id 2022-07-30T05:35:22.8030226Z SERVICE: some-service 2022-07-30T05:35:22.8030502Z REGION: europe-west3 2022-07-30T05:35:22.8030781Z ##[endgroup] 2022-07-30T05:35:23.1856049Z Syncing repository: ... 2022-07-30T05:35:23.1858178Z ##[group]Getting Git version info 2022-07-30T05:35:23.1858910Z Working directory is '/home/runner/work/...' 2022-07-30T05:35:23.1859671Z [command]/usr/bin/git version 2022-07-30T05:35:23.2050140Z git version 2.37.1 2022-07-30T05:35:23.2077538Z ##[endgroup] 2022-07-30T05:35:23.2100654Z Temporarily overriding HOME='/home/runner/work/_temp/d9607641-2f30-4e9a-af4d-85a67f0af1f9' before making global git config changes 2022-07-30T05:35:23.2101262Z Adding repository directory to the temporary git global config as a safe directory 2022-07-30T05:35:23.2101924Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/... 2022-07-30T05:35:23.2156065Z Deleting the contents of '/home/runner/work/...' 2022-07-30T05:35:23.2161645Z ##[group]Initializing the repository 2022-07-30T05:35:23.2166127Z [command]/usr/bin/git init /home/runner/work/... 2022-07-30T05:35:23.2305539Z hint: Using 'master' as the name for the initial branch. This default branch name 2022-07-30T05:35:23.2306194Z hint: is subject to change. To configure the initial branch name to use in all 2022-07-30T05:35:23.2306681Z hint: of your new repositories, which will suppress this warning, call: 2022-07-30T05:35:23.2307180Z hint: 2022-07-30T05:35:23.2308874Z hint: git config --global init.defaultBranchAdditional information
This line looks weird:
Timeout is specified twice here.