New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bgb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bgb

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

BGB(BODN GATE Build)

BGBはBOND GATEのDockerイメージのビルドを行うためのツールです。設定ファイルをymlで定義することで簡単にビルドおよびECRへの登録を行うことができます。

Installation

install it yourself as:

$ gem install bgb

使用法

環境設定

  • Macを利用することを想定しています。
  • docker for Macをインストールします。
  • aws cliをインストールし環境変数を設定しておいてください。
  • 次のコマンドでECRへログインできること確認しておいて下さい。
$ `aws ecr get-login --region ap-northeast-1 --no-include-email`

設定ファイルの準備

  • build.yml
docker_repos:
  uri: bitbucket.org/rhizome/docker_bondgate.git
  token: (bitbucketのアプリ パスワード)
  user: (bitbucketのユーザー名)
ecs:
  docker_image: bondgate-docker
  ecr: 949635643307.dkr.ecr.ap-northeast-1.amazonaws.com
  docker_tag: (dockerイメージに付けるタグ 例:rhizome-2520-20170623)
build_ops:
  github_token: (githubのトークン)
  git_branch: (ビルド対象ブランチ 例:release-2.5.0.0)
  project: (省略可。rake config:mergeで指定するPROJECT)
  inherited: (省略可。rake config:mergeで指定するINHERITED)
  unicorn_worker: (省略可。Unicornのワーカー数。デフォルト1)
  max_request_min: (省略可。デフォルト3000)
  max_request_max: (省略可。デフォルト4000)

ビルド実行

  • buildオプションを指定して実行
$ bgb build
  • 設定ファイルを指定して実行
$ bgb -f build.yml

ECRのイメージ一覧

$ bgb images

FAQs

Package last updated on 06 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc