Commit Graph

652 Commits

Author SHA1 Message Date
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
Luke Kysow
7363cce699 Update config-inspect version 2020-08-27 12:26:20 -07:00
Luke Kysow
cd37563857 Merge pull request #1159 from runatlantis/disable-autoplan
Disable autoplan global flag
2020-08-18 15:59:59 -07:00
ValdirGuerra
34f9f3f348 Add support for disable autoplan from server config 2020-08-18 15:55:22 -07:00
Luke Kysow
cbe0b18c0e Refactor --skip-clone-no-changes work. 2020-08-18 15:48:33 -07:00
Quan Hoang
54e3dc2ef0 Skip cloning PR repository in case of no projects configured in repo config file were changed 2020-08-18 15:48:05 -07:00
Luke Kysow
eb46201003 Merge pull request #1135 from mcdafydd/azdo/fixes-1079
NewRepo() encodes spaces in clone URLs.
2020-08-06 15:42:35 -07:00
Luke Kysow
37ab0e2742 Merge pull request #1130 from runatlantis/allowlist
Deprecate --repo-whitelist for --repo-allowlist
2020-08-06 15:37:34 -07:00
Luke Kysow
f91cc27b68 Update go-gitlab 2020-08-06 15:30:20 -07:00
David McPike
0aea14a8ec Fixes #1079
- NewRepo() encodes clone URLs that contain spaces
2020-07-29 23:58:15 -05:00
Luke Kysow
5976b7c1bd Merge pull request #1128 from katenels/master
Log apply start at info level
2020-07-27 09:02:38 -07:00
Luke Kysow
8ac19e4017 Deprecate --repo-whitelist for --repo-allowlist 2020-07-25 23:50:09 -07:00
Luke Kysow
67b2217245 Retry get pull request calls to github
These calls have been 404'ing lately, likely due to eventual consistency
issues on GitHub's side where they send the PR created webhook but it's
not yet available on their API.

To work around this, we will retry up to 3 times with a 1s delay.
2020-07-25 23:46:41 -07:00
Kate Nelson
fa4b703f9a Log apply start at info level 2020-07-23 10:35:38 -04:00
Chris Alexander
4568213356 Reversed if statement for comment splitting 2020-07-10 18:13:05 -05:00
Mark Keisler
caf3319b7d Bring back the change from
2f074727e2 (diff-e348084f0b7562996b0bd5d429158e53)
that was clobbered.
2020-07-09 11:21:00 -05:00
Roberto Hidalgo
50a414cc2d Ignore .tflint.hcl (#1075)
* Ignore .tflint.hcl
2020-07-07 11:06:52 -07:00
Chris Alexander
aa1bfc0a27 Add "plan" to continued statement 2020-07-01 10:11:33 -05:00
Luke Kysow
197972a195 Update jquery to 1.5.1
(didn't think I'd be doing this in 2020! :D)
2020-06-25 13:41:10 -07:00
Luke Kysow
d3a6d18710 Merge remote-tracking branch 'origin/master' into deleted-status 2020-06-23 22:22:10 -07: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
Luke Kysow
875abf1362 Refactoring to github app code
- rename gh-app-key to gh-app-key-file for clarity
- change git credentials writer to append a line if there is an existing
.git-credentials file and in the case of the github app to replace the
old github app line
- removed automatically setting --write-git-creds to true when using a
github app and instead requiring this is set specifically
2020-06-19 11:41:44 -07:00
rob
13ebeee1d3 Error out instead of panicking when passed a bad keyfile 2020-06-16 21:27:24 -04:00
rob
2509240b9a listen to pull_request_review*, docs on webhooks 2020-06-16 21:04:09 -04:00
rob
dffba3687a enable webhook url, listen to issue_comment event 2020-06-16 20:47:18 -04: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
parmouraly
abd2161bbb Fix typo from master merge conflict 2020-06-04 16:46:15 +01:00
parmouraly
ad512f100c Merge branch 'master' into fix-automerge-on-noapply 2020-06-04 16:32:25 +01:00
parmouraly
8a905f9c0b Typo in BoltDB test 2020-06-04 16:27:23 +01:00
parmouraly
036e1f699e Fix typo on boltDB reference 2020-06-04 16:21:16 +01:00
parmouraly
f546b69800 Remove BoltDB interface and mock as not needed 2020-06-04 16:12:26 +01:00
rob
011d3f8229 Test against a live repo, fix accordingly
more docs, add installation step
2020-06-03 20:25:11 -04: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
Roberto Hidalgo
199cdfe192 Play around with github app credentials 2020-06-03 20:16:24 -04:00
Sam Park
2f074727e2 Fix GraphQL URL for Github Enterprise
Partially addresses #1009, but doesn't fix it entirely. The 406 response
is still a puzzler.
2020-06-03 11:34:44 -07:00
parmouraly
9689dbb981 Fix lint error 2020-06-03 17:08:16 +01:00
parmouraly
421b24738e Integrate some more PR feedback including a test 2020-06-03 17:00:30 +01:00
Mark Brennan
1269c8f1a5 Fixed Azure URL parameter for WriteGitCreds
The AzureDevopsUser, AzureDevopsToken, and the AzureDevopsURL are combined
to create the .git-credentials file.
When supplying the full FQDN, https://dev.azure.com, https://
is written twice to the .git-credentials file.
2020-06-02 13:20:44 -04:00
Richard Lee
0f496c867a Export ctx.RepoRelDir to run step environment. (#1063)
* Export ctx.RepoRelDir to run step environment.
2020-06-01 17:06:56 -07:00
Christopher Ketchum
88e397ed6d vcs/github_client: add logging around github API calls (#1042) 2020-06-01 16:42:03 -07:00
Florent Monbillard
1594fc2f83 GitLab's Merge Requests are using ! not # 2020-05-28 17:09:59 -04:00
tammert
856170821c Changed default log level for web requests from INFO to DEBUG 2020-05-26 19:52:13 +02:00
Luke Kysow
df21016f81 Merge pull request #1049 from runatlantis/auto-generate-commit
Update go-github, empty automerge commit
2020-05-25 16:56:05 -07:00
Luke Kysow
7b2a0efc82 Merge pull request #1048 from runatlantis/update-pegomock
Update pegomock
2020-05-25 16:55:45 -07:00
CJ Ketchum
d7ce63742e Add test for plan-draft behavior 2020-05-25 16:45:38 -07:00
Christopher Ketchum
c300dee745 Add flag to toggle autoplanning on draft PRs 2020-05-25 16:28:55 -07:00
Luke Kysow
aa01df6f7d Merge pull request #1052 from runatlantis/draining
Draining cleanup
2020-05-25 15:45:54 -07:00
Luke Kysow
43ebee3175 Draining cleanup 2020-05-25 15:09:51 -07:00