Sha256: a43ea2612c5284016dfaf96df3db5708eaaa2c137377702844aba0a22c61edf8

Contents?: true

Size: 1.77 KB

Versions: 4

Compression:

Stored size: 1.77 KB

Contents

version: 2
jobs:
  build:
    docker: &docker
      - image: ruby:2.4.1-alpine
    working_directory: /work
    branches:
      only:
        - master
    steps:
      - run: &setup_requirements
          name: Install System Dependencies
          command: |
            # See also https://circleci.com/docs/2.0/custom-images/#adding-required-and-custom-tools-or-files
            apk add --update --no-cache git openssh-client tar gzip ca-certificates \
              tzdata
            gem install -N bundler
      - run: &set_timezone
          name: Set timezone to Asia/Tokyo
          command: cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
      - checkout
      - restore_cache: &restore_gems_cache
          name: Restore bundler cache
          keys:
            - gems-{{ .Environment.COMMON_CACHE_KEY }}-{{ checksum "Gemfile.lock" }}
            - gems-{{ .Environment.COMMON_CACHE_KEY }}-
      - run:
          name: Install Ruby Dependencies
          command: |
            bundle check || bundle install --jobs=4 --retry=3
            bundle clean
      - save_cache: &save_gems_cache
          name: Save bundler cache
          key: gems-{{ .Environment.COMMON_CACHE_KEY }}-{{ checksum "Gemfile.lock" }}
          paths:
            - /usr/local/bundle
  continuous_bundle_update:
    docker: *docker
    working_directory: /work
    branches:
      only:
        - master
    steps:
      - run: *setup_requirements
      - run: *set_timezone
      - checkout
      - restore_cache: *restore_gems_cache
      - run:
          name: Setup requirements for continuous bundle update
          command: gem install -N circleci-bundle-update-pr
      - deploy:
          name: Continuous bundle update
          command: circleci-bundle-update-pr CircleCI circleci@example.com $CIRCLE_BRANCH

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
circleci-bundle-update-pr-1.8.0 .circleci/config.yml
circleci-bundle-update-pr-1.7.1 .circleci/config.yml
circleci-bundle-update-pr-1.7.0 .circleci/config.yml
circleci-bundle-update-pr-1.6.2 .circleci/config.yml