Que services can I use to execute specific workflow?
Juan Esteban Murillo
I'm using this but when I consume this service "https://circleci.com/api/v2/project/{project-slug}/pipeline" it execute two workflows at time
What parameter can I use to select specific workflow?
#------------------------------------------ JOB EXECUTION API ------------------------------------------------------#
report-test-vpn:
jobs:
- build_and_test_vpn:
platform: << pipeline.parameters.platform_workflow >>
context: << pipeline.parameters.context_workflow >>
execution-tags: << pipeline.parameters.tags_external_workflow_only_execution >>
notification-information: << pipeline.parameters.text_notification_slack_external_workflow >>
slackChannel1: << pipeline.parameters.channel_1_slack_external_workflow >>
slackChannel2: << pipeline.parameters.channel_2_slack_external_workflow >>
filters:
branches:
only: << pipeline.parameters.branch_execution >>
#------------------------------------------ JOB EXECUTION API sin VPN------------------------------------------------------#
report-not-vpn:
jobs:
- job_only_one_execution:
environment: << pipeline.parameters.environment_external_workflow >>
platform: << pipeline.parameters.platform_workflow >>
tags: << pipeline.parameters.tags_external_workflow_only_execution >>
context: << pipeline.parameters.context_external_workflow >>
filters:
branches:
only: << pipeline.parameters.branch_execution >>
- send_notification_slack_only_execution:
environment: << pipeline.parameters.environment_external_workflow >>
platform: << pipeline.parameters.platform_external_workflow >>
notification-information: << pipeline.parameters.text_notification_slack_external_workflow >>
slackChannel1: << pipeline.parameters.channel_1_slack_external_workflow >>
slackChannel2: << pipeline.parameters.channel_2_slack_external_workflow >>