Commit Graph

1083 Commits

Author SHA1 Message Date
Luke Kysow
98274cd9bb Log repo name if does not match whitelist
Should help with folks debugging, especially for BB Server.
2019-05-24 09:14:40 -04:00
Luke Kysow
3785b7bad4 Merge pull request #648 from runatlantis/release-0.8
Release 0.8
v0.8.0
2019-05-23 13:31:02 -04:00
Luke Kysow
0f0ac1b624 Release 0.8 2019-05-23 13:27:03 -04:00
Luke Kysow
3b7d6519be Merge pull request #647 from runatlantis/docker
Add 0.11.14 to Docker image
2019-05-23 12:39:57 -04:00
Luke Kysow
4ebfb76d6e Add 0.11.14 to Docker image 2019-05-23 12:39:30 -04:00
Luke Kysow
21e48deb0a Merge pull request #646 from runatlantis/disableapplyall
Add --disable-apply-all flag
2019-05-23 12:17:51 -04:00
Luke Kysow
7595265a6b Finishing touches to disable-apply-all
- fix missing part of a test
- log when ignoring
2019-05-23 12:09:51 -04:00
Will Soula
b77a09dc97 Add --disable-apply-all flag
Add a flag to disable the use of the command `atlantis apply` so you
can enforce that each plan must be applied separately.
2019-05-23 12:09:51 -04:00
Luke Kysow
a6f9cf2d23 Merge pull request #645 from runatlantis/tf-0.12
Upgrade to Terraform 0.12
2019-05-23 11:46:42 -04:00
Luke Kysow
4dbdde8543 Upgrade to Terraform 0.12
To be clear, Atlantis was compatible with 0.12 before this commit, but
this change makes 0.12 the default version *if* users haven't set the
--default-tf-version flag.
2019-05-23 11:42:58 -04:00
Luke Kysow
756bf18d2c Merge pull request #635 from runatlantis/tf-cloud
Rename Terraform Enterprise to Terraform Cloud
2019-05-21 08:14:09 -04:00
Luke Kysow
7ad4f82ae9 Rename Terraform Enterprise to Terraform Cloud 2019-05-21 08:01:43 -04:00
Luke Kysow
0432d94c87 Merge pull request #633 from gkze/master
Correct typo (Stah -> Stash)
2019-05-17 21:46:42 -04:00
gkontridze
7d65cb517e Correct typo (Stah -> Stash) 2019-05-17 15:36:34 -07:00
Luke Kysow
61ae25fe77 Merge pull request #621 from runatlantis/release-0.7.2
Release 0.7.2
v0.7.2
2019-05-07 10:13:47 -04:00
Luke Kysow
e31fa02a18 Release 0.7.2 2019-05-07 10:11:20 -04:00
Luke Kysow
3405048c99 Merge pull request #620 from runatlantis/testdrive-output
Fix testdrive output on solarized theme terminals.
2019-05-07 09:52:39 -04:00
Luke Kysow
32360ada23 Fix testdrive output on solarized theme terminals.
Previously we were using a library to colorize our strings during the
testdrive command. We used [white] which caused the output to not appear
on terminals that use white as the background. This change uses the
default terminal output color instead and only uses colorized strings
for warnings, errors and info via yellow, red and green respectively.
Hopefully those colours still show up on most terminals!
2019-05-07 09:47:44 -04:00
Luke Kysow
3160a824d8 Merge pull request #619 from runatlantis/double-error
Don't include errored cmd output twice.
2019-05-07 09:26:03 -04:00
Luke Kysow
e45bc33330 Don't include errored cmd output twice.
Since we're including the command output inside the error, we don't need
to also return the output. This was resulting in the error output being
printed twice.
2019-05-07 09:22:25 -04:00
Luke Kysow
c1c01ea418 Merge pull request #618 from runatlantis/redact-cloneurl
Redact clone url during clone errors.
2019-05-07 09:20:15 -04:00
Luke Kysow
d0308a52e7 Redact clone url during clone errors.
If there was an error during cloning, we would sometimes print the clone
credentials to the pull request and in the Atlantis logs. This change
ensures we print the redacted clone url.

We also change the redacted clone url to contain "username:<redacted>"
so that if users see the redacted url in logs, they'll know we were
using a credentialed form and so if they try to replicate with curl
they'll know to substitute the correct credentials.
2019-05-07 09:14:59 -04:00
Luke Kysow
4ccb6949e8 Add docs for PROJECT_NAME 2019-04-29 17:20:10 -04:00
Luke Kysow
3fee2547a6 Merge pull request #607 from sryabkov/patch-1
Update custom-workflows.md
2019-04-25 13:25:35 -03:00
Sergei Ryabkov
263eff7fbd fix the placement of the note 2019-04-25 11:08:57 -04:00
Sergei Ryabkov
f9e70bd759 Update custom-workflows.md 2019-04-25 10:29:06 -04:00
Luke Kysow
993f8d8324 Merge pull request #605 from runatlantis/bb-formatting
Add newline so bitbucket formats markdown
2019-04-24 09:53:13 -03:00
Luke Kysow
568c7f9fd9 Add newline so bitbucket formats markdown 2019-04-24 09:50:28 -03:00
Luke Kysow
48cc9df96a Merge pull request #603 from runatlantis/help
Add missing closing backticks for help output
2019-04-23 13:33:00 -03:00
Luke Kysow
8e7eab78bd Add missing closing backticks for help output 2019-04-23 13:29:39 -03:00
Luke Kysow
c03d4922ec Remove outdated test guidance 2019-04-23 12:27:40 -03:00
Luke Kysow
7026550f94 Merge pull request #598 from runatlantis/redirects
Add redirects for old docs
2019-04-17 17:12:29 -03:00
Luke Kysow
2ac5dac677 Add redirects for old docs 2019-04-17 17:09:07 -03:00
Luke Kysow
33c9bf9f8f Merge pull request #594 from jplane/azure-deployment
added pointer for Azure ACI deploy
2019-04-15 12:42:25 -03:00
Luke Kysow
1cb997fbac Add note re: community member support
Co-Authored-By: jplane <jplane@gmail.com>
2019-04-15 09:37:54 -04:00
Josh Lane
7ba696cd7f added pointer for azure ACI deploy 2019-04-14 17:42:41 -04:00
Luke Kysow
afeb86ecd5 Merge pull request #590 from runatlantis/golang-1.12
Upgrade to Golang 1.12
v0.7.1
2019-04-11 12:56:08 -03:00
Luke Kysow
7818706e0e Upgrade to Golang 1.12 2019-04-11 12:51:42 -03:00
Luke Kysow
c87c0a96d1 Merge pull request #589 from runatlantis/release-0.7.1
Release 0.7.1
2019-04-11 12:45:05 -03:00
Luke Kysow
fc702496a4 Release 0.7.1 2019-04-11 12:41:58 -03:00
Luke Kysow
3756d297f0 Merge pull request #572 from runatlantis/tf-0.12
Upgrade website TF to 0.12-beta1
2019-04-10 16:56:00 -03:00
Luke Kysow
559736c897 Merge pull request #585 from runatlantis/ff-merges
Never use fast-forward merges
2019-04-10 15:16:25 -03:00
Luke Kysow
93cd6a5431 Never use fast-forward merges
When using --checkout-strategy merge, we were performing the merge
without the --no-ff flag. This meant that if the branch could be merged
via a fast-forward merge (without a merge commit), then later when we
ran git rev-parse HEAD^2 to determine if the repo was at the right
commit, it would fail.

Now we merge with --no-ff which ensures the commit tree will always look
the same and git rev-parse HEAD^2 will always succeed.
2019-04-10 15:12:32 -03:00
Luke Kysow
1f07d1f96a Merge pull request #581 from runatlantis/warn-newline
Warn if tokens have newline
2019-04-09 14:55:37 -05:00
Luke Kysow
fa7b21faf7 Warn if tokens have newline
I don't think any tokens accept newlines, so warn if the tokens have
one. Usually this is the result of a mistake when deploying Atlantis
which is hard to debug.
2019-04-09 16:25:12 -03:00
Luke Kysow
420c4c116b Merge pull request #580 from StephenWeber/patch-1
Document project unlock due to PR close scenario
2019-04-09 13:42:04 -05:00
Stephen Weber
1af6f441f7 Document project unlock due to PR close scenario
As per #269 , closing the PR without merging will unlock the project automatically. Including this as part of the documentation.
2019-04-09 11:00:13 -07:00
Luke Kysow
ac41fe9b19 Merge pull request #564 from devinturner/master
Comment on why EROR and DBUG are not typos
2019-04-09 09:52:33 -03:00
Luke Kysow
7a5b42a3a7 Merge pull request #579 from adharmawan/patch-1
Update using-atlantis.md
2019-04-09 09:51:11 -03:00
adharmawan
7eaf5e2d94 Update using-atlantis.md
Running `atlantis plan -- -var 'foo=bar'` causes the following:

```
exit status 1: running "terraform plan -input=false -refresh -no-color -out \"/atlantis-data/path/to/repo/default.tfplan\" -var atlantis_user=\"xxxxx\" -var atlantis_repo=\"xxxxxx\" -var atlantis_repo_name=\"xxxxxx\" -var atlantis_repo_owner=\"xxxxx\" -var atlantis_pull_num=xx \"-var\" \"'foo=bar'\"" in "/atlantis-data/path/to/repo"

Error: Required variable not set: foo`
```

While running `atlantis plan -- -var foo='bar'` successfully pass the `foo` variable to terraform plan
2019-04-09 13:02:25 +08:00