Commit Graph

810 Commits

Author SHA1 Message Date
John Reese
39cd5b2df1 Use PullActive const 2020-04-10 21:38:09 -04:00
CJ Ketchum
611ed55c8c Fix parse URL tests 2020-04-10 14:36:53 -07:00
John Reese
ca3567d32c Update policy tests 2020-04-10 16:52:07 -04:00
John Reese
3efcd8feee Add merge policy 2020-04-10 16:27:04 -04:00
John Reese
01aae5e9e4 Implement checks for IsApproved 2020-04-10 15:14:40 -04:00
Aaron Masover
9980adaa3a Depend on bbolt 2020-04-06 16:58:32 -06:00
Mike Hume
35b6a1bdb2 Merge branch 'wrapped-default' into long-folding 2020-03-29 15:36:53 -07:00
CJ Ketchum
bc545844d3 Update autoplan so commit status is set only after finding projects (resolves #954) 2020-03-29 15:12:12 -07:00
Luke Kysow
b69336e477 Refactor cmd tests
- Remove config/env/flag override tests since we know that the overrides
work
- We'll no longer need to edit the tests now when we add new flags
2020-03-29 14:51:03 -07:00
David McPike
3da442d053 Fixes #946 2020-03-21 13:10:04 -05:00
Nathan Tindall
9972d8f1ae Implement marshal functions for Step (#913) 2020-03-13 08:16:33 -04:00
Mike Hume
62d3522d33 Adding --fold-long-output flag to toggle wrapped default 2020-02-18 01:48:28 -08:00
Marc Barlo
643fbd409c Use default not repoCfg 2020-02-07 14:36:43 -08:00
Marc Barlo
f0c483d7eb Add wait group for parallel plans 2020-02-07 14:30:02 -08:00
Marc Barlo
f2609fd70b Add parallel plans via repo config 2020-02-07 14:21:53 -08:00
Sam Park
6a4236b24d Fix lints 2020-01-24 22:59:39 -08:00
Sam Park
3af4eb393e Mocks 2020-01-24 22:53:54 -08:00
Sam Park
782501b8e9 Add a flag to control hiding behavior 2020-01-24 22:09:29 -08:00
Sam Park
dcd43bead1 Add pagination 2020-01-24 21:51:01 -08:00
Sam Park
fd93af8a55 Fix body string check 2020-01-24 21:51:01 -08:00
Sam Park
041c45d4c1 Move hide comments call up sooner 2020-01-24 21:51:01 -08:00
Sam Park
68d2bd9ff0 Update server/events/vcs/proxy.go
Co-Authored-By: Luke Kysow <1034429+lkysow@users.noreply.github.com>
2020-01-24 21:51:01 -08:00
Sam Park
815e91be36 Add tests 2020-01-24 21:51:01 -08:00
Sam Park
b4af6bc53b Integ hide old comments to updatePull command runner
So that every pull update will auto clean older comments
2020-01-24 21:51:01 -08:00
Sam Park
610c9b2c37 Add hide old comments VCS interface function
And implement the Github version.

The Golang Github client recommends using shurcooL/githubv4.
2020-01-24 21:51:01 -08:00
Tracey McEvoy
82bc26db19 Set Slack parameter AsUser to true 2020-01-22 16:35:28 +00:00
Luke Kysow
87cc4fb594 Undo change to bindata 2020-01-20 12:46:48 -06:00
Josh Soref
2cf5b0a42a Spelling (#902)
Spelling fixes
2020-01-20 12:46:00 -06:00
Luke Kysow
16687bae3b Update tests 2020-01-20 10:32:01 -06:00
Luke Jolly
18208abdfc Added flag --silence-fork-pr-errors 2020-01-20 10:30:14 -06:00
Luke Kysow
0df4d924b3 Update test name 2020-01-20 10:24:54 -06:00
Josh Sinfield
e78cdd9524 Update defaultwhenmodified to include **/terragrunt.hcl (#858)
Update defaultwhenmodified to include **/terragrunt.hcl

This allows a pre-existing TG 0.19+ project to autoplan if no when_modified is set

Closes #803
2020-01-20 10:24:26 -06:00
Luke Kysow
ec92e43d4b Refactor --vcs-status-name flag. 2020-01-20 10:16:59 -06:00
Tim Birkett
d6cfe5b20e Add status-name command line arg, config and tests 2020-01-20 10:11:21 -06:00
Luke Kysow
823263094c Merge pull request #903 from runatlantis/download-url
Add `--tf-download-url` flag
2020-01-20 09:22:53 -06:00
Luke Kysow
84e41ce110 Refactor -tf-download-url flag changes.
* Fix bad ordering of args calling NewClient()
* Make error messages clearer
2020-01-20 09:19:54 -06:00
Cullen McDermott
d4362ffec3 Add --tf-download-url configuration option 2020-01-20 09:19:54 -06:00
Luke Kysow
4078357bbf Merge pull request #888 from runatlantis/project-leading-slash
Allow absolute project dirs and fix AZDO
2020-01-03 09:58:53 -06:00
Luke Kysow
4e8d19be0a Convert AZDO paths to relative
Previously the AZDO paths returned by GetModifiedFiles were absolute.
Now they're relative to the repo root to match the rest of the VCS's.
2020-01-02 09:45:38 -06:00
Luke Kysow
112afe9579 Allow absolute project dirs
Previously, we wouldn't modify the config
    project: /a/b/c
and would use the absolute directory.

Now we prepend ./ and then run Clean() to ensure that every project dir
is relative.
2020-01-02 09:22:13 -06:00
Luke Kysow
c7046fad31 Merge pull request #886 from mcdafydd/fixes-880
Fixes #880
2019-12-20 11:00:51 -08:00
David McPike
022dc8a3ad Fixes linting 2019-12-20 14:27:43 +00:00
David McPike
0c6658c01b Fmt and name change 2019-12-20 14:16:20 +00:00
David McPike
11ef97ef97 Tests passing 2019-12-20 14:02:06 +00:00
David McPike
80791421bd Fix build errors 2019-12-19 17:30:22 +00:00
David McPike
523dd6ecf8 Fixes 880
- Update go-azuredevops version to include iterations functions
- Initial support for posting Azure Devops status to PR instead of commit
2019-12-19 17:21:10 +00:00
Andrew Jeffree
27c13036a0 Fix WriteGitCreds for BitBucket
The default BitbucketBaseURL value if not set by the user is
"https://api.bitbucket.org" which does not actually work with git.
2019-12-18 10:38:46 +11:00
Luke Kysow
889d584514 Refactor branch diverged warning.
- only check for divergence if using checkout strategy merge
2019-11-27 10:52:39 -08:00
Marco Rinalducci
a824ad4d23 Detects if master branch has diverged and warn to pull new commits in comment 2019-11-27 10:52:39 -08:00
Luke Kysow
1750a67335 Merge pull request #865 from runatlantis/when-modified
Allow when_modified files to be excluded
2019-11-27 09:39:10 -08:00