Esempio n. 1
0
    def start(self) -> None:
        super().start()
        if not self.inline:
            self.validate_branches()

        c = Config()
        c.edit_branch = self.edit_branch
        c.DsPipeline.steps = self.pipeline_steps
        c.BaseController.branches = self.branches
        self.config.merge(c)
        pipeline = DsPipeline(config=self.config)
        pipeline.start()
Esempio n. 2
0
    def start(self) -> None:
        """
        Activates the application.

        * Adds the name of the edit branch to the application configuration object.
        * Configures the DsPipeline object
        * Adds the branches to the controller objects
        * Initializes a DsPipeline
        * Activates thee pipeline
        """
        super().start()

        c = Config()
        c.edit_branch = self.edit_branch
        c.DsPipeline.steps = self.pipeline_steps
        c.BaseController.branches = self.branches
        self.config.merge(c)
        pipeline = DsPipeline(config=self.config)
        pipeline.start()