Sha256: 0a689f64506778de4b21c52b68ed26d6bc1dbe28e539e1abf75d90deff9cf715

Contents?: true

Size: 1.53 KB

Versions: 72

Compression:

Stored size: 1.53 KB

Contents

defaults: &defaults
  working_directory: /tmp

version: 2

jobs:

  build:
    machine: true
    steps:
      - checkout
      - run: gem install handsome_fencer-circle_c_i
      - run: ruby .circleci/expose_env.rb
      - run: docker-compose build dev_app database
      - run: docker-compose run dev_app bin/rails db:create db:migrate test

  push:
    docker:
      - image: circleci/ruby:2.5.1-node-browsers
        environment:
          BASH_ENV: .env/circle/deploy.env
    steps:
      - checkout
      - setup_remote_docker
      - run: gem install handsomefencer-environment
      - run: ruby expose_env.rb
      - run: docker-compose up -d --build
      - run:
          name: Tag web image
          command: docker tag $(docker images | grep project_web | awk '{ print $3 }') rennmappe/bacchanal_web:$DEPLOY_TAG
      - run: docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASS
      - run: docker push rennmappe/bacchanal_web:$DEPLOY_TAG

  deploy:
    docker:
      - image: circleci/ruby:2.5.1-node-browsers
        environment:
          BASH_ENV: .env/circle/deploy.env
    steps:
      - checkout
      - add_ssh_keys
      - run: bundle install --without production
      - run: ruby expose_env.rb
      - run: bin/rails docker:deploy

workflows:
  version: 2
  build-and-deploy:
    jobs:
      - build
      - push:
          requires:
            - build
          filters:
            branches:
              only: master
      - deploy:
          requires:
            - push
          filters:
            branches:
              only: master

Version data entries

72 entries across 41 versions & 2 rubygems

Version Path
roro-0.3.2 test_apps/dummy_roro/.circleci/config.yml.workflow-example
roro-0.3.2 lib/roro/cli/templates/circleci/config.yml.workflow-example
roro-0.3.1 test_apps/dummy_roro/.circleci/config.yml.workflow-example
roro-0.3.1 lib/roro/cli/templates/circleci/config.yml.workflow-example
roro-0.3.0 lib/roro/cli/templates/circleci/config.yml.workflow-example
roro-0.3.0 test_apps/dummy_roro/.circleci/config.yml.workflow-example
roro-0.2.5 lib/roro/cli/templates/circleci/config.yml.workflow-example
roro-0.2.5 test_apps/dummy_roro/.circleci/config.yml.workflow-example
roro-0.2.4 lib/roro/cli/templates/circleci/config.yml.workflow-example
roro-0.2.4 test_apps/dummy_roro/.circleci/config.yml.workflow-example
roro-0.2.2 lib/roro/cli/templates/circleci/config.yml.workflow-example
roro-0.2.2 test_apps/dummy_roro/.circleci/config.yml.workflow-example
roro-0.2.1 test_apps/dummy_roro/.circleci/config.yml.workflow-example
roro-0.2.1 lib/roro/cli/templates/circleci/config.yml.workflow-example
roro-0.1.8 test_apps/dummy_roro/.circleci/config.yml.workflow-example
roro-0.1.8 lib/roro/cli/templates/circleci/config.yml.workflow-example
roro-0.1.6 lib/roro/cli/templates/circleci/config.yml.workflow-example
roro-0.1.6 test_apps/dummy_roro/.circleci/config.yml.workflow-example
roro-0.1.5 lib/roro/cli/templates/circleci/config.yml.workflow-example
roro-0.1.5 test_apps/dummy_roro/.circleci/config.yml.workflow-example