Commit Graph

2135 Commits

Author SHA1 Message Date
Luke Kysow
0c966d50e9 GitlabRequestParser -> GitlabRequestParserValidator 2018-06-20 15:11:44 +01:00
Luke Kysow
c98d1040c5 Update e2e for new version. 2018-06-20 12:42:25 +01:00
Luke Kysow
856c0d0c72 Use atlantisbot 2018-06-20 12:19:16 +01:00
Luke Kysow
c6b18e3839 Fix tests 2018-06-20 12:06:39 +01:00
Luke Kysow
182471742c Use correct case for sirupsen. 2018-06-20 11:49:59 +01:00
Luke Kysow
07ff6972eb Vendor docker 2018-06-20 11:35:41 +01:00
Luke Kysow
3c9188b2b8 Add unit test image 2018-06-20 11:09:02 +01:00
Luke Kysow
21694c9230 Run dep ensure 2018-06-19 21:10:07 +01:00
Luke Kysow
45d80fc695 Fix gometalint errors. 2018-06-19 20:59:25 +01:00
Luke Kysow
6b507eb721 Add -p flag. 2018-06-19 20:51:59 +01:00
Luke Kysow
e7d5bf54fb Implement not deleting repo when same sha 2018-06-18 22:51:39 +01:00
Luke Kysow
d9a47361e5 Implement when_modified. 2018-06-18 19:55:14 +01:00
Luke Kysow
de5c4061bd Add -var test. 2018-06-18 10:28:58 +01:00
Luke Kysow
a162b36b94 Remove need for .git in test fixtures. 2018-06-16 20:54:29 +01:00
Luke Kysow
a9e9e18f2e Enable multiple cases for e2e testing 2018-06-16 18:11:30 +01:00
Luke Kysow
e97b98e4a0 Add first e2e test with mocks. 2018-06-15 17:52:14 +01:00
Luke Kysow
8ab4857f77 Fix all tests 2018-06-15 16:16:31 +01:00
Luke Kysow
b5e2a730de WIP Add operators and get compiled. 2018-06-15 14:03:27 +01:00
Luke Kysow
d70e57e87b Yaml parsing and validation. 2018-06-13 13:54:04 +01:00
Luke Kysow
f59fe33a4c Parse YAML without defaults/validation. 2018-06-12 18:43:22 +01:00
Luke Kysow
3525ab3bd9 WIP 2018-06-12 14:54:38 +01:00
Luke Kysow
9839e0dac1 Move execution planner. Don't plan in deleted dirs 2018-06-11 18:00:57 +01:00
Luke Kysow
437b62591a Test execution_planner 2018-06-08 20:58:29 +01:00
Luke Kysow
d6883e83e4 Move runtime elements to the runtime package 2018-06-08 16:36:04 +01:00
Luke Kysow
b531705429 Split out config elements into separate files 2018-06-08 15:55:55 +01:00
Luke Kysow
69c788ec66 Rename package repoconfig to yaml 2018-06-07 15:40:48 +01:00
Luke Kysow
d06f3ca3d2 Implement custom run step 2018-06-06 22:12:30 +01:00
Luke Kysow
aef8a632c3 Make tests more readable 2018-06-06 18:54:27 +01:00
Luke Kysow
2175b50472 Use new steps in plan/apply
- Fix lockURL issues by adding new Router object.
- Use new ProjectLocker and delete PreProjectExecutor.
2018-06-05 19:39:10 +01:00
Luke Kysow
7dfab213e8 Parse config and build execution plan. 2018-06-05 17:23:58 +01:00
Luke Kysow
75a55dd696 Moved into new package 2018-06-05 17:13:13 +01:00
Luke Kysow
42b6646cbe Implement config reader and parser 2018-06-05 17:12:19 +01:00
Luke Kysow
a22e23718c Improve test helpers. 2018-06-05 17:11:47 +01:00
Luke Kysow
06f68b88e4 Add TF_WORKSPACE env var when execing terraform
Even though we're switching to the right workspace this is a nice
safeguard to have. I don't think it incurs additional time.
2018-06-05 17:08:56 +01:00
Luke Kysow
464cd51eae Implement plan step. 2018-06-05 17:08:39 +01:00
Luke Kysow
692e4144ed Implement init step. 2018-06-05 17:07:49 +01:00
Luke Kysow
6dc0e3c3f3 Implement apply step. 2018-06-05 17:07:31 +01:00
Luke Kysow
8ee16a0281 By default atlantis plan will run in root dir.
This change makes things cleaner because there will only ever be one
plan generated in the comment flow. It's okay to make this change
because typing the plan command a couple times isn't too bad AND we're
going to be implementing autoplanning which should handle most of the
times you needed to type plan from before.
2018-06-05 17:06:57 +01:00
Luke Kysow
9e5f57a549 Merge pull request #146 from runatlantis/codecov
Disable code coverage GitHub statuses.
2018-06-04 12:15:29 +02:00
Luke Kysow
049c0347e7 Disable code coverage GitHub statuses.
Many pull requests that I've wanted to merge have failed CodeCov
statuses. This indicates that they're not useful for this project at
this time so I'm disabling them. The comment from CodeCov is the most
useful part.
2018-06-04 11:47:50 +02:00
Luke Kysow
831e5938ac Merge pull request #143 from runatlantis/release-0.3.10
Release 0.3.10
v0.3.10
2018-05-30 21:37:46 +02:00
Luke Kysow
0eaf8adba8 Release 0.3.10 2018-05-30 21:36:52 +02:00
Luke Kysow
10ed280b5a Merge pull request #142 from runatlantis/spelling
Fix some spelling errors.
2018-05-30 19:01:27 +02:00
Luke Kysow
93c4be3a53 Fix some spelling errors. 2018-05-30 18:59:26 +02:00
Luke Kysow
3b5f249e7f Merge pull request #141 from runatlantis/http-tests
Use new mux.SetURLVars function for testing.
2018-05-30 18:55:18 +02:00
Luke Kysow
143fb82bd2 Use new mux.SetURLVars function for testing. 2018-05-30 18:48:12 +02:00
Luke Kysow
497902547d Update gorilla/mux 2018-05-30 18:47:21 +02:00
Luke Kysow
ba1d3fdbd3 Merge pull request #140 from runatlantis/mohit
Comment back on pull request when lock is discarded from Atlantis UI
2018-05-30 18:36:23 +02:00
Luke Kysow
a57d4c6618 Comment on pull request when lock discarded.
When the lock is discarded from the Atlantis UI, comment back on pull
request so users know the lock was discarded.

- Adds the BaseRepo field to the PullRequest model.
- This change is backwards compatible with previous installations where
the DB will have a Project model with a PullRequest without the BaseRepo
field.
2018-05-30 16:38:40 +02:00
mo-hit
9df3609e6e WIP Implement commenting on pull when lock deleted. 2018-05-30 16:28:58 +02:00