Commit Graph

2135 Commits

Author SHA1 Message Date
Luke Kysow
915e15f30e Upgrade pegomock to 2.5 2019-06-14 14:39:26 +01:00
Luke Kysow
26c7df16d6 Merge pull request #677 from runatlantis/bb-cloud-rejected
Fix bug parsing BB Cloud pull rejected events
2019-06-13 14:53:15 +01:00
Luke Kysow
a2349b64d7 Fix bug parsing BB Cloud pull rejected events
Was using the word DECLINE but the actual keyword is DECLINED.
2019-06-13 14:47:29 +01:00
Luke Kysow
47b55120e6 Merge pull request #674 from runatlantis/release-0.8.2
Release 0.8.2
v0.8.2
2019-06-12 12:38:42 +01:00
Luke Kysow
cac21569b1 Release 0.8.2 2019-06-12 12:36:08 +01:00
Luke Kysow
91eecbcb68 Add comment for bitbucket merge conflict detection 2019-06-12 12:28:52 +01:00
Luke Kysow
5717de55f9 Merge pull request #673 from runatlantis/bb-cloud-merge
Switch to Bitbucket 2.0 API for mergeable check
2019-06-12 12:28:25 +01:00
Luke Kysow
8bcb3726d4 Switch to Bitbucket 2.0 API for mergeable check 2019-06-12 12:21:47 +01:00
Luke Kysow
fdf7699177 Merge pull request #667 from brandon-dacrib/master
update current version of terraform binary
2019-06-07 22:44:57 +01:00
Brandon Price
837b376293 updating the minimum set of files like instructed to do so here: https://github.com/runatlantis/atlantis/pull/664 2019-06-07 15:46:46 -04:00
Brandon Price
d3b10efd60 update current version of terraform binary 2019-06-07 15:41:12 -04:00
Luke Kysow
708fa0c19f Merge pull request #662 from tfheen/master
Include directory in slack webhook message
2019-06-05 11:30:40 +01:00
Luke Kysow
4944ee1687 Add comment explaining . => / replace 2019-06-05 11:30:24 +01:00
Tollef Fog Heen
8a3e342344 Include directory in slack webhook message
Fixes: https://github.com/runatlantis/atlantis/issues/660
2019-06-05 11:37:37 +02:00
Luke Kysow
1fa621dc83 Merge pull request #658 from runatlantis/release-0.8.1
Release 0.8.1
v0.8.1
2019-06-03 09:38:01 -05:00
Luke Kysow
4273e8c746 Release 0.8.1 2019-06-03 15:33:51 +01:00
Luke Kysow
dd64fcd8eb Merge pull request #657 from runatlantis/bbcloud-gdpr
Fix require-approval for Bitbucket Cloud.
2019-06-03 09:23:51 -05:00
Luke Kysow
8f81568e24 Fix require-approval for Bitbucket Cloud.
Bitbucket Cloud changed their APIs to deprecate the username fields.
This broke how we were checking for approvals. Rather than propagate the
UUID field through the PullRequest model, I use the pull request API
response directly while checking approvers.
2019-06-03 14:57:52 +01:00
David McPike
299ed4d6be Minor README update 2019-05-25 18:57:23 -05:00
David McPike
cb9bdb017d Resolve merge conflict on DisableApplyAll flag 2019-05-24 21:26:59 -05:00
Luke Kysow
354551d99a Merge pull request #650 from runatlantis/log-whitelist
Log repo name if does not match whitelist
2019-05-24 09:18:49 -04:00
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
David McPike
12f95c5b79 Azure Devops support
- Add blackfriday for markdown-to-html comment translation
Azure Devops doesn't support markdown in work item comments

- Restore NewRepo() to original form - removing project parameter
- Add models.SplitAzureDevopsRepoFullName() to handle project name
All Azure Devops URIs need owner, project, and repo.  This function
allows us to avoid adding project to NewRepo()

- Update calls to azuredevops.NewClient() to match library requirements
- Add context to azuredevops client to match library requirements
- Basic working CreateComment() and MergePull() support (not widely
tested)
2019-05-19 20:54:04 -05:00
David McPike
5d7d3c0ea0 update readme 2019-05-19 20:36:35 -05: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
David McPike
dd9041f131 Merge remote-tracking branch 'upstream/master' into azure-devops 2019-05-17 09:31:44 -05:00
David McPike
7f1fd23f0f Azure Devops fork updates
- Remove project from NewRepo() calls
- Add new function SplitAzureDevopsRepoFullName
2019-05-17 09:31:01 -05: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
David McPike
bf1ccc47db Azure Devops support
- Fixes logic error in PullIsMergeable()
- Replace GetRemoteURL() with GetWebURL() - returns what we want
2019-04-29 20:19:02 -05:00
Luke Kysow
4ccb6949e8 Add docs for PROJECT_NAME 2019-04-29 17:20:10 -04:00
David McPike
36a849d2b5 Fixes steps that use cloneURL for Azure Devops 2019-04-29 09:55:37 -05:00