diff --git a/Dockerfile b/Dockerfile index 0dcaccac..6b44fbb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,8 @@ RUN apk add --no-cache make \ RUN go get github.com/githubnemo/CompileDaemon -VOLUME /usr/local/go/src/github.com/brave-experiments/apollo-devops -WORKDIR /usr/local/go/src/github.com/brave-experiments/apollo-devops +VOLUME /usr/local/go/src/github.com/brave-experiments/Mjolnir +WORKDIR /usr/local/go/src/github.com/brave-experiments/Mjolnir ADD . . RUN make generate diff --git a/README.md b/README.md index 964cfa09..f7248af6 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # Mjölnir -## ...the hammer of Thor. +## ...[the hammer of Thor](https://en.wikipedia.org/wiki/Mj%C3%B6lnir). -[![Build Status](https://travis-ci.com/brave-experiments/Mjolnir.svg?token=KboonuECWJN5n1otaykj&branch=master)](https://travis-ci.com/brave-experiments/Mjolnir) +[![Build Status](https://travis-ci.com/brave-experiments/Mjolnir.svg?token=KboonuECWJN5n1otaykj&branch=master)](https://travis-ci.com/brave-experiments/Mjolnir) + |" \ /" | |" | / " \ |" | (\" \|" \ |" \ /" \ @@ -32,7 +33,7 @@ At this moment, Mjolnir supports the following clients: -## Table of Content +## Table of Contents - [Architecture](tbd) - [Terminology](https://github.com/brave-experiments/Mjolnir#terminology) - [Requirements](https://github.com/brave-experiments/Mjolnir#requirements) @@ -51,7 +52,7 @@ At this moment, Mjolnir supports the following clients: - [Dashboard-JSON](https://github.com/brave-experiments/Mjolnir#dashboard-json) - [Error-Handling](https://github.com/brave-experiments/Mjolnir#error-handling) - [Limitations](https://github.com/brave-experiments/Mjolnir#limitations) -- [Built-With](https://github.com/brave-experiments/Mjolnir#built-with) +-[Built-With](https://github.com/brave-experiments/Mjolnir#built-with) - [Conributing](https://github.com/brave-experiments/Mjolnir#contributing) - [License](https://github.com/brave-experiments/Mjolnir#license) @@ -65,7 +66,7 @@ At this moment, Mjolnir supports the following clients: ## Terminology -- **{cli-version}** : Semantic version of binary +- **{cli-version}**: Semantic version of binary - **{arch}**: The OS architecture. Currently supported are - `osx` - `unix` @@ -74,7 +75,7 @@ At this moment, Mjolnir supports the following clients: - `quorum` - `pantheon` - `parity` -- **{cmdName}** : Binary's sub command. +- **{cmdName}**: Binary's sub command. ## Requirements - A UNIX based machine. @@ -84,7 +85,7 @@ At this moment, Mjolnir supports the following clients: ## Getting started -- **Step 1 : Deploy Infrastructure** +- **Step 1: Deploy Infrastructure** - Clone this repo - ` git clone git@github.com:brave-experiments/Mjolnir.git` - Enter `bin/run` to run locally. This will create a local docker container and ssh into it. - Create a copy of the configuration files in `examples/values.yaml` to `examples/values-local.yaml` @@ -148,7 +149,7 @@ After execution of `apply` command certain files will be created on your host: To manually test build run -`bin/run` - or get latest binary release from here: https://github.com/brave-experiments/apollo-devops/releases +`bin/run` - or get latest binary release from here: https://github.com/brave-experiments/Mjolnir/releases To execute apollo CLI run: @@ -189,7 +190,7 @@ Restoring env variables. ``` ## Subcommands -- SSH into the bastion : +- SSH into the bastion: `./dist/{cli-version}/{arch}/apollo bastion` @@ -249,17 +250,16 @@ When you are running command through CLI it should end with exit code status. St `commands.go` ## Limitations + - **This tool is meant for benchmarking alone and should not be used to deploy production instances.** -- Some features may not be compatible in Windows environment +- Some features may not be compatible in Windows environment. - Only Amazon Web Services (AWS) is supported now. We are however open to PRs for other cloud providers! ## Built with -- Chainhammer : https://github.com/drandreaskrueger/chainhammer - +- Chainhammer: https://github.com/drandreaskrueger/chainhammer - Quorum Cloud: https://github.com/jpmorganchase/quorum-cloud - - Terraform: https://www.terraform.io/ ## Contributing diff --git a/commands.go b/commands.go index 7409dbac..01ef6183 100644 --- a/commands.go +++ b/commands.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "github.com/brave-experiments/apollo-devops/connect" - "github.com/brave-experiments/apollo-devops/terra" + "github.com/brave-experiments/Mjolnir/connect" + "github.com/brave-experiments/Mjolnir/terra" "github.com/mitchellh/cli" "io/ioutil" "os" diff --git a/commands_test.go b/commands_test.go index d1d60e7b..207b26d0 100644 --- a/commands_test.go +++ b/commands_test.go @@ -1,7 +1,7 @@ package main import ( - "github.com/brave-experiments/apollo-devops/terra" + "github.com/brave-experiments/Mjolnir/terra" "github.com/mitchellh/cli" "github.com/stretchr/testify/assert" "io/ioutil" diff --git a/docker-compose.override.test.yml.dist b/docker-compose.override.test.yml.dist index f97c8a1f..a9631871 100644 --- a/docker-compose.override.test.yml.dist +++ b/docker-compose.override.test.yml.dist @@ -5,7 +5,7 @@ services: build: . image: brave-experiments/apollo-go:latest volumes: - - ./:/usr/local/go/src/github.com/brave-experiments/apollo-devops + - ./:/usr/local/go/src/github.com/brave-experiments/Mjolnir env_file: - .env.test command: > diff --git a/docker-compose.override.yml.dist b/docker-compose.override.yml.dist index f9d2b1ce..4eca1eeb 100644 --- a/docker-compose.override.yml.dist +++ b/docker-compose.override.yml.dist @@ -5,7 +5,7 @@ services: build: . image: brave-experiments/apollo-go:latest volumes: - - ./:/usr/local/go/src/github.com/brave-experiments/apollo-devops + - ./:/usr/local/go/src/github.com/brave-experiments/Mjolnir env_file: - .env command: > diff --git a/go.mod b/go.mod index 5f65aa8b..afa44db8 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/brave-experiments/apollo-devops +module github.com/brave-experiments/Mjolnir go 1.12 diff --git a/main.go b/main.go index fd20b570..de4d712a 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "github.com/brave-experiments/apollo-devops/terra" + "github.com/brave-experiments/Mjolnir/terra" "github.com/mitchellh/cli" "log" "os" diff --git a/main_test.go b/main_test.go index 163339a3..3a7c5cc3 100644 --- a/main_test.go +++ b/main_test.go @@ -1,7 +1,7 @@ package main import ( - "github.com/brave-experiments/apollo-devops/terra" + "github.com/brave-experiments/Mjolnir/terra" "github.com/stretchr/testify/assert" "testing" )