Commit Graph

21764 Commits

Author SHA1 Message Date
Sander van Harmelen b28f47055d backend/remote: extend mocks and add sentinel tests 2018-09-26 22:34:32 +02:00
Paddy Carver 2eadc8f625 Don't allow sub-blocks for SetNew.
You can't set individual items in lists, you can only set the list as a
whole, so we shouldn't allow sub-blocks to SetNew or SetNewComputed.
2018-09-26 12:38:38 -07:00
Sander van Harmelen 2bd1040bbd backend/remote: extend mocks and add apply tests 2018-09-26 21:35:41 +02:00
Sander van Harmelen 9f9bbcb0e7 backend/remote: lots of improvements
This commit adds:

- support for `-lock-timeout`
- custom error message when a 404 is received
- canceling a pending run when TF is Ctrl-C’ed
- discard a run when the apply is not approved
2018-09-22 11:49:42 +02:00
Sander van Harmelen 621d589189 backend/remote: add support for the apply operation 2018-09-22 11:49:42 +02:00
Sander van Harmelen 27b720113e
Merge pull request #18914 from hashicorp/f-update-deps
govendor: update `go-tfe`
2018-09-21 18:44:27 +02:00
Radek Simko 0a99df29c3
Merge pull request #18910 from hashicorp/docs-fix-plugin-crud
docs: Fix inaccurate plugin CRUD description
2018-09-21 07:17:18 +01:00
Sander van Harmelen 4b9f17d967 govendor: update `go-tfe` 2018-09-20 21:54:54 +02:00
Paddy Carver 393c32624a Add tests to ensure clearing sub-blocks works. 2018-09-20 10:52:36 -07:00
Radek Simko ecac80fd8e
docs: Fix inaccurate plugin CRUD description 2018-09-20 17:18:42 +01:00
Kristin Laemmert 5522500777
Merge pull request #18906 from otofune/patch-1
website: Fix proper nouns of vcs services
2018-09-20 07:40:57 -07:00
otofune 2a902fc06d
Fix proper nouns of vcs services 2018-09-20 00:26:15 +00:00
Paul Hinze 0005d93ab8
Merge pull request #18900 from hashicorp/b-skip-test-when-root
helper/pathorcontents: Skip one test when root
2018-09-19 18:02:28 -05:00
Chris Griggs 9caae644cc
Merge pull request #18903 from cgriggs01/cgriggs01-rightscale
RightScale provider links
2018-09-19 13:39:14 -07:00
Chris Griggs 735e38916a
CamelCase! 2018-09-19 13:22:12 -07:00
Chris Griggs 08c407a468
Merge branch 'master' into cgriggs01-rightscale 2018-09-19 13:20:26 -07:00
Chris Griggs 28ef7e2d37
Update 2018-09-19 13:15:35 -07:00
Chris Griggs daf1ec607d
CamelCase 2018-09-19 13:07:48 -07:00
Chris Griggs a7e5e15dc1
CamelCase it! 2018-09-19 13:06:29 -07:00
cgriggs01 7244abd978 add rightscale provider links 2018-09-19 11:37:40 -07:00
Paul Hinze 470ab3869f
helper/pathorcontents: Skip one test when root
One of the tests in this package doesn't work when the tests are run as
root - like inside of a Docker container. The test is still useful to
specify `pathorcontents` behavior when a file is not readable, so it's
better to skip than just delete it. See linked issue for further
disussion.

Closes #7707
2018-09-19 11:38:51 -05:00
Sander van Harmelen 49d62d3a1b
Update CHANGELOG.md 2018-09-18 20:45:51 +02:00
Sander van Harmelen 76a4621f09
Merge pull request #18894 from hashicorp/b-state-locking
Make sure the state is locked before it is used
2018-09-18 20:44:02 +02:00
Sander van Harmelen 36bd5d6480 Make sure the state is locked before it is used
Both the `taint` and `untaint` commands had a small logical error that caused them you first get the state and then lock it.
2018-09-18 20:32:04 +02:00
Kristin Laemmert 813b5fd27f
Merge pull request #18825 from sean-/master-make-dev-drift
build: Updates required to bump golang version to 1.11
2018-09-17 09:00:04 -07:00
Kristin Laemmert 1df423e302 update README.md with current required go version 2018-09-17 08:57:34 -07:00
Chris Griggs 46a40b9c00
Merge pull request #18884 from cgriggs01/cgriggs01-oci-provider
Add Oracle Cloud Infrastructure provider links
2018-09-17 08:40:19 -07:00
cgriggs01 a1b08e16c3 add oci provider links 2018-09-17 08:22:30 -07:00
Sander van Harmelen f76c7cda6d
Merge pull request #18883 from hashicorp/b-empty-list
backend/remote: handle empty results correctly
2018-09-17 17:04:48 +02:00
Sander van Harmelen 4aeb67b8ff backend/remote: handle empty results correctly
The pagination info of a list call that returns an empty list contains:

```go
CurrentPage: 1
TotalPages: 0
```

So checking if we have seen all pages using `CurrentPage == TotalPages` will not work and will result in an endless loop.

The tests are updated so they will fail (timeout after 1m) if this is handled incorreclty.
2018-09-17 16:22:54 +02:00
Sander van Harmelen a13a107bd4
Update CHANGELOG.md 2018-09-17 16:16:56 +02:00
Kristin Laemmert d08cead067 upgrading github.com/xanzy/ssh-agent for go 1.11 compatibility 2018-09-14 10:51:04 -07:00
Chris Griggs 4db963c742
Merge pull request #18861 from cgriggs01/cgriggs01-patch01
update community providers
2018-09-14 08:26:33 -07:00
cgriggs01 d6acc463e5 update community providers 2018-09-14 08:10:17 -07:00
Chris Griggs 6841414632
Merge pull request #18854 from cgriggs01/netlify-release
add Netlify provider links
2018-09-13 14:01:11 -07:00
Kristin Laemmert 19f56e3cb4
Merge pull request #18829 from saravanan30erd/issue-18808
issue #18808  docs: update uuid definition - UUID is *not* in in RFC 4122 v4 format.
2018-09-13 12:30:14 -07:00
cgriggs01 43ff5e445a add Netlify provider links 2018-09-13 11:19:40 -07:00
Brian Flad ea26053d4c
Update CHANGELOG for #18688 2018-09-13 11:26:48 -04:00
Brian Flad a47583d3a8
Merge pull request #18688 from hashicorp/f-resource-paralleltest
helper/resource: Add ParallelTest() function to allow opt-in acceptance testing concurrency with t.Parallel()
2018-09-13 11:25:28 -04:00
Sander van Harmelen 3776e6ddc9
Merge pull request #18835 from alexsomesan/remove-test-leftover
Remove a leftover test log file
2018-09-11 17:56:14 +02:00
Alex Somesan 00822c82c0 Remove a leftover test log file 2018-09-11 17:02:32 +02:00
Chris Doherty 71c79522c6 website: Add docs/internals/archiving.html to describe the archiving process. (#18831)
Add docs/internals/archiving.html to describe the archiving process.
2018-09-10 17:32:43 -07:00
Sander van Harmelen c64d8bdf35
Merge pull request #18826 from hashicorp/f-state-locker
backend/remote: add support for state locking
2018-09-10 21:16:45 +02:00
Sander van Harmelen ea88daa499 backend/remote: add support for state locking 2018-09-10 19:49:53 +02:00
saravanan palanisamy 517e28ee6e update uuid definition 2018-09-10 21:49:02 +04:00
Sander van Harmelen 7c1da2ffaa
Merge pull request #18818 from hashicorp/b-associate-state
backend/remote: add the run ID to associate state
2018-09-10 19:13:53 +02:00
Sander van Harmelen 5aac11a4cb
Merge pull request #18817 from hashicorp/b-workspaces
backend/remote: use pagination when retrieving workspaces
2018-09-10 19:06:40 +02:00
Sander van Harmelen cd6d75bc03 backend/remote: add the run ID to associate state
If a run ID is available, we need to make sure we pass that when creating a new state version so the state will be properly associated with the run.
2018-09-09 21:30:42 +02:00
Sander van Harmelen 3cc58813f0 backend/remote: use a search query and use pagination
To prevent making unnecessary heavy calls to the backend, we should use a search query to limit the result.

But even if we use a search query, we should still use the pagination details to make sure we retrieved all items.
2018-09-09 21:29:50 +02:00
Sander van Harmelen cd8fcf74e0
Merge pull request #18816 from hashicorp/f-update-deps
govendor: update `go-tfe`
2018-09-09 21:25:27 +02:00