Sha256: 73b67d89eb94a568e2d4871976a7b2890d04fa6d2cd243ffbafb080e521793cd

Contents?: true

Size: 1.12 KB

Versions: 51

Compression:

Stored size: 1.12 KB

Contents

defaults: &defaults
  working_directory: /tmp

version: 2

jobs:

  build:
    machine: true
    steps:
      - checkout
      - add_ssh_keys
      
      - run: gem install handsome_fencer-circle_c_i
      - run: handsome_fencer-circle_c_i expose circleci
      - run: handsome_fencer-circle_c_i expose development
      - run: echo 'source docker/env_files/circleci.env' >> $BASH_ENV
      - run: docker-compose build
      - run: docker-compose up -d
      - run: docker-compose exec app bin/rails db:create db:migrate
      - run: docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASS
      - run:
          name: Tag app image
          command: docker tag $(docker images | grep project_app | awk '{ print $3 }') ${DOCKERHUB_ORG_NAME}/${APP_NAME}_app:$DEPLOY_TAG
      - run:
          name: Tag web image
          command: docker tag $(docker images | grep project_web | awk '{ print $3 }') ${DOCKERHUB_ORG_NAME}/${APP_NAME}_web:$DEPLOY_TAG


      - run: docker push ${DOCKERHUB_ORG_NAME}/${APP_NAME}_app:$DEPLOY_TAG
      - run: docker push ${DOCKERHUB_ORG_NAME}/${APP_NAME}_web:$DEPLOY_TAG

      - run: rake --rakefile .circleci/Rakefile

Version data entries

51 entries across 27 versions & 2 rubygems

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