GithubHelp home page GithubHelp logo

isabella232 / aws-ecs-orb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from circleci-public/aws-ecs-orb

0.0 0.0 0.0 353 KB

An orb that simplifies deployment to Amazon's Elastic Container Service (ECS). Supports both EC2 and Fargate launch types.

Home Page: https://circleci.com/orbs/registry/orb/circleci/aws-ecs

License: MIT License

Shell 0.10% Python 37.90% HCL 15.62% Dockerfile 0.07% Go 0.31% JavaScript 0.62% Handlebars 45.39%

aws-ecs-orb's Introduction

AWS ECS Orb CircleCI status CircleCI Orb Version GitHub license CircleCI Community

A CircleCI Orb to simplify deployments to Amazon Elastic Container Service (ECS). It supports EC2 and Fargate launch type deployments.

CircleCI orbs registry page: https://circleci.com/orbs/registry/orb/circleci/aws-ecs

Features

This orb allows convenient updating of ECS services when only the Docker image name/tag and/or environment variables in a service's container definitions need to be updated. A sample project that demonstrates using the orb is available on this GitHub repository branch: https://github.com/CircleCI-Public/circleci-demo-aws-ecs-ecr

Usage

See the orb registry listing for usage guidelines.

Requirements

  • python should be available in PATH. Supported versions are Python 2 version 2.7.1 and above and Python 3 version 3.4.9 and above.
  • The aws CLI should be available in PATH. Otherwise, pip is required to be available as the job will then attempt to install aws via pip. The default profile of aws will be used.
  • bash to be present in /bin/bash. Otherwise, /bin/sh will be used, but the orb has not been tested for compatibility with other shells.

Example

version: 2.1

orbs:
  aws-cli: circleci/[email protected]
  aws-ecs: circleci/[email protected]

jobs:
  update-tag:
    docker:
      - image: circleci/python:3.7.1
    steps:
      - aws-cli/install
      - aws-cli/configure:
          aws-access-key-id: "$AWS_ACCESS_KEY_ID"
          aws-region: "$AWS_REGION"
      - aws-ecs/update-service:
          family: "${MY_APP_PREFIX}-service"
          cluster-name: "${MY_APP_PREFIX}-cluster"
          container-image-name-updates: "container=${MY_APP_PREFIX}-service,tag=stable"
workflows:
  deploy:
    jobs:
      - update-tag

Contributing

We welcome issues to and pull requests against this repository!

For further questions/comments about this or other orbs, visit CircleCI's orbs discussion forum.

aws-ecs-orb's People

Contributors

a10waveracer avatar alekhrycaiko avatar ashishpatelcs avatar bharat123rox avatar chrishelgert avatar codingdiaz avatar enokawa avatar hungrybear88 avatar iynere avatar jeffnappi avatar joev492 avatar lokst avatar mikkopiu avatar mislavcimpersak avatar paulocen avatar sagarvd01 avatar strikerrus avatar stringbeans avatar taxonomic-blackfish avatar timorme avatar uraway avatar xheno avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.