Luke Kysow
6dd82c6de1
Validate directory flag. Unlock on preexecute err.
...
Ensure -d flag uses relative dirs and doesn't allow for
directory traversal.
Fix bug where if there was an error in PreExecute, we
wouldn't unlock, leaving a possibly abandoned lock.
2018-02-26 14:32:06 -08:00
Luke Kysow
6b0eece5c9
Fix bug with top-level modules/ directory.
...
Fixes #12 . Previously we would assume that if there was a change
in any modules/ directory, we should run plan in the parent. Now
we first check whether the parent has a main.tf file. If it doesn't
then we assume it's not actually the root of a project.
2018-02-20 12:54:10 -08:00
Luke Kysow
6c159feff4
Rename to runatlantis from atlantisnorth.
2018-02-18 21:28:18 -08:00
Luke Kysow
0299d3ee12
Move to new atlantisnorth repo
2018-02-06 13:29:36 -08:00
Luke Kysow
7c1220a655
Rename from environment to workspace
2017-12-17 16:46:49 -08:00
Luke Kysow
741295067a
Use workspace instead of env for tf >=0.10
2017-12-17 15:40:39 -08:00
Luke Kysow
cc924899e5
Add documentation for server, bootstrap and server/events packages
2017-11-26 21:41:06 -08:00
Luke Kysow
acdf771ce7
Switch to newest pegomock library ( #205 )
2017-11-19 22:41:43 -08:00
Luke Kysow
fa43febf60
Gitlab ( #190 )
...
Gitlab initial implementation
2017-11-16 13:22:28 -08:00
Luke Kysow
19c32d1124
Rename projectdetector
2017-11-01 08:03:26 -07:00
Luke Kysow
eeb39c5e7f
Test plan_executor ( #177 )
...
* Refactor modified project detector and test
* Test plan_executor
* Unexport fields
* Update modified_projects_test.go
2017-10-31 20:16:12 -07:00
Luke Kysow
73d04fb89a
Add gometalint. Fix errors ( #176 )
2017-10-31 20:07:41 -07:00
Luke Kysow
a3e503ce5a
Add pre_init and pre_get hooks. Fixes #160
2017-10-23 14:46:28 -07:00
Luke Kysow
1586b62425
Extract code from plan/apply into ProjectPreExecute. Test
2017-10-20 06:16:32 -07:00
Luke Kysow
031a1eba4f
Refactor plan/apply into ProjectPreExecute
2017-10-19 07:43:10 -07:00
Luke Kysow
4dbe8cd0ba
Move non-server packages under events
2017-10-18 06:44:44 -07:00
Luke Kysow
55dfc23754
Split Planner into two interfaces
2017-10-18 06:44:44 -07:00
Luke Kysow
1c3fb84112
Move non-server code into events package
2017-10-18 06:44:44 -07:00