From 39dff9ceb3f701db2262de77ed01cdc8eba8b3d7 Mon Sep 17 00:00:00 2001 From: Luke Kysow Date: Wed, 23 Aug 2017 22:57:24 -0700 Subject: [PATCH] Bump to v0.1.2. Update changelog and readme (#134) * Bump to v0.1.2. Update changelog and readme * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md --- CHANGELOG.md | 24 ++++++++++++++++-------- README.md | 14 ++++++++++++++ main.go | 2 +- 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38f5df68c..26ab50faf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ +# v0.1.2 (UNRELEASED) +## Features +* all flags passed to `atlantis plan` or `atlantis apply` will now be passed through to `terraform`. ([#131](https://github.com/hootsuite/atlantis/pull/131)) + +## Bug Fixes +* Fix command parsing when comment ends with newline. ([#131](https://github.com/hootsuite/atlantis/pull/131)) +* Plan and Apply outputs are shown in new line. ([#132](https://github.com/hootsuite/atlantis/pull/132)) + +## Downloads +* [atlantis_darwin_amd64.zip](https://github.com/hootsuite/atlantis/releases/download/v0.1.2/atlantis_darwin_amd64.zip) +* [atlantis_linux_386.zip](https://github.com/hootsuite/atlantis/releases/download/v0.1.2/atlantis_linux_386.zip) +* [atlantis_linux_amd64.zip](https://github.com/hootsuite/atlantis/releases/download/v0.1.2/atlantis_linux_amd64.zip) +* [atlantis_linux_arm.zip](https://github.com/hootsuite/atlantis/releases/download/v0.1.2/atlantis_linux_arm.zip) + # v0.1.1 -### Backwards Incompatibilities / Notes: +## Backwards Incompatibilities / Notes: * `--aws-assume-role-arn` and `--aws-region` flags removed. Instead, to name the assume role session with the GitHub username of the user running the Atlantis command use the `atlantis_user` terraform variable alongside Terraform's @@ -11,17 +25,11 @@ use the `atlantis_user` terraform variable alongside Terraform's docker run hootsuite/atlantis:v0.1.1 server --gh-user=GITHUB_USERNAME --gh-token=GITHUB_TOKEN ``` -### Improvements +## Improvements * Support for HTTPS cloning using GitHub username and token provided to atlantis server ([#117](https://github.com/hootsuite/atlantis/pull/117)) * Adding `post_plan` and `post_apply` commands ([#102](https://github.com/hootsuite/atlantis/pull/102)) * Adding the ability to verify webhook secret ([#120](https://github.com/hootsuite/atlantis/pull/120)) -### Bug Fixes - -### Features - -### Core Changes - ## Downloads * [atlantis_darwin_amd64.zip](https://github.com/hootsuite/atlantis/releases/download/v0.1.1/atlantis_darwin_amd64.zip) diff --git a/README.md b/README.md index 2e14074fc..a4b5c47f1 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ * [Features](#features) * [Getting Started](#getting-started) +* [Pull Request Commands](#pull-request-commands) * [Project Structure](#project-structure) * [Environments](#environments) * [Terraform Versions](#terraform-versions) @@ -58,6 +59,19 @@ This will walk you through running Atlantis locally. It will If you're ready to permanently set up Atlantis see [Production-Ready Deployment](#production-ready-deployment) +## Pull Request Commands +Atlantis currently supports three commands that can be run via pull request comments: + +#### `atlantis help` +View help + +#### `atlantis plan [env]` +Runs `terraform plan` for the changes in this pull request. If `[env]` is specified, will switch to that environment (or workspace in terraform > 0.10), before running `plan`. Any additional arguments passed to `atlantis plan` will be passed on to `terraform plan`. For example if you'd like to run `terraform plan -target={target}` then you can comment `atlantis plan -target={target}`. + +#### `atlantis apply [env]` +Runs `terraform apply` for the plan generated by `atlantis plan`. If `[env]` is specified, will switch to that env/workspace. +Any additional arguments passed to `atlantis apply` will be passed on to `terraform apply`. + ## Project Structure Atlantis supports several Terraform project structures: - a single Terraform project at the repo root diff --git a/main.go b/main.go index 512102654..6de1bdba3 100644 --- a/main.go +++ b/main.go @@ -6,6 +6,6 @@ import ( ) func main() { - viper.Set("version", "0.1.1") + viper.Set("version", "0.1.2") cmd.Execute() }