Sergio Perez will remain with Cadillac until 2029 after signing a multi-year contract extension.