CircleCI-Archived / orb-starter-kit

A starter kit for new orb authors
https://circleci.com/orbs
MIT License
27 stars 23 forks source link

Feature Request: YAML Anchors for required jobs for production #15

Closed KyleTryon closed 3 years ago

KyleTryon commented 5 years ago

Create a YAML anchor containing the names of the integration tests triggered on the master branch. This makes it easier to reference in the promotion jobs further on when we need to ensure all tests have pasts before continuing the workflow.

Following this example from the slack orb: https://github.com/CircleCI-Public/slack-orb/blob/staging/.circleci/config.yml#L79

prod-deploy_requires: &prod-deploy_requires
  [
    job,
    names,
    here
  ]

..

# patch, minor, or major publishing
      - orb-tools/dev-promote-prod:
          name: dev-promote-patch
          context: orb-publishing
          orb-name: circleci/slack
          cleanup-tags: true
          ssh-fingerprints: xxx
          requires: *prod-deploy_requires
          filters:
            branches:
              ignore: /.*/
            tags:
              only: /master-patch.*/
gmemstr commented 3 years ago

Since we're winding down use of this repository in favour of the orb init command / https://github.com/CircleCI-Public/Orb-Project-Template, opting to close this.