[openSUSE/open-build-service] f5b783: Execute the workflow's steps
Branch: refs/heads/workflow_token Home: https://github.com/openSUSE/open-build-service Commit: f5b783a24b527e549eb0f59022809ac462d86e7d https://github.com/openSUSE/open-build-service/commit/f5b783a24b527e549eb0f5... Author: Dani Donisa <dani.doni@gmail.com> Date: 2021-05-05 (Wed, 05 May 2021) Changed paths: M src/api/app/models/token/workflow.rb M src/api/app/models/workflow.rb M src/api/app/models/workflow/step/branch_package_step.rb M src/api/app/services/workflows/yaml_to_workflows_service.rb Log Message: ----------- Execute the workflow's steps After downloading the workflow's configuration file we execute the workflow's steps against the configured project and package. Then, validate the steps inside the Step model. Depending on each kind of step, we know which kind of event and actions we expect from the webhooks and what actions we want to perform or ignore (i.e. branch a packae in OBS, just rebuild the package, etc.) That's why we moved the checks about webhook events and actions to the Step class. Co-authored-by: Eduardo Navarro <enavarro@suse.com> Commit: 55fac356515f7de65c154c12130f82a39b4fdbe4 https://github.com/openSUSE/open-build-service/commit/55fac356515f7de65c154c... Author: Lukas Krause <lkrause@suse.de> Date: 2021-05-05 (Wed, 05 May 2021) Changed paths: M src/api/app/models/token/workflow.rb M src/api/app/models/workflow.rb M src/api/app/models/workflow/step/branch_package_step.rb M src/api/app/services/workflows/yaml_to_workflows_service.rb Log Message: ----------- Merge pull request #11082 from danidoni/execute-the-workflows-steps-after-downloading-the-workflows-configuration-file Execute the workflow's steps Compare: https://github.com/openSUSE/open-build-service/compare/c8443152dafa...55fac3...
participants (1)
-
Lukas Krause