def build_agent_image_ubuntu(config: DevConfig) -> None: image_name = "agent-ubuntu" args = _build_agent_args(config) config.ensure_tag_is_run("ubuntu") sonar_build_image( image_name, config, args=args, )
def build_version_post_start_hook_image(config: DevConfig) -> None: release = _load_release() config.ensure_tag_is_run("post-start-hook") sonar_build_image( "version-post-start-hook-init", config, args={ "registry": config.repo_url, "release_version": release["version-upgrade-hook"], }, )
def build_readiness_probe_image(config: DevConfig) -> None: release = _load_release() config.ensure_tag_is_run("readiness-probe") sonar_build_image( "readiness-probe-init", config, args={ "registry": config.repo_url, "release_version": release["readiness-probe"], }, )
def build_operator_ubi_image(config: DevConfig) -> None: config.ensure_tag_is_run("ubi") sonar_build_image( "operator-ubi", config, args={ "registry": config.repo_url, "builder": "true", "builder_image": f"golang:{GOLANG_TAG}", "base_image": "registry.access.redhat.com/ubi8/ubi-minimal:latest", }, inventory="inventories/operator-inventory.yaml", )