[openSUSE/open-build-service] f0f87a: Drop WorkflowRun custom getters
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: f0f87af059fec16e2d9ea203fdf92e19d1ca8adb https://github.com/openSUSE/open-build-service/commit/f0f87af059fec16e2d9ea2... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-06-26 (Mon, 26 Jun 2023) Changed paths: M src/api/app/components/workflow_run_row_component.rb M src/api/app/models/workflow_run.rb M src/api/lib/tasks/dev/workflows.rake Log Message: ----------- Drop WorkflowRun custom getters We have the data in the attributes by now. Commit: 06cd51b6b2dcdbff119d0b4bf60884cc21268d84 https://github.com/openSUSE/open-build-service/commit/06cd51b6b2dcdbff119d0b... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-06-26 (Mon, 26 Jun 2023) Changed paths: A src/api/app/controllers/concerns/scm_webhook_headers_data_extractor.rb M src/api/app/controllers/trigger_workflow_controller.rb M src/api/spec/controllers/trigger_workflow_controller_spec.rb Log Message: ----------- Introduces HTTP requests extractor concerns Two controller concerns to extract data from the HTTP requests to fill `WorkflowRun` attributes. Commit: af3bbec6f3de92baddde603f11f1a4589ce74426 https://github.com/openSUSE/open-build-service/commit/af3bbec6f3de92baddde60... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2023-06-26 (Mon, 26 Jun 2023) Changed paths: M src/api/spec/factories/workflow_runs.rb A src/api/spec/support/files/request_payload_gitlab_pull_request_merged.json Log Message: ----------- Cleanup WorkflowRun Factory - there is a functioning default (:workflow_run) - with traits for various events and states - there is a SCM vendor (gitlab) specific factory that builds on top of the default Commit: 9f9929c39a2e2d34f08740995ab7a3d4e52bf642 https://github.com/openSUSE/open-build-service/commit/9f9929c39a2e2d34f08740... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2023-06-26 (Mon, 26 Jun 2023) Changed paths: M src/api/spec/lib/tasks/workflows_spec.rb M src/api/spec/models/token/workflow_spec.rb M src/api/spec/queries/workflow_runs_finder_spec.rb Log Message: ----------- Adopt specs to WorkflowRun factory changes Commit: bdcf3ec6d38f92ec5af396f09fe0354932ef0dbf https://github.com/openSUSE/open-build-service/commit/bdcf3ec6d38f92ec5af396... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2023-06-26 (Mon, 26 Jun 2023) Changed paths: M src/api/app/components/workflow_run_row_component.rb A src/api/app/controllers/concerns/scm_webhook_headers_data_extractor.rb M src/api/app/controllers/trigger_workflow_controller.rb M src/api/app/models/workflow_run.rb M src/api/lib/tasks/dev/workflows.rake M src/api/spec/controllers/trigger_workflow_controller_spec.rb M src/api/spec/factories/workflow_runs.rb M src/api/spec/lib/tasks/workflows_spec.rb M src/api/spec/models/token/workflow_spec.rb M src/api/spec/queries/workflow_runs_finder_spec.rb A src/api/spec/support/files/request_payload_gitlab_pull_request_merged.json Log Message: ----------- Merge pull request #14527 from saraycp/expand_workflow_run_with_payload_info Expand workflow run with payload info Compare: https://github.com/openSUSE/open-build-service/compare/4b4cf5ad69f3...bdcf3e...
participants (1)
-
Henne Vogelsang