[openSUSE/open-build-service] 72bf81: Add a more descriptive error
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 72bf81aa80c2e95c78c797c44a9d9bf0226986fe https://github.com/openSUSE/open-build-service/commit/72bf81aa80c2e95c78c797... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2021-05-27 (Thu, 27 May 2021) Changed paths: M src/api/app/models/token/workflow.rb Log Message: ----------- Add a more descriptive error Commit: 05fceef7be97b7c35d608f9dd66f9d54428a66bc https://github.com/openSUSE/open-build-service/commit/05fceef7be97b7c35d608f... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2021-05-27 (Thu, 27 May 2021) Changed paths: M src/api/spec/factories/tokens.rb Log Message: ----------- Assign package only on factories that are not workflow Also add scm_token to the token workflow factory. Commit: bf4acbd03125f207c512167198e5a4b1c876a5b3 https://github.com/openSUSE/open-build-service/commit/bf4acbd03125f207c51216... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2021-05-27 (Thu, 27 May 2021) Changed paths: M src/api/app/models/event_subscription.rb Log Message: ----------- Define association between EventSubscription and Package Commit: 1be3597364a9a09ca45385e47a0136863a71909b https://github.com/openSUSE/open-build-service/commit/1be3597364a9a09ca45385... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2021-05-27 (Thu, 27 May 2021) Changed paths: A src/api/spec/support/files/invalid_steps_workflows.yml M src/api/spec/support/files/workflows.yml Log Message: ----------- Adjust workflows configuration files used for specs Commit: 64b453a247b2190d1414145b110a0845a27892de https://github.com/openSUSE/open-build-service/commit/64b453a247b2190d141414... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2021-05-27 (Thu, 27 May 2021) Changed paths: A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitHub/behaves_like_successful_workflow_call/creates_a_new_Event_BuildFail_subscription.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitHub/behaves_like_successful_workflow_call/creates_a_new_Event_BuildSuccess_subscription.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitHub/behaves_like_successful_workflow_call/creates_a_new_branched_project_with_PR_suffix.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitLab/behaves_like_successful_workflow_call/creates_a_new_Event_BuildFail_subscription.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitLab/behaves_like_successful_workflow_call/creates_a_new_Event_BuildSuccess_subscription.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitLab/behaves_like_successful_workflow_call/creates_a_new_branched_project_with_PR_suffix.yml A src/api/spec/models/token/workflow_spec.rb Log Message: ----------- Add specs for Token::Workflow model Co-authored-by: Lukas Krause <lkrause@suse.de> Commit: 8c09837bde0ee3bd6fac277f762c8546919ee3da https://github.com/openSUSE/open-build-service/commit/8c09837bde0ee3bd6fac27... Author: Lukas Krause <lkrause@suse.de> Date: 2021-05-27 (Thu, 27 May 2021) Changed paths: M src/api/app/models/event_subscription.rb M src/api/app/models/token/workflow.rb A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitHub/behaves_like_successful_workflow_call/creates_a_new_Event_BuildFail_subscription.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitHub/behaves_like_successful_workflow_call/creates_a_new_Event_BuildSuccess_subscription.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitHub/behaves_like_successful_workflow_call/creates_a_new_branched_project_with_PR_suffix.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitLab/behaves_like_successful_workflow_call/creates_a_new_Event_BuildFail_subscription.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitLab/behaves_like_successful_workflow_call/creates_a_new_Event_BuildSuccess_subscription.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/when_the_SCM_is_GitLab/behaves_like_successful_workflow_call/creates_a_new_branched_project_with_PR_suffix.yml M src/api/spec/factories/tokens.rb A src/api/spec/models/token/workflow_spec.rb A src/api/spec/support/files/invalid_steps_workflows.yml M src/api/spec/support/files/workflows.yml Log Message: ----------- Merge pull request #11178 from saraycp/spec_token_workflow_model Token.:Workflow model specs Compare: https://github.com/openSUSE/open-build-service/compare/83d2f268ab88...8c0983...
participants (1)
-
Lukas Krause