IIB operations
These functions handle logic related to the common IIB operations. This includes contacting IIB, creating new signatures, removing old signatues, and and copying the new index image to the right location
Main entrypoint functions
- pubtools._quay.iib_operations.task_iib_add_bundles(bundles: List[str], archs: List[str], index_image: str, deprecation_list: List[str], signing_keys: List[str], task_id: str, target_settings: Dict[str, Any]) None [source]
Perform all the necessary actions for the ‘PushAddIIBBundles’ entrypoint.
- Args:
- bundles ([str]):
Bundles to add to the index image.
- archs ([str]):
Architectures to build the index image for.
- index_image (str):
Index image to add the bundles to.
- deprecation_list ([str]):
Bundles to deprecate in the index image.
- signing_keys ([str]):
Signing keys to be used.
- task_id (str):
ID of the pub task.
- target_settings (dict):
Dictionary containing settings necessary for performing the operation.
- pubtools._quay.iib_operations.task_iib_remove_operators(operators: List[str], archs: List[str], index_image: str, signing_keys: List[str], task_id: str, target_settings: Dict[str, Any]) None [source]
Perform all the necessary actions for the ‘PushRemoveIIBOperators’ entrypoint.
- Args:
- operators ([str]):
Operators to remove from the index image.
- arch ([str]):
Architectures to build the index image for.
- index_image (str):
Index image to remove the operators from.
- signing_keys (str):
Signing keys to be used.
- task_id (str):
ID of the pub task.
- target_settings (dict):
Dictionary containing settings necessary for performing the operation.
- pubtools._quay.iib_operations.task_iib_build_from_scratch(bundles: List[str], archs: List[str], index_image_tag: str, signing_keys: List[str], task_id: str, target_settings: Dict[str, Any]) None [source]
Perform all the necessary actions for the ‘PushIIBBuildFromScratch’ entrypoint.
- Args:
- bundles ([str]):
Bundles to add to the index image.
- archs ([str]):
Architectures to build the index image for.
- index_image_tag (str):
Tag to be applied to the new index image.
- signing_keys (str):
Signing keys to be used.
- task_id (str):
ID of the pub task.
- target_settings (dict):
Dictionary containing settings necessary for performing the operation.