Using CircleCI Serial Groups Instead of the Queue Orb

Overview

The eddiewebb/queue orb is now deprecated. CircleCI's built-in serial groups feature provides the same functionality with better performance and native support.

What are Serial Groups?

Serial groups prevent multiple jobs from running simultaneously by queueing them. Only one job in a serial group runs at a time per project.

Migration Steps

Before (Queue Orb)

orbs:
  queue: eddiewebb/queue@1.0.0

jobs:
  deploy:
    steps:
      - queue/until_front_of_line:
          time: '10'

After (Serial Groups)

workflows:
  version: 2
  build-and-deploy:
    jobs:
      - deploy:
          serial_group: deployment

Key Differences

  • No orb import needed - serial groups are a native CircleCI feature
  • Workflow-level configuration - add serial_group to your job definition in the workflow
  • Simpler syntax - no additional steps required in your job

Benefits

  • Faster queue processing
  • Better integration with CircleCI's infrastructure
  • No dependency on third-party orbs
  • Automatic cancellation of outdated queued jobs

Additional Resources

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.