Sha256: 5a55c1717de3d81486e376f274daf479e35791c2bd8ce7eb877a9906d0fa1f0c

Contents?: true

Size: 1.26 KB

Versions: 3

Compression:

Stored size: 1.26 KB

Contents

version: 2.1
jobs:
  test:
    working_directory: ~/confidante
    docker:
    - image: ruby:2.6.0
    steps:
    - checkout
    - run: ./scripts/ci/steps/test.sh
  prerelease:
    working_directory: ~/confidante
    docker:
    - image: ruby:2.6.0
    steps:
    - checkout
    - run: ./scripts/ci/common/install-git-crypt.sh
    - run: ./scripts/ci/common/install-gpg-key.sh
    - run: ./scripts/ci/common/configure-git.sh
    - run: ./scripts/ci/common/configure-rubygems.sh
    - run: ./scripts/ci/steps/prerelease.sh
  release:
    working_directory: ~/confidante
    docker:
    - image: ruby:2.6.0
    steps:
    - checkout
    - run: ./scripts/ci/common/install-git-crypt.sh
    - run: ./scripts/ci/common/install-gpg-key.sh
    - run: ./scripts/ci/common/configure-git.sh
    - run: ./scripts/ci/common/configure-rubygems.sh
    - run: ./scripts/ci/steps/release.sh

workflows:
  version: 2
  pipeline:
    jobs:
    - test
    - prerelease:
        requires:
        - test
        filters:
          branches:
            only: master
    - hold:
        type: approval
        requires:
        - prerelease
        filters:
          branches:
            only: master
    - release:
        requires:
        - hold
        filters:
          branches:
            only: master

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
confidante-0.22.0.pre.1 .circleci/config.yml
confidante-0.21.0 .circleci/config.yml
confidante-0.20.0.pre.1 .circleci/config.yml