Commit Graph

227 Commits

Author SHA1 Message Date
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
Luke Kysow
542a1093fa Fix locking 2018-06-26 14:31:06 +02:00
Luke Kysow
a564c7e075 Docs 2018-06-25 08:18:59 +01:00
Luke Kysow
cf3e654733 Start on tests 2018-06-21 23:33:11 +01:00
Luke Kysow
9e1d92b5d8 WIP 2018-06-21 19:07:42 +01:00
Luke Kysow
17a9c7f535 Regen mocks 2018-06-21 18:50:19 +01:00
Luke Kysow
124a016f08 WIP 2018-06-21 18:27:03 +01:00
Luke Kysow
d3ec832eff WIP 2018-06-21 18:18:54 +01:00
Luke Kysow
d359131a29 RepoWhitelist -> RepoWhitelistChecker 2018-06-20 15:20:10 +01:00
Luke Kysow
0c966d50e9 GitlabRequestParser -> GitlabRequestParserValidator 2018-06-20 15:11:44 +01:00
Luke Kysow
c6b18e3839 Fix tests 2018-06-20 12:06:39 +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