Commit Graph

2135 Commits

Author SHA1 Message Date
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
Luke Kysow
25cd66daa5 Merge pull request #1072 from goodspark/fix-ge-graphql-endpoint
Fix GraphQL URL for Github Enterprise
2020-06-03 15:57:26 -07: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
Luke Kysow
6e0f265616 Merge pull request #1070 from markbrennan/master
Fixed Azure URL parameter for WriteGitCreds
2020-06-02 10:38:31 -07: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
Luke Kysow
edf655a57b Merge pull request #1069 from runatlantis/status-endpoint
Fix changelog
2020-06-01 17:04:30 -07:00
Luke Kysow
a0a65d2837 Fix changelog 2020-06-01 17:00:15 -07:00
Christopher Ketchum
88e397ed6d vcs/github_client: add logging around github API calls (#1042) 2020-06-01 16:42:03 -07:00
Luke Kysow
3a327baf9e Merge pull request #1068 from grimm26/allow_draft_prs
Modify the CHANGELOG for correct draft PR autoplanning flag
2020-06-01 12:35:07 -07:00
Mark Keisler
0038e3ac42 Modify the CHANGELOG to reflect that the code says --allow-draft-prs
not --enable-draft-prs
2020-06-01 14:29:37 -05:00
Luke Kysow
fd9131a11d Merge pull request #1062 from runatlantis/release-0.13.0
Release 0.13.0
v0.13.0
2020-05-29 11:43:06 -07:00
Luke Kysow
9ed38cfd0b Release 0.13.0 2020-05-29 11:38:40 -07:00
Luke Kysow
a1682c6990 Merge pull request #1059 from EppO/fix-gitlab-mr-link
GitLab's Merge Requests are using ! not #
2020-05-28 14:22:07 -07:00
Florent Monbillard
1594fc2f83 GitLab's Merge Requests are using ! not # 2020-05-28 17:09:59 -04:00
Luke Kysow
dc3ea77dff Merge pull request #1057 from chenrui333/tf-0.12.26
Bump tf to v0.12.26
2020-05-27 10:59:40 -07:00
Rui Chen
a9873aeb58 Bump tf to v0.12.26 2020-05-27 13:37:54 -04:00
Luke Kysow
b8e813d8fa Merge pull request #1056 from tammert/request-logging-debug
Changed default log level for web requests from INFO to DEBUG
2020-05-26 11:18:06 -07:00
tammert
856170821c Changed default log level for web requests from INFO to DEBUG 2020-05-26 19:52:13 +02:00
Luke Kysow
a75c5bb8be Merge pull request #1054 from runatlantis/atlantis-base
Use atlantis-base:v3.3 with git-lfs
2020-05-25 18:42:17 -07:00
Luke Kysow
28c1f4bb80 Use atlantis-base:v3.3 with git-lfs 2020-05-25 18:38:04 -07: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
Luke Kysow
44e8191ef8 Merge pull request #1053 from runatlantis/plan-drafts
Plan drafts
2020-05-25 16:53:51 -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
f15377be82 Add dev-Dockerfile 2020-05-25 15:45:37 -07:00
Luke Kysow
43ebee3175 Draining cleanup 2020-05-25 15:09:51 -07: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
Luke Kysow
6418b57f55 Merge pull request #926 from segmentio/parallel-plans-upstream
Add support for parallel plans
2020-05-25 12:25:43 -07:00
Luke Kysow
3eaa67e1ef Update go-github, empty automerge commit
Using an empty auto-merge commit will cause GitHub to autogenerate its
own commit message like would happen when using the UI.
2020-05-25 12:07:52 -07:00
Luke Kysow
8979a5fd09 Update pegomock 2020-05-25 11:58:50 -07:00
Paris Morali
cb26355da1 Add the rest of the BoltDB interface methods 2020-05-25 15:58:01 +01:00
Luke Kysow
f109edcf6a Merge pull request #1037 from chenrui333/tf-0.12.25
Bump tf to v0.12.25
2020-05-19 14:00:51 -07:00
Luke Kysow
64135afa74 Merge pull request #1038 from ninesinc/andrewring/close-drafts
Release locks when closing draft PRs
2020-05-19 14:00:30 -07:00
Andrew Ring
3c87af9996 Release locks when closing draft PRs
If plan is run manually in a draft PR, the PR may hold locks. If
the draft PR is then closed, without first marking it Ready For
Review, the locks are left in place. To resolve this, we can
process closing draft PRs in the same way as non-draft PRs.
2020-05-13 10:35:22 -07:00
Rui Chen
9e2ceae76d Bump tf to v0.12.25 2020-05-13 13:09:56 -04:00
Luke Kysow
39c5ad8e5b Merge pull request #1033 from wagner/add-doc-on-tf-cloud-token
Add instructions for Terraform Cloud token permissions
2020-05-11 16:51:52 -07:00
Wagner Narde
d6831a4cd5 Add instructions for Terraform Cloud token permissions 2020-05-11 20:11:36 -03:00
Paris Morali
ade9b31593 Add BoltDB interface and some relevant tests
With BoltDB interface we are able to mock/stub and
improve test coverage.
Some other refactoring was required to make code aware
and compatible with the new interface
2020-05-11 15:13:36 +01:00
Paris Morali
ce1d577f1d Integrate PR feedback and tests adapted 2020-05-09 11:42:48 +01:00
Marc Barlo
67ef5fc924 Bump CI 2020-05-08 10:09:56 -07:00
Marc Barlo
0e22d2baab gofmt -s 2020-05-08 10:01:47 -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