Commit Graph

1070 Commits

Author SHA1 Message Date
Luke Kysow
7ad4f82ae9 Rename Terraform Enterprise to Terraform Cloud 2019-05-21 08:01:43 -04: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
Luke Kysow
9115e8fac3 Merge pull request #578 from runatlantis/runstep
Add PROJECT_NAME env var to custom run step
2019-04-08 11:22:05 -03:00
Luke Kysow
cf490f86f0 Refactor run_step_runner test cases 2019-04-08 11:19:25 -03:00
Niko Virtala
83c81db7de tests with or without project name declaration. 2019-04-07 13:33:58 +03:00
Niko Virtala
6ee1cf6ce4 expose project name environment variable. 2019-04-06 21:18:16 +03:00
Luke Kysow
b1c2e5f96b Upgrade website TF to 0.12-beta1 2019-04-04 14:23:29 -03:00
Luke Kysow
2f54257b43 Merge pull request #568 from runatlantis/release-0.7
Release 0.7
v0.7.0
2019-04-03 10:47:16 -03:00
Devin Nathan-Turner
9c13979b8b Added comment explaining why EROR and DBUG are not typos 2019-04-02 19:25:59 -04:00
Luke Kysow
7ebd8d65c2 Merge pull request #567 from runatlantis/release-notes
Small logging changes et al
2019-04-02 18:14:05 -03:00
Luke Kysow
374e7a6a30 Merge in default cfg in other location 2019-04-02 18:06:35 -03:00
Luke Kysow
cfbda1e44f Better config logging 2019-04-02 18:06:11 -03:00
Luke Kysow
a0cf2eca2f Update changelog 2019-04-02 18:05:00 -03:00
Luke Kysow
d8a8026a06 Merge pull request #566 from runatlantis/release-notes
Release notes
2019-04-02 17:13:30 -03:00
Luke Kysow
8824f23449 Release 0.7 2019-04-02 16:29:04 -03:00