Formula 1 returns to Portugal, but where did the investment come from? Also, have UGT and the Government gone from enemies to best friends?

Formula 1 returns to Portugal, but where did the investment come from? Also, have UGT and the Government gone from enemies to best friends?