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
Luke Kysow
b749a32c5f
Allow setting 'source' for commit statuses
...
This is needed so we can set different commit statuses for plan and
apply phases.
Also, append os env variables to git commands during cloning. This fixed
a bug when running tests where I got an error because git couldn't expand
'~' from its git config to my home directory because the HOME env var
wasn't set.
2019-02-25 17:10:20 -05:00
Luke Kysow
1997e112d3
Remove duplicate vcs proxy interface
...
This is the same interface as vcs.Client so no need to have both.
2019-02-25 16:51:26 -05:00
Luke Kysow
5e9464b820
Merge pull request #488 from runatlantis/tfe-remote-ops
...
Detect if using TFE remote plan/apply backend
2019-02-25 11:12:58 -05:00
Luke Kysow
40bfb53212
Merge pull request #489 from zillow/feature/add-username-env-variable
...
Add user_name environment variable
2019-02-22 11:57:48 -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
f030fdd609
Detect if using TFE remote plan/apply backend
...
If so, don't run plan with -out because this isn't currently supported.
Instead, write a planfile afterwards with the text contents of the plan.
During apply, detect that the planfile was generated using a remote plan
and run apply with -auto-approve and without the planfile arg which
isn't supported.
2019-02-21 12:10:46 -05:00
Luke Kysow
ce5e127ed6
Merge pull request #484 from runatlantis/bb-server-automerge
...
Fix automerge bug in Bitbucket Server
2019-02-20 14:37:47 -05:00
Luke Kysow
bebbcb8a4d
Fix automerge bug in Bitbucket Server
...
BB Server requires we send a 'version' parameter along with our call to
/merge.
2019-02-19 17:30:28 -05:00
Luke Kysow
cceb979ee4
Merge pull request #480 from posquit0/patch-1
...
Fix typo
2019-02-16 13:37:12 -06:00
Byungjin Park
3f4811c9bf
Fix typo
2019-02-16 23:18:17 +09:00
Luke Kysow
ba0271cea3
Merge pull request #475 from Zophar78/bitbucket-webhookcheck
...
Allow bitbucket webhook to check atlantis server
2019-02-15 15:20:57 -06:00