Add gitlab mode support