Commit Graph

2135 Commits

Author SHA1 Message Date
Luke Kysow
c504392447 Update golang.org/x/sys 2019-03-13 17:52:27 -05:00
Luke Kysow
08e272854c Upgrade pegomock 2019-03-13 17:52:27 -05:00
Luke Kysow
22f313d829 Vendor go-getter 2019-03-13 17:52:27 -05:00
Luke Kysow
80f6b99397 Unskip working test 2019-03-13 17:52:27 -05:00
Luke Kysow
6b6ef07cc7 Release 0.5.1 v0.5.1 2019-03-13 16:23:13 -05:00
Luke Kysow
2fb49130c5 Respond to bitbucket cloud/server username.
Looks like we forgot to add the ability for bitbucket cloud/server users
to invoke Atlantis using the name of the user they're running it as.
2019-03-13 16:13:52 -05:00
Luke Kysow
2bcf17b474 Fixes #533, a regression where Atlantis will respond with errors to
comments that aren't intended to invoke Atlantis.
2019-03-13 16:13:52 -05:00
Jeremy Olexa
8bc0988b9d Use alpine:3.9
Mitigation for CVE-2018-19486 (https://nvd.nist.gov/vuln/detail/CVE-2018-19486)
2019-03-12 11:16:27 -05:00
Luke Kysow
aab2211270 Fix broken link 2019-03-08 12:27:57 -05:00
Luke Kysow
ff22cd5b45 Merge pull request #522 from runatlantis/testdrive-fix
Fix testdrive for ngrok 2.2
v0.5.0
2019-03-07 15:11:02 -05:00
Luke Kysow
fd7bd923e4 Fix testdrive for ngrok 2.2 2019-03-07 15:09:53 -05:00
Luke Kysow
0d3cf74272 Merge pull request #521 from runatlantis/release-0.5
Release 0.5.0
2019-03-07 14:56:22 -05:00
Luke Kysow
d4f0204db2 Release 0.5.0 2019-03-07 14:52:21 -05:00
Luke Kysow
e4499b68fe Merge pull request #520 from runatlantis/warn-log
Log rev-parse error at warn level.
2019-03-07 10:01:31 -05:00
Luke Kysow
d0e0b0dfca Log rev-parse error at warn level.
We recover gracefully from this so it's not an error.
2019-03-07 09:57:29 -05:00
Luke Kysow
9845b9ae15 Merge pull request #517 from runatlantis/terragrunt-cache
Ignore .terragrunt-cache dirs.
2019-03-06 11:46:57 -05:00
Luke Kysow
36925b4dc8 Ignore .terragrunt-cache dirs.
Fixes #487
2019-03-06 11:20:44 -05:00
Luke Kysow
4c887f18cf Merge pull request #514 from runatlantis/split-status-checks
Split status checks
2019-03-06 10:15:56 -05:00
Luke Kysow
04a019994f Merge pull request #515 from runatlantis/spaces
Support dirs with spaces
2019-03-05 16:57:47 -05:00
Luke Kysow
30577a4c4d Support dirs with spaces.
Allow running atlantis plan -d "dir with spaces" to target a directory
that contains spaces.

Fixes #423
2019-03-05 16:16:16 -05:00
Luke Kysow
936a5f4a16 Remove mention of TERRAFORM_WORKSPACE env var 2019-03-05 15:57:43 -05:00
Luke Kysow
4fc22aedeb Split status checks into plan and apply.
Split single top-level status check into one plan and one apply check.
These checks will also now track the whole pull request status rather
than just the last action.
2019-03-05 14:29:43 -05:00
Luke Kysow
aa3c01006d Merge pull request #513 from runatlantis/better-error
Give warning for common error missing 'run' key
2019-03-05 13:39:30 -05:00
Luke Kysow
65c8f1317a Give warning for common error missing 'run' key 2019-03-05 13:32:08 -05:00
Luke Kysow
f98fe8ef80 Add new status to ProjectPlanStatus 2019-03-05 12:08:11 -05:00
Luke Kysow
393af51e4f Add Command field to ProjectResult 2019-03-05 12:01:06 -05:00
Luke Kysow
a13bce59ad updateDB should not return a pointer 2019-03-05 11:54:04 -05:00
Luke Kysow
c97c922f91 Merge pull request #510 from runatlantis/bb-server-delete-event
Support bitbucket server pr:deleted event
2019-03-01 11:49:13 -05:00
Luke Kysow
2fb8f4d4ff Support bitbucket server pr:deleted event
If a pull request is deleted, Atlantis should delete the locks.
Fixes #498
2019-03-01 11:36:22 -05:00
Luke Kysow
308a87316e Merge pull request #502 from runatlantis/bb-cloud-api-deprecation
Use new 'nickname' field for bitbucket cloud
2019-03-01 10:21:02 -05:00
Luke Kysow
e9bee6e95b Merge pull request #509 from runatlantis/bb-server-basepath
Support basepath for bitbucket server
2019-03-01 09:17:13 -05:00
Luke Kysow
0a8e3e86c9 Support basepath for bitbucket server
Previously we were stripping the basepath from the passed in URL. i.e.
if I passed in --bitbucket-base-url=https://me.com/basepath then we
would just strip off /basepath.

This change fixes that bug (#508).
2019-03-01 09:14:52 -05:00
Luke Kysow
8633b96c97 Add codecov badge 2019-02-28 16:59:50 -05:00
Luke Kysow
59917eb30c Merge pull request #506 from runatlantis/fix-tests
Fix async tests.
2019-02-28 16:54:36 -05:00
Luke Kysow
899c77f19c Fix async tests. 2019-02-28 16:52:26 -05:00
Luke Kysow
7bf5f07da4 Merge pull request #505 from runatlantis/fix-tests
Skip all async tests (for now).
2019-02-28 15:36:39 -05:00
Luke Kysow
ca5ca0b218 Skip all async tests (for now). 2019-02-28 15:32:31 -05:00
Luke Kysow
9a9a8b46eb Merge pull request #504 from runatlantis/fix-tests
Skip broken tests for now.
2019-02-28 15:29:41 -05:00
Luke Kysow
6721eea4f1 Skip broken tests for now. 2019-02-28 15:23:08 -05:00
Luke Kysow
9e497f495e Merge pull request #503 from runatlantis/tfe-apply-check
Add better support for remote plan/apply
2019-02-28 13:05:28 -05:00
Luke Kysow
8cef308709 Add test for large outputs. 2019-02-28 12:26:46 -05:00
Luke Kysow
7f5a0fcd10 Fix test race conditions. 2019-02-28 11:49:48 -05:00
Luke Kysow
e642fddea8 Document new TFE integration. 2019-02-28 11:24:05 -05:00
Luke Kysow
b10cf1faa7 Test remote plan/apply. 2019-02-28 11:00:56 -05:00
Luke Kysow
09b92cd207 Use new 'nickname' field for bitbucket cloud
Bitbucket is deprecating the username field.
See: https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr
2019-02-28 10:06:31 -05:00
Luke Kysow
db1203bf0f Add better support for remote plan/apply.
Features:
- remote plans and applies will set a commit status with a link to the
Terraform Enterpise UI where the streaming output can be viewed.
- because remote plans don't support the -out flag, we diff the plan
output between plan and apply phases to ensure users are applying the
plan they expected

How:
We add a new capability to execute a terraform command while
concurrently reading its real-time output and performing actions
accordingly.
2019-02-27 17:26:00 -05:00
Luke Kysow
5f4a94b0af Move CommandName to models package 2019-02-26 12:03:25 -05:00
Luke Kysow
f36020dc3a Merge pull request #495 from ghostinthewires/add-upgrade-tfinit
Add -upgrade to terraform init cmd
2019-02-26 11:43:03 -05:00
Andrew Urwin
20060e1de1 update test to include -upgrade 2019-02-26 16:03:59 +00:00
Andrew Urwin
aec79b95e1 adding -upgrade to init cmd 2019-02-26 15:53:54 +00:00