项目作者: microsoft

项目描述 :
The CLI for Bedrock
高级语言: TypeScript
项目地址: git://github.com/microsoft/bedrock-cli.git
创建时间: 2020-03-25T21:11:25Z
项目社区:https://github.com/microsoft/bedrock-cli

开源协议:MIT License

下载


Bedrock CLI

Build Status
Azure DevOps coverage

bedrock helps you automate, manage, and observe Kubernetes deployment
operations based on Bedrock patterns and principles.

Key features:

  1. Builds event triggered GitOps pipelines
    (learn more)
  2. Provides tabular introspection of applications from Docker image build to
    multi-cluster deployment
    (learn more)
  3. Streamlines management of versioned Terraform environments
    (learn more)

bedrock diagram

Install

You can install bedrock via homebrew or with the pre-compiled binaries.

Homebrew

Version v0.6.6 and newer are available via homebrew.

Tap to the formulae repository:

  1. $ brew tap microsoft/bedrock

Install bedrock:

  1. $ brew install microsoft/bedrock/bedrock-cli

Run bedrock

  1. $ bedrock

Pre-compile binaries

Download pre-compiled binaries of bedrock on the
releases page.

CLI

  1. $ bedrock
  2. Usage: bedrock [options] [command]
  3. The missing Bedrock CLI
  4. Options:
  5. -v, --verbose Enable verbose logging
  6. -V, --version output the version number
  7. -h, --help output usage information
  8. Commands:
  9. init|i [options] Initialize the bedrock tool for the first time.
  10. setup|s [options] An interactive command to setup resources in azure and azure dev-ops
  11. deployment Introspect your deployments
  12. hld Commands for initalizing and managing a bedrock HLD repository.
  13. infra Manage and modify your Bedrock infrastructure.
  14. project Initialize and manage your Bedrock project.
  15. service Create and manage services for a Bedrock project.

Prerequisites

To use bedrock, you must make sure you have the following tools installed:

  • git - at least version 2.22. Follow download instructions
    here

Follow instructions to download and install the rest of the prerequisites
here.

Getting Started

The fastest way to get started with bedrock is to following our interactive
initialization.

  1. bedrock init -i

This will guide you through the process of creating a configuration.
Alternatively if you already have a
configuration file you can run the command:

  1. bedrock init -f bedrock-config.yaml

Guides

You will find several guides to help you get started on each of the CLI area
here.

CLI Command Reference

https://microsoft.github.io/bedrock-cli/commands/

Contributing

Contributing to bedrock.