Commit Graph

55 Commits

Author SHA1 Message Date
Luke Kysow
e642fddea8 Document new TFE integration. 2019-02-28 11:24:05 -05:00
Kip McEntire
901a9f6a44 Add user_name environment variable
Add USER_NAME environment variable to the documenation
2019-02-22 16:50:36 +00:00
Luke Kysow
102addcaa4 Merge pull request #457 from runatlantis/automerge
Add automerge capability
2019-02-07 09:33:27 -06:00
Luke Kysow
74e9bbb82b Add automerge feature.
Automerging merges pull requests automatically if all plans have been
successfully applied.

* Save status of PR's to BoltDB so after each apply, we can check if
there are pending plans.
* Add new feature where we delete successful plans *unless* all plans
have succeeded *if* automerge is enabled. This was requested by users
because when automerge is enabled, they want to enforce that a pull
request's changes have been fully applied. They asked that plans not be
allowed to be applied "piecemeal" and instead, all plans must be
generated successfully prior to allowing any plans to be applied.
2019-02-06 16:27:43 -06:00
Luke Kysow
34e3bfdb85 Update docs to point at tfe free link. 2019-02-01 09:55:04 -05:00
Luke Kysow
61269e547b Update TFE free remote state mgmt docs 2019-01-22 12:02:31 -05:00
Luke Kysow
108ffd8eea Document checkout strategy 2019-01-17 10:10:12 -05:00
Luke Kysow
d2abdb569a Provide base branch name in pull request model
This is needed in order to support the ability to check out the repo as
it would appear after the pull request is merged into the base branch.
2019-01-15 13:45:35 -05:00
Luke Kysow
e0dcb5ab13 Don't add extra -var flags when using TF >= 0.12
In Terraform 0.12 and above, you aren't allowed to set -var foo=bar
flags unless the foo variable is actually defined in code. Previously,
we were setting the following variables:
- atlantis_user
- atlantis_repo
- atlantis_repo_owner
- atlantis_repo_name
- atlantis_pull_num

Users could then use these variables if they wanted to, in their code.
The main use case was to name the assume role session in AWS:

provider "aws" {
  assume_role {
    role_arn     = "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME"
    session_name = "${var.atlantis_user}-${var.atlantis_repo_owner}-${var.atlantis_repo_name}-${var.atlantis_pull_num}"
  }
}

This is longer possible in 0.12.
2019-01-10 15:16:21 -05:00
Luke Kysow
255a5b7fc1 Add docs about using tfe remote state. 2019-01-08 16:00:49 -05:00
Luke Kysow
cc03368e60 Merge pull request #411 from runatlantis/docs-reorg
Reorganize docs.
2019-01-07 16:39:15 -05:00
Luke Kysow
37e2ab85a8 Reorganize docs.
Also add a build step that checks the Netlify deploy preview for broken
links.
2019-01-07 16:10:21 -05:00
Janosch Maier
49a1b638c6 docs: Add information about background commands 2018-12-21 01:13:48 +01:00
Ivan
1d34ca8cde Added download link (#387)
There's no download link, added the one from getting-started.md
Authored-By: ivankisic <ivan.kisic@gmail.com>
2018-12-17 09:19:46 -06:00
Luke Kysow
b6d821326d Update docs about mergeability 2018-12-12 14:26:46 -06:00
Brenden Matthews
e001353ae9 Add mergeable requirement.
Introduce new `mergeable` requirement, in similar vein to the `approved`
requirement. Ran `make go-generate` to update mocks accordingly.

This addresses issue #43.
2018-12-11 16:00:04 -05:00
Luke Kysow
e9ea788d21 Deployment docs for OpenShift.
After merging https://github.com/runatlantis/atlantis/pull/346, we now
support OpenShift however users need an additional flag to atlantis
server for it to work.
2018-11-28 15:43:21 -06:00
Luke Kysow
28f3704ba4 Remove links to hosting and consulting. 2018-10-18 15:14:50 -05:00
Luke Kysow
2881bd9012 Update docs for new -var arguments. 2018-10-01 13:28:51 -05:00
Luke Kysow
e69c36ad55 Add new -var args for tf plan.
Previously we added -var atlantis_repo=runatlantis/atlantis but the '/'
character is not a valid character for the AWS assume role session name.
To fix this, this commit adds -var atlantis_repo_owner=runatlantis and
-var atlantis_repo_name=atlantis (where runatlantis and atlantis would
be the values for the repo the pull request is from ).
2018-10-01 11:35:45 -05:00
Jeremy Olexa
b4c7bae4e1 Update example for new tf run variables 2018-09-28 10:18:09 -05:00
Luke Kysow
e51d36b33e Update docs for new tf variables. 2018-09-25 12:44:24 -05:00
Luke Kysow
bac2ee7619 Fold long output. Fix diff highlighting.
* If output is longer than 12 lines, wrap it in markdown folding for
GitLab and GitHub.
* Reformat the Terraform plan output so that the + and - lines show up
highlighted properly when using the diff syntax highlighting
2018-09-15 09:12:43 -07:00
Luke Kysow
d55e5646dd Update docs for webhook secrets & multiple repos 2018-09-07 10:51:11 -07:00
Josh Kodroff
3bb44ea6cd Correct typo and formatting. 2018-09-05 09:07:21 -05:00
Josh Kodroff
eafc573109 Update instructions for multiple GitLab Repos. 2018-09-04 10:16:45 -05:00
Luke Kysow
756435e467 Expose repo name, owner, and branch to run step runner for custom steps (#232)
Commits by @mootpt (squashed)
2018-08-20 11:13:27 -10:00
Luke Kysow
9e2cdb6d7e Add / to make path absolute. 2018-08-16 06:55:35 -10:00
Jeremy Olexa
10af05d6c8 Fix broken links 2018-08-16 10:23:08 -05:00
Luke Kysow
514150e3dd Update docs for plan/apply all. 2018-08-09 15:42:18 -10:00
Luke Kysow
5a578ca80b Update docs 2018-08-08 17:08:08 -10:00
Luke Kysow
e3a66cb49f Add hosting docs. 2018-08-03 15:27:09 -07:00
Luke Kysow
ff85cbef70 Require approval from someone other than PR author
In Bitbucket cloud, the pull request author can approve their own pull
request. Ignore this approval.

Fixes #201
2018-07-28 06:57:49 -07:00
Luke Kysow
08c19ed721 Make headings different so TOC works. 2018-07-25 14:50:01 +02:00
Luke Kysow
ddbf9677f2 Update Bitbucket server docs 2018-07-24 21:10:57 +02:00
Luke Kysow
29463a6330 Update docs 2018-07-23 13:21:24 +02:00
Luke Kysow
af03ff36e2 Update security warnings. 2018-07-23 12:31:00 +02:00
Luke Kysow
506b817acd Add bitbucket json events. Docs. 2018-07-21 21:30:10 +02:00
Luke Kysow
394a5c9740 Update docs 2018-07-20 20:02:03 +02:00
Luke Kysow
255d6aa818 Merge pull request #171 from runatlantis/planfile-env
Set PLANFILE environment variable in run step.
2018-07-07 15:49:53 +02:00
Luke Kysow
78a2bb519e Set PLANFILE environment variable in run step.
Env var is set to where Atlantis expects the planfile to be.
Fixes #168.
2018-07-07 10:04:49 +02:00
Luke Kysow
40d8299b52 Fix broken links 2018-07-05 14:51:31 +02:00
Luke Kysow
1d863fa191 Fix broken link. 2018-07-05 14:47:04 +02:00
Luke Kysow
c266ddf8ed Update docs. Use correct scheme. 2018-07-04 19:07:01 +02:00
Luke Kysow
f9eeaa064e Add /healthz endpoint. 2018-07-04 18:44:17 +02:00
Luke Kysow
502c6265fb Fix doc todos 2018-07-02 14:34:24 +02:00
Luke Kysow
13a70c772d Add new --allow-repo-config flag. 2018-06-30 23:27:15 +02:00
Luke Kysow
f29dc00edf Warn if not using version 2 2018-06-29 20:58:30 +02:00
Luke Kysow
f01915876d Add env vars to run step 2018-06-29 20:20:55 +02:00
Luke Kysow
7c927a437f Update docs with changes from README 2018-06-27 12:07:04 +02:00