Fix bug in retry-forever usage.

- Push retry-forever wrapping to curl invocations.
- Collect curl retry flags into a single variable.
- Remove 'sudo: false' in master.yaml, is unnecessary and breaks older
  cloud-init versions.
- Change log-error status reason to be more accurate.
- Fix the some 'python' invocations to 'python3'.
This commit is contained in:
Avritt Rohwer
2021-05-07 15:58:25 -07:00
parent 0c2d5b3490
commit 0a5a697882
5 changed files with 68 additions and 54 deletions

View File

@@ -1911,7 +1911,7 @@ function update-or-verify-gcloud() {
else
local version
version=$(gcloud version --format=json)
python -c"
python3 -c"
import json,sys
from distutils import version