Commit Graph

541 Commits

Author SHA1 Message Date
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
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
Leon Sodhi
ce72bd4019 Allow modified files to be excluded 2019-11-27 09:33:07 -08:00
Luke Kysow
a34b767aa5 Test when force_remove_source_branch is bool 2019-11-27 09:17:32 -08:00
David McPike
c017e73a7b Azure Devops: Improve comment formatting
Fixes #854
2019-11-26 22:03:32 -06:00
Luke Kysow
153ac96510 Fix bug when redefining default workflow
Previously, given the config:
  workflows:
    default:
      ...

We wouldn't actually use the redefined default workfow in our always
existing first repo config. This would mean that the redefined default
was never used unless users explicitly set workflow: default in the
repos array.
2019-11-26 16:16:51 -08:00
David McPike
09eb6ac18e Fixes #835
- Improve tests
    - Replace instead of Split
2019-11-14 17:57:58 -06:00
David McPike
71239cf943 Fixes #835
AzureDevops: Support slashes in branch names
2019-11-14 00:23:44 -06:00
Luke Kysow
649a124073 Merge pull request #816 from mdcurran/yml-extension-warning
Log warning when atlantis.yml is used as config
2019-10-30 08:42:42 -07:00
Max Curran
c2934b4b49 Error out if atlantis.yml is used as config file 2019-10-30 00:12:38 +00:00
Luke Kysow
0d5e25c42c Merge pull request #817 from runatlantis/tf-version-detection
Logging cleanup for version detection
2019-10-28 15:37:26 -07:00
Luke Kysow
67fd5ef992 Logging cleanup for version detection 2019-10-28 15:07:25 -07:00
Luke Kysow
a02a663ec6 Merge pull request #789 from kennethtxytqw/terraform-version-config-detection
Terraform version config detection
2019-10-28 15:07:11 -07:00
Luke Kysow
e56f14a781 Log output of failed terraform workspace new cmd 2019-10-25 18:15:50 -07:00
Luke Kysow
fed2f59b85 Merge pull request #813 from runatlantis/azdo
Small refactoring to azure devops support
2019-10-25 18:11:15 -07:00
Luke Kysow
07ffe179e7 Small refactoring to azure devops support 2019-10-25 18:07:18 -07:00
Luke Kysow
774b6da2ba Merge pull request #719 from mcdafydd/azure-devops
Azure Devops support
2019-10-25 18:02:28 -07:00
Andrew Jeffree
a9c843d2f2 Configure git to use https instead of ssh. 2019-10-25 10:59:50 +11:00
Kenneth Tan Xin You
4db1ed87f1 Added terraform-config-inspect. 2019-10-15 23:17:10 +08:00
David McPike
822928c710 Fix azuredevops PullIsApproved logic 2019-10-09 19:43:38 -05:00
David McPike
a8685e0e3a Clean up log messages 2019-10-09 08:23:21 -05:00