saorio / circleci_codenize_tools

Docker image with codenize.tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About this repository

For running codenize.tools on circleCI

Docker Repository on Quay

How to Use for CircleCI

version: 2
jobs:
  build:
    docker:
      - image: saorio/circleci_codenize_tools:latest
    working_directory: ~/<your-repository-name>
    environment:
      AWS_REGION: us-east-1
    steps:
      - checkout
      - run:
          name: miam dry-run
          command: |
            miam --dry-run --apply -f IAMfile --region ${AWS_REGION} --no-color --no-progress
      - deploy:
          name: miam deploy
          command: |
            if [ "${CIRCLE_BRANCH}" == "master" ]; then
              miam --apply -f IAMfile --region ${AWS_REGION} --no-color --no-progress
            fi

Notice

CircleCI requires AWS permissions.

About

Docker image with codenize.tools


Languages

Language:Ruby 94.9%Language:Dockerfile 5.1%