[openSUSE/open-build-service] ced9c2: Support target_project key for branch and link pac...

Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: ced9c2a93861392758ed07460d8b66cb9c12dd4e https://github.com/openSUSE/open-build-service/commit/ced9c2a93861392758ed07... Author: Lukas Krause <lkrause@suse.de> Date: 2021-09-23 (Thu, 23 Sep 2021) Changed paths: M src/api/app/models/workflow/step.rb M src/api/app/models/workflow/step/branch_package_step.rb M src/api/app/models/workflow/step/link_package_step.rb Log Message: ----------- Support target_project key for branch and link package step Commit: 316f132acfeb155cbe3d3980842c01ee23350e51 https://github.com/openSUSE/open-build-service/commit/316f132acfeb155cbe3d39... Author: Lukas Krause <lkrause@suse.de> Date: 2021-09-23 (Thu, 23 Sep 2021) Changed paths: M src/api/spec/models/token/workflow_spec.rb M src/api/spec/models/workflow/step/branch_package_step_spec.rb M src/api/spec/models/workflow/step/link_package_step_spec.rb M src/api/spec/models/workflow_spec.rb M src/api/spec/support/files/multiple_workflows.yml M src/api/spec/support/files/workflows.yml M src/api/spec/validators/workflow_steps_validator_spec.rb Log Message: ----------- Adapt specs to take the target_project key into account From now on it is mandatory to specify the target project for the workflow steps. This needs to be adapted in the corresponding specs. Commit: 53ea914928a2099d1eceac6369fe262ff34deaed https://github.com/openSUSE/open-build-service/commit/53ea914928a2099d1eceac... Author: Lukas Krause <lkrause@suse.de> Date: 2021-09-23 (Thu, 23 Sep 2021) Changed paths: M src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/raises_a_user-friendly_error_message.yml M 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 M 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 M 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 M 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 M 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 M 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/cassettes/Token_Workflow/_call/when_the_webhook_s_action_is_not_the_expected_one/when_the_SCM_is_GitHub/behaves_like_not-allowed_event_or_action/does_not_create_a_new_branched_project_with_PR_suffix.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_action_is_not_the_expected_one/when_the_SCM_is_GitHub/behaves_like_not-allowed_event_or_action/returns_nothing.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_action_is_not_the_expected_one/when_the_SCM_is_GitLab/behaves_like_not-allowed_event_or_action/does_not_create_a_new_branched_project_with_PR_suffix.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_action_is_not_the_expected_one/when_the_SCM_is_GitLab/behaves_like_not-allowed_event_or_action/returns_nothing.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_event_is_not_the_expected_one/when_the_SCM_is_GitHub/behaves_like_not-allowed_event_or_action/does_not_create_a_new_branched_project_with_PR_suffix.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_event_is_not_the_expected_one/when_the_SCM_is_GitHub/behaves_like_not-allowed_event_or_action/returns_nothing.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_event_is_not_the_expected_one/when_the_SCM_is_GitLab/behaves_like_not-allowed_event_or_action/does_not_create_a_new_branched_project_with_PR_suffix.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_event_is_not_the_expected_one/when_the_SCM_is_GitLab/behaves_like_not-allowed_event_or_action/returns_nothing.yml A src/api/spec/cassettes/Token_Workflow/_call/when_the_workflows_yml_do_not_exist_on_the_reference_branch/raises_a_user-friendly_error_message.yml R src/api/spec/cassettes/Token_Workflow/_call/when_the_workflows_yml_do_not_exist_on_the_reference_branch/raises_an_Invalid_workflow_step_definition_error.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/but_we_don_t_provide_a_source_package/behaves_like_source_package_not_provided/1_1_1_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/but_we_don_t_provide_source_project/behaves_like_source_project_not_provided/1_1_1_1_1_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_when_project_name_is_invalid/1_1_1_3_3_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_when_source_package_does_not_exist/1_1_1_3_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_without_branch_permissions/1_1_1_3_3_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_without_branch_permissions/1_1_1_3_4_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_3.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_4.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_5.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_6.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/only_reports_for_repositories_and_architectures_matching_the_filters.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_1_4_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_1_4_1_1_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_1_4_1_1_4.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_1_4_1_1_5.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_1_4_1_1_6.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/updates__branch_request_file_including_new_commit_sha.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_did_not_exist/behaves_like_non-existent_branched_package/1_1_1_4_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_did_not_exist/behaves_like_non-existent_branched_package/1_1_1_4_2_1_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/but_we_don_t_provide_a_source_package/behaves_like_source_package_not_provided/1_1_2_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/but_we_don_t_provide_source_project/behaves_like_source_project_not_provided/1_1_2_1_1_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_when_project_name_is_invalid/1_1_2_3_3_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_when_source_package_does_not_exist/1_1_2_3_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_without_branch_permissions/1_1_2_3_3_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_without_branch_permissions/1_1_2_3_4_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_3.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_4.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_5.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_6.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/only_reports_for_repositories_and_architectures_matching_the_filters.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_2_4_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_2_4_1_1_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_2_4_1_1_4.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_2_4_1_1_5.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_2_4_1_1_6.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/updates__branch_request_file_including_new_commit_sha.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_did_not_exist/behaves_like_non-existent_branched_package/1_1_2_4_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_did_not_exist/behaves_like_non-existent_branched_package/1_1_2_4_2_1_2.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/but_we_don_t_provide_a_source_package/behaves_like_source_package_not_provided/1_1_1_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/but_we_don_t_provide_source_project/behaves_like_source_project_not_provided/1_1_1_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_when_source_package_does_not_exist/1_1_1_3_2_1.yml R src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_without_link_permissions/1_1_1_3_4_1.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_without_link_permissions/1_1_1_3_5_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_project_and_package_does_not_exist/1_1_1_3_3_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_10.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_11.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_2.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_3.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_4.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_5.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_6.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_7.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_8.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_9.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_target_package_already_exists/1_1_1_3_4_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_2.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_3.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_4.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_6.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_7.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_8.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/updates__branch_request_file_including_new_commit_sha.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_did_not_exist/behaves_like_non-existent_linked_package/1_1_1_4_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_did_not_exist/behaves_like_non-existent_linked_package/1_1_1_4_2_1_2.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/but_we_don_t_provide_a_source_package/behaves_like_source_package_not_provided/1_1_2_2_1_1.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/but_we_don_t_provide_source_project/behaves_like_source_project_not_provided/1_1_2_1_1_1.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_when_source_package_does_not_exist/1_1_2_3_2_1.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_without_link_permissions/1_1_2_3_5_1.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_project_and_package_does_not_exist/1_1_2_3_3_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_10.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_11.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_2.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_3.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_4.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_5.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_6.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_7.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_8.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_9.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_target_package_already_exists/1_1_2_3_4_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_2.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_3.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_4.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_6.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_7.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_8.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/updates__branch_request_file_including_new_commit_sha.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_did_not_exist/behaves_like_non-existent_linked_package/1_1_2_4_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_did_not_exist/behaves_like_non-existent_linked_package/1_1_2_4_2_1_2.yml Log Message: ----------- Refresh vcr cassettes after updating workflow specs Co-authored-by: Daniel Donisa <daniel.donisa@suse.com> Commit: 625b3b09086d63c933d61369f61048210d338229 https://github.com/openSUSE/open-build-service/commit/625b3b09086d63c933d613... Author: Lukas Krause <lkrause@suse.de> Date: 2021-09-23 (Thu, 23 Sep 2021) Changed paths: M src/api/.rubocop_todo.yml Log Message: ----------- Refresh rubocop todos Refresh after: app/models/workflow/step.rb -> Metrics/ClassLength: Class has too many lines. [105/100] Commit: c7e83a82d7213ea5b9fd616fc1de743d1afe9256 https://github.com/openSUSE/open-build-service/commit/c7e83a82d7213ea5b9fd61... Author: Lukas Krause <lkrause@suse.de> Date: 2021-09-23 (Thu, 23 Sep 2021) Changed paths: A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_fails_with_insufficient_write_permission_on_target_project/1_1_1_3_1_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_fails_with_insufficient_write_permission_on_target_project/1_1_1_3_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_fails_with_insufficient_write_permission_on_target_project/1_1_1_3_4_2.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_fails_with_insufficient_write_permission_on_target_project/1_1_2_3_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_fails_with_insufficient_write_permission_on_target_project/1_1_2_3_4_2.yml M src/api/spec/models/workflow/step/branch_package_step_spec.rb Log Message: ----------- Add spec to check permission on target project for branch package step Commit: 4e8193d088891d874bc151ff56ace2c91111e702 https://github.com/openSUSE/open-build-service/commit/4e8193d088891d874bc151... Author: Lukas Krause <lkrause@suse.de> Date: 2021-09-23 (Thu, 23 Sep 2021) Changed paths: M src/api/app/models/workflow/step/link_package_step.rb M src/api/spec/models/workflow/step/link_package_step_spec.rb Log Message: ----------- Check permissions on target project in link package step Commit: 7054e6a869179871040af8a182fb23701d0e9561 https://github.com/openSUSE/open-build-service/commit/7054e6a869179871040af8... Author: Dani Donisa <dani.doni@gmail.com> Date: 2021-09-23 (Thu, 23 Sep 2021) Changed paths: R src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/raises_a_user-friendly_error_message.yml R 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 R 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 R 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 R 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 R 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 R 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 R src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_action_is_not_the_expected_one/when_the_SCM_is_GitHub/behaves_like_not-allowed_event_or_action/does_not_create_a_new_branched_project_with_PR_suffix.yml R src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_action_is_not_the_expected_one/when_the_SCM_is_GitHub/behaves_like_not-allowed_event_or_action/returns_nothing.yml R src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_action_is_not_the_expected_one/when_the_SCM_is_GitLab/behaves_like_not-allowed_event_or_action/does_not_create_a_new_branched_project_with_PR_suffix.yml R src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_action_is_not_the_expected_one/when_the_SCM_is_GitLab/behaves_like_not-allowed_event_or_action/returns_nothing.yml R src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_event_is_not_the_expected_one/when_the_SCM_is_GitHub/behaves_like_not-allowed_event_or_action/does_not_create_a_new_branched_project_with_PR_suffix.yml R src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_event_is_not_the_expected_one/when_the_SCM_is_GitHub/behaves_like_not-allowed_event_or_action/returns_nothing.yml R src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_event_is_not_the_expected_one/when_the_SCM_is_GitLab/behaves_like_not-allowed_event_or_action/does_not_create_a_new_branched_project_with_PR_suffix.yml R src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_s_event_is_not_the_expected_one/when_the_SCM_is_GitLab/behaves_like_not-allowed_event_or_action/returns_nothing.yml R src/api/spec/cassettes/Token_Workflow/_call/when_the_workflows_yml_do_not_exist_on_the_reference_branch/raises_a_user-friendly_error_message.yml M src/api/spec/models/token/workflow_spec.rb Log Message: ----------- Use stubs to avoid testing Workflow Steps We were indirectly testing the branch package step in the token workflow specs. We only need to ensure the workflow gets called and ignore the workflow implementation as it is already tested elsewhere. Commit: dcefc2d10785b15bc350e4e06f381a3dd2136061 https://github.com/openSUSE/open-build-service/commit/dcefc2d10785b15bc350e4... Author: Lukas Krause <lkrause@suse.de> Date: 2021-09-24 (Fri, 24 Sep 2021) Changed paths: M src/api/.rubocop_todo.yml M src/api/app/models/workflow/step.rb M src/api/app/models/workflow/step/branch_package_step.rb M src/api/app/models/workflow/step/link_package_step.rb R src/api/spec/cassettes/Token_Workflow/_call/when_the_webhook_and_configuration_is_correct/raises_a_user-friendly_error_message.yml R 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 R 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 R 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 R 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 R 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 R 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 R src/api/spec/cassettes/Token_Workflow/_call/when_the_workflows_yml_do_not_exist_on_the_reference_branch/raises_an_Invalid_workflow_step_definition_error.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/but_we_don_t_provide_a_source_package/behaves_like_source_package_not_provided/1_1_1_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/but_we_don_t_provide_source_project/behaves_like_source_project_not_provided/1_1_1_1_1_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_when_project_name_is_invalid/1_1_1_3_3_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_when_source_package_does_not_exist/1_1_1_3_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_without_branch_permissions/1_1_1_3_3_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_without_branch_permissions/1_1_1_3_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_fails_with_insufficient_write_permission_on_target_project/1_1_1_3_1_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_fails_with_insufficient_write_permission_on_target_project/1_1_1_3_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_fails_with_insufficient_write_permission_on_target_project/1_1_1_3_4_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_3.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_4.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_5.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_6.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/only_reports_for_repositories_and_architectures_matching_the_filters.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_1_4_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_1_4_1_1_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_1_4_1_1_4.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_1_4_1_1_5.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_1_4_1_1_6.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/updates__branch_request_file_including_new_commit_sha.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_did_not_exist/behaves_like_non-existent_branched_package/1_1_1_4_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_branched_package_did_not_exist/behaves_like_non-existent_branched_package/1_1_1_4_2_1_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/but_we_don_t_provide_a_source_package/behaves_like_source_package_not_provided/1_1_2_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/but_we_don_t_provide_source_project/behaves_like_source_project_not_provided/1_1_2_1_1_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_when_project_name_is_invalid/1_1_2_3_3_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_when_source_package_does_not_exist/1_1_2_3_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_without_branch_permissions/1_1_2_3_3_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_without_branch_permissions/1_1_2_3_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_fails_with_insufficient_write_permission_on_target_project/1_1_2_3_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_fails_with_insufficient_write_permission_on_target_project/1_1_2_3_4_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_3.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_4.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_5.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_6.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/only_reports_for_repositories_and_architectures_matching_the_filters.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_2_4_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_2_4_1_1_2.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_2_4_1_1_4.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_2_4_1_1_5.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/1_1_2_4_1_1_6.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_already_existed/behaves_like_successful_update_event_when_the_branch_package_already_exists/updates__branch_request_file_including_new_commit_sha.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_did_not_exist/behaves_like_non-existent_branched_package/1_1_2_4_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_branched_package_did_not_exist/behaves_like_non-existent_branched_package/1_1_2_4_2_1_2.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/but_we_don_t_provide_a_source_package/behaves_like_source_package_not_provided/1_1_1_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/but_we_don_t_provide_source_project/behaves_like_source_project_not_provided/1_1_1_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_when_source_package_does_not_exist/1_1_1_3_2_1.yml R src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_without_link_permissions/1_1_1_3_4_1.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_failed_without_link_permissions/1_1_1_3_5_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_project_and_package_does_not_exist/1_1_1_3_3_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_10.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_11.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_2.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_3.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_4.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_5.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_6.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_7.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_8.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_successful_new_PR_or_MR_event/1_1_1_3_1_9.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_a_new_PR_event/behaves_like_target_package_already_exists/1_1_1_3_4_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_2.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_3.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_4.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_6.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_7.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_1_4_1_1_8.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/updates__branch_request_file_including_new_commit_sha.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_did_not_exist/behaves_like_non-existent_linked_package/1_1_1_4_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitHub/for_an_updated_PR_event/when_the_linked_package_did_not_exist/behaves_like_non-existent_linked_package/1_1_1_4_2_1_2.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/but_we_don_t_provide_a_source_package/behaves_like_source_package_not_provided/1_1_2_2_1_1.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/but_we_don_t_provide_source_project/behaves_like_source_project_not_provided/1_1_2_1_1_1.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_when_source_package_does_not_exist/1_1_2_3_2_1.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_failed_without_link_permissions/1_1_2_3_5_1.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_project_and_package_does_not_exist/1_1_2_3_3_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_10.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_11.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_2.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_3.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_4.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_5.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_6.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_7.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_8.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_successful_new_PR_or_MR_event/1_1_2_3_1_9.yml A src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_a_new_MR_event/behaves_like_target_package_already_exists/1_1_2_3_4_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_2.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_3.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_4.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_6.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_7.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/1_1_2_4_1_1_8.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_already_existed/behaves_like_successful_update_event_when_the_linked_package_already_exists/updates__branch_request_file_including_new_commit_sha.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_did_not_exist/behaves_like_non-existent_linked_package/1_1_2_4_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_LinkPackageStep/_call/when_the_SCM_is_GitLab/for_an_updated_MR_event/when_the_linked_package_did_not_exist/behaves_like_non-existent_linked_package/1_1_2_4_2_1_2.yml M src/api/spec/models/token/workflow_spec.rb M src/api/spec/models/workflow/step/branch_package_step_spec.rb M src/api/spec/models/workflow/step/link_package_step_spec.rb M src/api/spec/models/workflow_spec.rb M src/api/spec/support/files/multiple_workflows.yml M src/api/spec/support/files/workflows.yml M src/api/spec/validators/workflow_steps_validator_spec.rb Log Message: ----------- Merge pull request #11645 from krauselukas/workflows/support_target_project Support target_project key for branch and link package step Compare: https://github.com/openSUSE/open-build-service/compare/5d0ce41c97fe...dcefc2...
participants (1)
-
Lukas Krause