Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 82a1828bf6df6038a16657b6050a7632d1b6e1c8
https://github.com/openSUSE/open-build-service/commit/82a1828bf6df6038a16657...
Author: Lukas Krause
Date: 2022-03-31 (Thu, 31 Mar 2022)
Changed paths:
M src/api/app/controllers/concerns/triggerable.rb
M src/api/app/models/token/workflow.rb
M src/api/app/models/workflow/step/rebuild_package.rb
Log Message:
-----------
Make `package_find_options` an argument for triggerable concern
Since we are going to use the concern not only for tokens
but also for workflow steps from now on, we need a way to
pass the `package_find_options` from the steps.
Until now it worked out without doing so, but since we are going
to have more than one step that uses the concern we cannot simply
define it in the workflow token anymore.
Commit: aea1168aa24208701540397882f6e121c00f77be
https://github.com/openSUSE/open-build-service/commit/aea1168aa2420870154039...
Author: Lukas Krause
Date: 2022-03-31 (Thu, 31 Mar 2022)
Changed paths:
M src/api/app/models/workflow/step.rb
M src/api/app/models/workflow/step/rebuild_package.rb
Log Message:
-----------
Move `validate_project_and_package_name` to step model
We need the validation also for the trigger_services step,
therefore I moved it to the step parent class in order to
reuse it.
Commit: c1327e89af31544b58960fc6dd192b9a6735cf6f
https://github.com/openSUSE/open-build-service/commit/c1327e89af31544b58960f...
Author: Lukas Krause
Date: 2022-03-31 (Thu, 31 Mar 2022)
Changed paths:
M src/api/app/models/workflow.rb
A src/api/app/models/workflow/step/trigger_services.rb
M src/api/app/policies/token/workflow_policy.rb
Log Message:
-----------
Implement `trigger_services` step
Commit: 11e333f8ec3c27bde39598a476d26bf0c2553edb
https://github.com/openSUSE/open-build-service/commit/11e333f8ec3c27bde39598...
Author: Lukas Krause
Date: 2022-03-31 (Thu, 31 Mar 2022)
Changed paths:
M src/api/app/controllers/concerns/triggerable.rb
Log Message:
-----------
Ignore `Naming/AccessorMethodName` cop for `set_package` method
The methods included in the concern are not classical getter and
setter methods. Renaming them doesn't make much sense in this case.
Commit: fda23fa4fac26583201438a35fdebd79e74f7c7f
https://github.com/openSUSE/open-build-service/commit/fda23fa4fac26583201438...
Author: Lukas Krause
Date: 2022-03-31 (Thu, 31 Mar 2022)
Changed paths:
A src/api/spec/models/workflow/step/trigger_services_spec.rb
Log Message:
-----------
Add spec for trigger services step
Commit: a2cc52215c25d1f6f87b617092cf006624a0631b
https://github.com/openSUSE/open-build-service/commit/a2cc52215c25d1f6f87b61...
Author: Lukas Krause
Date: 2022-03-31 (Thu, 31 Mar 2022)
Changed paths:
A src/api/app/models/workflow/step/errors.rb
M src/api/app/models/workflow/step/trigger_services.rb
Log Message:
-----------
Rescue from backend error in trigger services step
The Backend::Error exception classes do not inherit from the APIError
exception class, which led to the problem that the errors are
not catched in the trigger workflow controller and the workflow runs
were not updated with the fail state.
Commit: 32aaa8d27bb2e5edb65b09e913e39ea9de23d8d1
https://github.com/openSUSE/open-build-service/commit/32aaa8d27bb2e5edb65b09...
Author: Saray Cabrera Padrón
Date: 2022-03-31 (Thu, 31 Mar 2022)
Changed paths:
M src/api/app/components/workflow_artifacts_per_step_component.rb
M src/api/app/services/workflows/artifacts_collector.rb
M src/api/spec/components/previews/workflow_artifacts_per_step_component_preview.rb
M src/api/spec/components/workflow_artifacts_per_step_component_spec.rb
M src/api/spec/factories/workflow_artifacts_per_step.rb
M src/api/spec/services/workflows/artifacts_collector_spec.rb
Log Message:
-----------
Collect artifacts for TriggerServices step
Commit: 2a3c5b4d14b9579c013036ac7da10b1739b338ee
https://github.com/openSUSE/open-build-service/commit/2a3c5b4d14b9579c013036...
Author: Lukas Krause
Date: 2022-04-01 (Fri, 01 Apr 2022)
Changed paths:
M src/api/app/components/workflow_artifacts_per_step_component.rb
M src/api/app/controllers/concerns/triggerable.rb
M src/api/app/models/token/workflow.rb
M src/api/app/models/workflow.rb
M src/api/app/models/workflow/step.rb
A src/api/app/models/workflow/step/errors.rb
M src/api/app/models/workflow/step/rebuild_package.rb
A src/api/app/models/workflow/step/trigger_services.rb
M src/api/app/policies/token/workflow_policy.rb
M src/api/app/services/workflows/artifacts_collector.rb
M src/api/spec/components/previews/workflow_artifacts_per_step_component_preview.rb
M src/api/spec/components/workflow_artifacts_per_step_component_spec.rb
M src/api/spec/factories/workflow_artifacts_per_step.rb
A src/api/spec/models/workflow/step/trigger_services_spec.rb
M src/api/spec/services/workflows/artifacts_collector_spec.rb
Log Message:
-----------
Merge pull request #12362 from krauselukas/add_trigger_service_step
Add trigger service step
Compare: https://github.com/openSUSE/open-build-service/compare/e1108410185e...2a3c5b...