Gerald Barker
d2610a78af
Add Option to globally disable apply ( #1230 )
...
* Add Option to globally disable apply
Co-authored-by: Gerald Barker <geraldbarker@mail.com >
2020-10-27 21:01:39 -07:00
Luke Kysow
c789e1a787
Merge pull request #1177 from dmattia/dmattia/concurrency_flag
...
Added configurable parallelism pool size
2020-10-26 17:31:12 -07:00
Nish Krishnan
9fa0c91bcb
[1193] Fix merge strategy for gh apps
2020-10-14 17:35:38 -07:00
dmattia
605dde7b2b
Fix typos
2020-09-03 10:57:52 -05:00
dmattia
d1fe029438
Added configurable parallelism pool size
2020-09-03 10:51:40 -05:00
ValdirGuerra
34f9f3f348
Add support for disable autoplan from server config
2020-08-18 15:55:22 -07:00
Chris Alexander
aa1bfc0a27
Add "plan" to continued statement
2020-07-01 10:11:33 -05:00
Luke Kysow
4455e8b050
Merge pull request #1091 from runatlantis/unlock-cmd
...
Unlock cmd
2020-06-23 21:54:08 -07:00
Paris Morali
aed8d22b52
Implement atlantis unlock
...
This command is run on a pr and deletes all locks for the pr
2020-06-23 20:42:03 -07:00
Paris Morali
ab7016063a
Atlantis lock discard via VCS comment
...
This successfully deletes the atlantis lock and
allows a competing PR to plan, but doesn not delete
the actual plans, so a user can still apply after
the lock is discarded.
This will be investigated in a follow up commit
Also fixed the basic mark down rendering for the discard command
2020-06-08 15:56:58 +01:00
rob
227ce9cbf4
Upgrade to github/v31 for CompleteAppManifest
...
split fixtures out elsewhere, add working dir test
2020-06-03 20:18:13 -04:00
Luke Kysow
909723f22e
Merge pull request #1051 from runatlantis/draining
...
Support graceful shutdown
2020-05-25 15:09:25 -07:00
Luke Kysow
78b1ea25d5
Refactor draining feature
...
- trigger on SIGTERM/INT rather than HTTP POST
- remove atlantis drain command
- refactor into generic status controller
2020-05-25 15:03:08 -07:00
Marc Barlo
bebfdcaeef
Add back the parallel_plan repo cfg option
...
+ Default parallel plans breaks in a lot of autoplan scenarios i.e. with shared workspaces
+ Added a set of e2e tests to check parallel plans and applies
+ Also added an option to the Terraform client to turn off the plugin cache. This was breaking the e2e test suite (never seen this error in practice)
2020-05-07 22:14:04 -07:00
Marc Barlo
7452d6aa13
Make parallel plans the default. Add flag for parallel apply
2020-05-05 18:15:10 -07:00
Marc Barlo
4d1899f032
Remove pool size option, set default to 15
2020-05-05 17:33:52 -07:00
Benoit BERAUD
c8bbad6de7
Add even more tests
2020-05-05 16:17:43 +02:00
Benoit BERAUD
6d42a56747
Move drainage checks to the async command runner
2020-05-05 16:15:24 +02:00
Marc Barlo
d078357d65
Merge branch 'master' of github.com:runatlantis/atlantis into parallel-plans-upstream
2020-05-04 17:19:34 -07:00
Luke Kysow
80347f4c1d
Merge remote-tracking branch 'origin/master' into hide-comments
2020-04-15 21:47:58 -07:00
Luke Kysow
6e8b4eed16
Small refactor
2020-04-15 21:44:34 -07:00
Luke Kysow
82afe0b061
Fix lint issues
2020-04-13 10:04:37 -07:00
CJ Ketchum
bc545844d3
Update autoplan so commit status is set only after finding projects ( resolves #954 )
2020-03-29 15:12:12 -07:00
Marc Barlo
f0c483d7eb
Add wait group for parallel plans
2020-02-07 14:30:02 -08:00
Marc Barlo
f2609fd70b
Add parallel plans via repo config
2020-02-07 14:21:53 -08:00
Sam Park
782501b8e9
Add a flag to control hiding behavior
2020-01-24 22:09:29 -08:00
Sam Park
041c45d4c1
Move hide comments call up sooner
2020-01-24 21:51:01 -08:00
Sam Park
b4af6bc53b
Integ hide old comments to updatePull command runner
...
So that every pull update will auto clean older comments
2020-01-24 21:51:01 -08:00
Josh Soref
2cf5b0a42a
Spelling ( #902 )
...
Spelling fixes
2020-01-20 12:46:00 -06:00
Luke Jolly
18208abdfc
Added flag --silence-fork-pr-errors
2020-01-20 10:30:14 -06:00
Luke Kysow
07ffe179e7
Small refactoring to azure devops support
2019-10-25 18:07:18 -07: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
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
David McPike
ff611af29f
Minor style updates
2019-07-26 14:56:03 -05:00
David McPike
f8d9e30a8e
Update Azure Devops tests and get them to pass
2019-07-16 21:55:56 -05:00
David McPike
cb9bdb017d
Resolve merge conflict on DisableApplyAll flag
2019-05-24 21:26:59 -05:00
Luke Kysow
7595265a6b
Finishing touches to disable-apply-all
...
- fix missing part of a test
- log when ignoring
2019-05-23 12:09:51 -04:00
Will Soula
b77a09dc97
Add --disable-apply-all flag
...
Add a flag to disable the use of the command `atlantis apply` so you
can enforce that each plan must be applied separately.
2019-05-23 12:09:51 -04:00
David McPike
4d11f8089a
add Azure Devops pull getter support
2019-04-27 17:50:52 -05:00
Luke Kysow
8982a67b78
Run latest goimports
2019-03-30 20:22:49 -05:00
Luke Kysow
d78b106cab
Refactor @jjulien's server-side config work.
2019-03-27 14:47:48 -05:00
Luke Kysow
4fc22aedeb
Split status checks into plan and apply.
...
Split single top-level status check into one plan and one apply check.
These checks will also now track the whole pull request status rather
than just the last action.
2019-03-05 14:29:43 -05:00
Luke Kysow
a13bce59ad
updateDB should not return a pointer
2019-03-05 11:54:04 -05:00
Luke Kysow
5f4a94b0af
Move CommandName to models package
2019-02-26 12:03:25 -05:00
Luke Kysow
1997e112d3
Remove duplicate vcs proxy interface
...
This is the same interface as vcs.Client so no need to have both.
2019-02-25 16:51:26 -05:00
Luke Kysow
bebbcb8a4d
Fix automerge bug in Bitbucket Server
...
BB Server requires we send a 'version' parameter along with our call to
/merge.
2019-02-19 17:30:28 -05:00
Luke Kysow
4e429581b0
Refactor changes to get mergeability early
2019-02-11 14:46:18 -06:00
Pratik Mallya
09782c4b6d
Allow "Mergeable" apply requirement to work
...
Get the Mergeable status of the PR before updating the
Status. This allows for the Status to be a required
Status for merging the PR. This allows us to use the
atlantis status as a Required status, which is the
configuration often used, since most deployments
want to ensure tf plans have all been successfully
applied before merging
Issue: https://github.com/runatlantis/atlantis/issues/453
2019-02-09 03:26:26 -08:00