Allow multiple workflows for parent `config.yml` having `setup: true`
Mayank Shukla
I'm planning to implement dynamic configuration using orbs: continuation: circleci/continuation@0.1.2. My config.yml file has different jobs and each job runs on specific condition. There are 2 jobs that run on same day as per the build scheduled.
The problem here is that if
config.yml
file has line setup: true, then I cannot define any other workflow. I need more than 1 workflow because of the multiple jobs that I need to run conditionally.Steps to Reproduce:
- Create multiple child .yml files say screenshot_test.yml, production_test.yml, stage_test.yml, dev_test.yml
- Create parent config.yml file having setup: true
- Now, I want to run production_test.yml and stage_test.yml only on master and stage branch respectively.
- I want to run screenshot_test.yml and dev_test.yml on any branch other than master and stage branch
- I also want to schedule production_test.yml and stage_test.yml to run on a weekly basis.
Problem: I can only have one workflow in parent config.yml file as it has setup: true.
Expected: It should allow to have more than one workflow in parent config.yml file so that I can run
- production_test.ymlandstage_test.ymlon every commit to master and stage branch.
- production_test.ymlandstage_test.ymlas per the build scheduled i.e. weekly