def ConstructStage(self): sync_stage = sync_stages.ManifestVersionedSyncStage(self._run) scheduled_slaves_list = { ('build_1', 'buildbucket_id_1', 1), ('build_2', 'buildbucket_id_2', 2) } self._run.attrs.metadata.ExtendKeyListWithList( constants.METADATA_SCHEDULED_IMPORTANT_SLAVES, scheduled_slaves_list) return completion_stages.MasterSlaveSyncCompletionStage( self._run, sync_stage, success=True)
def ConstructStage(self): sync_stage = sync_stages.ManifestVersionedSyncStage( self._run, self.buildstore) return completion_stages.MasterSlaveSyncCompletionStage( self._run, self.buildstore, sync_stage, success=True)
def ConstructStage(self): sync_stage = sync_stages.MasterSlaveLKGMSyncStage(self._run) return completion_stages.MasterSlaveSyncCompletionStage( self._run, sync_stage, success=True)