shibukk / hako-oneshot-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hako-oneshot-sample

Usage

  1. Install hako.
    $ bundle install --path vendor/bundle
    
  2. Create ECS cluster on AWS Console.
    Then please choose [Networking only].
  3. Create IAM Role if needed.
  4. Replace IAM Role / ECS cluster / Subnet on configuration jsonnet file.
  5. Create Incoming WebHooks integration.
  6. Copy sample environment file.
    $ cp .env.sample .env
    
  7. Replace Slack Webhook URL on environment file.
  8. Oneshot!
    $ bundle exec hako oneshot fargate-onshot.jsonnet /slack-notify 'SLACK_WEBHOOK=$SLACK_WEBHOOK SLACK_MESSAGE=$SLACK_MESSAGE'
    

About


Languages

Language:Ruby 63.3%Language:Jsonnet 36.7%