Submit Your Ideas

We want to hear from you - vote for the features and improvements you'd most like to see, or submit your own ideas if you don't find them already listed.

Expiry token for type: approval jobs

Example:

 - approve_release:
          type: approval
          requires:
            - checkout_and_build
          filters:
            branches:
              only: /master/
          expiry: 24h

 

Reasoning:

Jobs with type: approval require manual confirm/cancel, and as such are a good control method for jobs that don't need to be run every build, or builds that require review before completion (e.g. releases).

One use we have for these job types is to build docker images from successful builds on the fly. We don't need docker images for every build, and there are many builds in a day, so the approval jobs pile up.

We don't need any builds older than 24hrs, so a suggestion to prevent a build up of on hold jobs (not sure what impact this has on a CircleCI cloud/personal server) is to introduce an expiry token as part of the workflow description.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jan 26 2018
  • Future consideration
  • Attach files