Commit Graph

1194 Commits

Author SHA1 Message Date
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
David McPike
7c42914d81 Ignore PR updated change reviewer events 2019-10-09 08:07:28 -05:00
David McPike
92e5126eaa Update mocks 2019-10-05 11:33:38 -05:00
David McPike
9424893e1f Complete migration to PR comment event
- Update docs
- Remove work item commented event code
2019-10-05 00:17:42 -05:00
Luke Kysow
86a56a39ba Merge pull request #783 from Nuru/logo
Use bigger logo on the web pages
2019-10-04 14:39:17 -07:00
David McPike
3b5a5b6e56 Change Azure Devops from Work Item to PR comment 2019-10-04 02:03:39 -05:00
Dave D'Amico
ae57df9c44 Fix to allow whitelist globbing for strings after wildcard (#796)
* almost ready for PR

* updated test and fmt

* added one more test per feedback

* updates to testing and code per feedback
2019-10-03 06:48:13 -04:00
David McPike
ce76e8ee18 Remove unnecessary copyright headers;minor cleanup 2019-09-26 21:46:01 -05:00
David McPike
9714c87dda Azure Devops event parser updates
- Extract owner and project from workitem.commented payload
- Process all Relations and return last error
2019-09-24 09:41:59 -05:00
David McPike
495cf76efd Azure Devops update
- Remove org and project configs
- Add support for WriteGitCreds
2019-09-23 08:24:59 -05:00
David McPike
bb88c95dff Improves Azure Devops webhook error handling 2019-09-22 16:09:04 -05:00
Nuru
4e8d1e64ac Use bigger logo on the web pages 2019-09-20 03:24:01 -07:00
Steve Mitchell
17bcd9d768 fix a picky test that depends on git version 2019-09-18 22:56:09 -04:00
Dave D'Amico
83b2adb593 Issue 720: display workspace name in locks UI list (#763)
* final updates for PR

* more updates

* final changes - ready for re-review

* changes based on feedabck

* forgot to update test
2019-09-16 13:07:10 -04:00
Dave D'Amico
b025a9037a Fix for Issue 727 (#762)
* initial commit for testing

* testing update

* go fmt
2019-09-03 13:00:17 -04:00
David McPike
e04005a682 Fix duplicate go-gitlab references 2019-08-30 13:09:50 -05:00
David McPike
c346cce484 Merge remote-tracking branch 'upstream/master' into azure-devops 2019-08-30 12:48:47 -05:00
David McPike
a31afcb7a4 Merge tag 'v0.9.0' into azure-devops 2019-08-29 17:52:36 -05:00
Luke Kysow
b81fe9a5e5 Switch to gomod 2019-08-26 18:38:22 +02:00
Luke Kysow
3919f05548 Update to latest version of go-gitlab 2019-08-26 18:23:52 +02:00
Jesse Bye
295fa93943 Support terragrunt.hcl for autoplanning 2019-08-26 15:06:04 +02:00
Luke Kysow
c646f20c34 Actually pass env vars between steps
Also some refactoring and testing.
2019-08-21 15:12:35 +02:00
Andrii Nasinnyk
33c0a72add Add var step to workflows
Add new var step for setting environment variable in workflows.
2019-08-21 15:06:49 +02:00
Luke Kysow
3ebebe590f Merge pull request #711 from ImperialXT/master
Create .git-credentials to allow secure auth when cloning private repos
2019-08-06 12:18:58 +01:00
Andrew Jeffree
e140823408 Add flag for configuring git-credentials-store
--write-git-creds will create a .git-credentials file and configure
git to use it. To allow authentication with your git remotes over https.
To access private repos.
2019-08-02 10:12:30 +10:00
Maxime Deravet
d6f2579cf9 Ensure terraform_version is downloaded when using non built-in step. Fixes #675 2019-08-01 14:32:32 -07:00
David McPike
b13bb2feac Resolve Azure Devops PR comments
- Remove AzureDevopsWorkItemID from CommandContext struct
- Add new dependencies to dep vendoring
- Change final CreateComment return to nil error value
- Clean up unused code/comments
2019-07-29 18:51:53 -05:00
David McPike
83d0b04532 Remove Project member from models Repo struct 2019-07-28 10:45:48 -05:00
David McPike
acef89adc4 Azure Devops PR minor cleanup, fix tests, checks
- Re-write tests for azuredevops_client
- CircleCI checks should pass
- NewAzureDevopsClient() now takes a hostname like NewGithubClient()
- Docs include comment about default merge strategy requirements
2019-07-28 10:37:45 -05:00
David McPike
40cd535881 Add Azure Devops pull request example for tests 2019-07-27 22:09:40 -05:00
David McPike
ff611af29f Minor style updates 2019-07-26 14:56:03 -05:00
David McPike
e8cfe5af28 Fix Azure Devops Pull Events
- Event type assertion should be pointer
- Remove merge attempted webhook event type
- Move closed pull request to updated event type
2019-07-26 14:22:14 -05:00
David McPike
c9c8f01c67 Fix panic from nil error 2019-07-26 10:29:20 -05:00
David McPike
424a6b005c Commit Azure Devops mocks 2019-07-16 22:07:40 -05:00
David McPike
29b74d25f1 Update Azure Devops Event Parser
- Always set explicit return values
- Add baseURL func parameter to facilitate testing
2019-07-16 21:57:41 -05:00
David McPike
f8d9e30a8e Update Azure Devops tests and get them to pass 2019-07-16 21:55:56 -05:00
Maxime Deravet
8180f35a1a Append terraform binary dir to PATH when running custom commands (#678)
Append Atlantis terraform binary dir to PATH when running custom commands
2019-07-16 15:00:10 +01:00
David McPike
eeaab9f6d7 Merge tag 'v0.8.3' into azure-devops 2019-07-12 23:27:43 -05:00
Luke Kysow
ee8707d239 Add flag for setting Terraform Enterprise hostname (#706)
--tfe-hostname will allow for creating a .terraformrc file with a
different hostname than app.terraform.io
2019-07-12 15:19:43 +01:00
Luke Kysow
b7d4e998f6 Detect remote ops for TF >= 0.12.0 (#705)
The error message we use to detect remote ops changed between 0.11.14
and 0.12.0. Recognize this new error message.
2019-07-12 11:14:52 +01:00
David McPike
475381b928 Merge tag 'v0.8.2' into azure-devops 2019-07-11 15:57:04 -05:00
Luke Kysow
9a21eef7a0 Escape additional comment args. (#699)
Remove extra quoting and instead add a backslach to each character in
the extra args before appending it to the command.
ex. atlantis plan -- -var key=val will result in:
  sh -c "atlantis plan \-\v\a\r \k\e\y\=\v\a\l"
Fixes #697.
2019-07-11 17:42:32 +01:00
Alex Rowley
dd02deaf76 Add CommentArgs to run step runner (#693)
Add CommentArgs to run step runner

This should allow the extra args passed in the comment to be used by
run steps

Fixes #670
2019-07-11 14:21:36 +01:00
Luke Kysow
915e15f30e Upgrade pegomock to 2.5 2019-06-14 14:39:26 +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
91eecbcb68 Add comment for bitbucket merge conflict detection 2019-06-12 12:28:52 +01:00
Luke Kysow
8bcb3726d4 Switch to Bitbucket 2.0 API for mergeable check 2019-06-12 12:21:47 +01:00
Luke Kysow
4944ee1687 Add comment explaining . => / replace 2019-06-05 11:30:24 +01:00