Skip to content

xflagstudio/eb_deploy_and_notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

What

Elastic Beanstalkデプロイ&通知スクリプト(CircleCI用)

  • EB deploy
  • slack通知
  • Datadog監視一時中断
  • rollbarデプロイ通知

How

      - run:
          name: Install awstools & deploy script
          command: |
            apk add --no-cache python py-pip
            pip install awscli==1.15.19 awsebcli==3.12.4
            wget https://git.io/xflag-eb_deploy_and_notify -O ~/eb_deploy_and_notify.sh
            chmod +x ~/eb_deploy_and_notify.sh
      - run:
          name: deploy
          shell: /bin/bash
          command: |
            set -e
            eb --version
            EB_ENV=`eb list | grep '*' | awk '{print $2}'`
            echo "${CIRCLE_BRANCH}" ; echo "${EB_ENV}"
            ~/eb_deploy_and_notify.sh ${EB_ENV}

Notes

SLACK_HOOK の部分に注意 - https://hooks.slack.com/services/${SLACK_HOOK}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages