potiuk opened a new pull request #17883:
URL: https://github.com/apache/airflow/pull/17883


   We need to set the "experimental" flag in CI in order to use
   `docker manifest` command to check for presence of the images
   in ghcr.io. In order to use them we need to enable experimental
   features via ~/.docker/config.json.
   
   Sometimes, very rarely, we had the case that the config file
   got broken and the problem turned out to be that we tried
   to do this experimental replacement in parallel by several
   running "wait image" commands (🤦 here for myself)
   that were apparenlty overriding the same config.json
   at the same time in non-atomic way, which (very rarely)
   led to corrupted file.
   
   However for quite some time we pulled the image immediately
   after it was available, in order to verify the image,
   so rather than checking if the image
   is there via manifest, we can simply pull the image
   and effect will be the same - if it fails, the image is not
   there, if it has been pulled - we can immediately verify
   it. We do not need experimental flag at all for that
   so no messing around with .docker/config.json is needed
   at all.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to