Merge "Apex: Detect deploy scenario for functest on gate job"