This will help reduce size of codes into smaller format in each orbs. The orbs can be created as functional structure based on job performance and help understand the code much easier. Further the enhancement will allow to name orbs based on the job specification only.
config.yml
version: 2.1orbs: build_orb: demo_namespace/only_build_orb@dev:0.0.1 deploy_orb: demo_namespace/only_deploy_orb@dev:0.0.2workflows:main: jobs: - build_orb/build_job - deploy_orb/deploy_job
only_build_orb.yml
version: 2.1executors: docker: - image: alpine:latestjobs: build_job: executor: default steps: - run: echo "This is a build job only"workflows: main: jobs: - build_job
only_deploy_orb.yml
version: 2.1executors: docker: - image: alpine:latestjobs: deploy_job: executor: default steps: - run: echo "This is a deploy job only"workflows: main: jobs: - deploy_job
CCI-I-1177