Joe DePinto, who was CEO for two decades and orchestrated its expansion through the acquisition of Speedway and Sunoco gasoline stations, will retire at the end of this month.