Commit Graph

810 Commits

Author SHA1 Message Date
Luke Kysow
f8be04e6c6 Update tests for apply all 2018-08-08 17:08:08 -10:00
Luke Kysow
12a9a19fde First pass at naked plan/apply working on all. 2018-08-08 17:08:08 -10:00
Luke Kysow
5ee990cec1 Don't default dir and workspace.
Lay groundwork for atlantis plan/apply to work on everything.
2018-08-08 17:08:08 -10:00
Luke Kysow
a217e1f880 Add comment to apply all with atlantis apply 2018-08-08 17:08:08 -10:00
Luke Kysow
0bf295bf72 Ensure dir is cleaned. 2018-08-08 17:08:08 -10:00
Luke Kysow
a201c8a1bb Ignore extra newlines in comments.
Accept comments like
```
atlantis plan

```
So that when a comment is copy-pasted in GitHub and GitHub adds two
newlines, Atlantis still parses that comment.
2018-08-02 20:43:09 -07:00
Luke Kysow
6940bfa57e Rename enum 2018-08-02 20:26:05 -07:00
Luke Kysow
ff85cbef70 Require approval from someone other than PR author
In Bitbucket cloud, the pull request author can approve their own pull
request. Ignore this approval.

Fixes #201
2018-07-28 06:57:49 -07:00
Luke Kysow
6e14c200f3 URL encode auth to avoid url issues. 2018-07-25 14:49:47 +02:00
Luke Kysow
5d43445505 Test models 2018-07-25 13:14:02 +02:00
Luke Kysow
da236e953b Test Bitbucket Server 2018-07-24 20:34:01 +02:00
Luke Kysow
e8c0f7c5bb Add webhook secret checking. 2018-07-24 20:25:20 +02:00
Luke Kysow
33926a01f2 WebHook -> Webhook 2018-07-24 20:24:27 +02:00
Luke Kysow
a4c48f5d47 Add provisional Bitbucket Server support 2018-07-24 20:23:51 +02:00
Luke Kysow
718619c045 Rename Bitbucket to BitbucketCloud 2018-07-24 20:23:51 +02:00
Luke Kysow
c21e577e51 Add bitbucket cloud/server events 2018-07-24 20:23:51 +02:00
Luke Kysow
d1a78cfa51 Switch to map instead of switch 2018-07-24 20:23:51 +02:00
Luke Kysow
5a842fb0bf Fix gometalinter errors 2018-07-24 17:02:01 +02:00
Luke Kysow
2add74484b Release 0.4.3 2018-07-23 12:44:26 +02:00
Luke Kysow
2ea90c58df Merge pull request #189 from runatlantis/bitbucket
Bitbucket Cloud
2018-07-23 12:40:59 +02:00
Luke Kysow
506b817acd Add bitbucket json events. Docs. 2018-07-21 21:30:10 +02:00
Luke Kysow
3d5ef7adbf Code cleanup 2018-07-20 20:02:14 +02:00
Luke Kysow
0e5a29da2a Update exp responses. 2018-07-20 14:37:44 +02:00
Luke Kysow
ea08e7f2a1 Fix gometalint check 2018-07-20 14:37:42 +02:00
Luke Kysow
2a3e931eb6 Test bitbucket client 2018-07-20 14:30:03 +02:00
Luke Kysow
e2930e48e5 Test bitbucket parsing 2018-07-20 13:27:25 +02:00
Luke Kysow
bd8335f82f Rename CommitStatus enums 2018-07-20 12:43:48 +02:00
Luke Kysow
1fc4667c63 WIP bitbucket 2018-07-19 21:52:33 +02:00
Luke Kysow
84078dc21e Remove unused autoplan param. 2018-07-16 17:29:28 +02:00
Luke Kysow
d11a927d7d Don't comment back on autoplan no projects. 2018-07-16 17:24:29 +02:00
Luke Kysow
5c7f1cebe9 Fix formatting. 2018-07-10 14:53:55 +02:00
Luke Kysow
f7eedbcc83 Add testcase for matching tfvars. 2018-07-10 14:44:33 +02:00
Luke Kysow
a6574b897d Change default when_modified to **/*.tf*
This is so .tfvars files match.
2018-07-10 14:24:30 +02:00
Luke Kysow
78a2bb519e Set PLANFILE environment variable in run step.
Env var is set to where Atlantis expects the planfile to be.
Fixes #168.
2018-07-07 10:04:49 +02:00
Luke Kysow
88da8c6eae Ensure if name is set is not empty. 2018-07-07 09:43:47 +02:00
Luke Kysow
9b2d037373 Add .gometalint.json config
After update of errcheck, needed to explicitly disable checking fmt
functions.
2018-07-05 13:54:10 +02:00
Luke Kysow
f9eeaa064e Add /healthz endpoint. 2018-07-04 18:44:17 +02:00
Luke Kysow
b2bd90da61 Various fixes
- delete working dir when lock deleted
- check if dir still exists when looking at modified
- check if atlantis.yaml is allowed before parsing
2018-07-03 13:32:17 +02:00
Luke Kysow
85a775b94b Fix todos. Remove TF_WORKSPACE. 2018-07-02 14:39:39 +02:00
Luke Kysow
f067818aa5 Test project command runner. 2018-07-01 23:48:32 +02:00
Luke Kysow
6d8766403b Test GitHub client. 2018-07-01 22:12:50 +02:00
Luke Kysow
13a70c772d Add new --allow-repo-config flag. 2018-06-30 23:27:15 +02:00
Luke Kysow
f29dc00edf Warn if not using version 2 2018-06-29 20:58:30 +02:00
Luke Kysow
f01915876d Add env vars to run step 2018-06-29 20:20:55 +02:00
Luke Kysow
71716a6461 Cleanup unused code. 2018-06-29 19:42:28 +02:00
Luke Kysow
9e7509aeee Test command runner 2018-06-29 19:10:10 +02:00
Luke Kysow
3339dcd92b Dir/Path -> RepoRelDir, path (in templates) -> dir 2018-06-29 18:05:47 +02:00
Luke Kysow
507ce4358a Rename Spec -> Config 2018-06-29 17:33:02 +02:00
Luke Kysow
6f8401d57b Test BuildAutoplanCommands 2018-06-29 17:21:53 +02:00
Luke Kysow
12f071b237 Rename atlantisworkspace to workingdir. 2018-06-27 20:43:43 +02:00