redhat-partner-solutions / crucible

Apache License 2.0
34 stars 59 forks source link

populate_mirror_registry | Ensure pullsecret is placed in config_file_path #278

Closed ramperher closed 8 months ago

ramperher commented 9 months ago

The pullsecret is copied in config_file_path in setup_mirror_registry, and this copy can be modified in that role. This role is usually executed prior to populate_mirror_registry, so we need to check if the pullsecret is present there or not.

We have cases using DCI where we don't execute the setup_mirror_registry role, but we run populate_mirror_registry/prerequisites to download binaries. For this case, where it may happen that the pullsecret is not placed in config_file_path, we have to ensure that.