-
Couldn't load subscription status.
- Fork 61
Labels
Description
docker-tools/eng/common/templates/jobs/publish.yml
Lines 140 to 147 in fc626a4
| - script: > | |
| curl -fSL | |
| --output $(imageInfoHostDir)/full-image-info-orig.json | |
| https://raw.githubusercontent.com/$(gitHubVersionsRepoInfo.org)/$(gitHubVersionsRepoInfo.repo)/refs/heads/$(gitHubVersionsRepoInfo.branch)/$(gitHubImageInfoVersionsPath) | |
| condition: and(succeeded(), eq(variables['publishImageInfo'], 'true')) | |
| displayName: Download Latest Image Info | |
This pipeline step is just a raw curl command which can fail sometimes causing our publish pipeline to be unreliable. In the example below it fails with a 403 unauthorized. Things to consider:
- At a minimum we should wrap this request in an exponential backoff retry
- Do we need to authenticate for this request? As our GitHub bot account?
Example pipeline where this is failing: https://dev.azure.com/dnceng/internal/_build/results?buildId=2746286&view=logs&j=739bb7ec-7296-5b40-7dff-ee3297bfdaa4&t=bf6a5b93-88b0-5310-04fe-dec22ee32d0e&s=380ab8c6-4139-55ff-15c4-fb48260f4dca
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done