Commit Graph

18264 Commits

Author SHA1 Message Date
James Rasell
041e25152c Merge pull request #8007 from hashicorp/volumes-docs-csi-put-blocking
docs: update CSI PUT operation blocking query support yes->no.
2020-05-20 09:38:38 +02:00
Mahmood Ali
3c50825e17 Merge pull request #8020 from hashicorp/vendor-hcl2-20200519
Update hcl2 vendoring
2020-05-19 16:25:14 -04:00
Mahmood Ali
fcddfa4971 Update hcl2 vendoring
The hcl2 library has moved from http://github.com/hashicorp/hcl2 to https://github.com/hashicorp/hcl/tree/hcl2.

This updates Nomad's vendoring to start using hcl2 library.  Also
updates some related libraries (e.g. `github.com/zclconf/go-cty/cty` and
`github.com/apparentlymart/go-textseg`).
2020-05-19 15:00:03 -04:00
Charlie Voiselle
46fbd0a1b4 Merge pull request #7994 from shantanugadgil/patch-3
update docs to mention spread algorithm
2020-05-19 14:49:19 -04:00
Shantanu Gadgil
f3f1467278 Merge branch 'master' into patch-3 2020-05-20 00:16:43 +05:30
Charlie Voiselle
1778c387a5 Merge pull request #7870 from hashicorp/d-fix-version-typo
[docs] Fix version typo
2020-05-19 14:09:53 -04:00
Charlie Voiselle
27c12a6e70 Interlinking API, FAQ, and Config
Creating a FAQ question to provide a home for additional context around
bootstrapping. Linking from API page to `default_server_config`
attribute. Added sample API response to to discuss "Updated: false"
2020-05-19 13:51:47 -04:00
Michael Lange
99f117a288 Merge pull request #7986 from hashicorp/missing-changelog-entry
Add missing bug fix from the changelog for 0.11.2
2020-05-19 09:20:23 -07:00
Michael Lange
a07e64bca2 Merge pull request #8006 from hashicorp/f-ui/csi-node-only-support
UI: CSI node only support
2020-05-19 09:08:30 -07:00
Seth Hoenig
36684bd808 Merge pull request #8003 from hashicorp/c-use-taskkind
consul/connect: use task kind to get service name
2020-05-19 08:51:21 -06:00
Charlie Voiselle
2e4919d616 Adding info about bootstrap 2020-05-19 09:14:17 -04:00
James Rasell
8c217f27a4 docs: update CSI PUT operation blocking query support yes->no. 2020-05-19 08:42:48 +02:00
Michael Lange
7d71b5e3a8 Merge pull request #7983 from spuder/patch-3
Fix typo in changelog
2020-05-18 17:27:35 -07:00
Michael Lange
cb5cea646c Work around a mirage bug 2020-05-18 17:23:55 -07:00
Michael Lange
f760027ccf Test coverage for node only view of the plugin detail page 2020-05-18 17:23:54 -07:00
Michael Lange
3da88c6925 Test coverage for the node-only change to the list view 2020-05-18 15:30:00 -07:00
Michael Lange
ebc402ac5f Add availability gauges to the plugin page object 2020-05-18 15:30:00 -07:00
Michael Lange
3cf81d2741 Handle node-only views 2020-05-18 15:30:00 -07:00
Mahmood Ali
61d1f0eb4e Merge pull request #8005 from hashicorp/je.fix-shell-snippets
Fix shell-session snippet error
2020-05-18 18:15:09 -04:00
Jeff Escalante
e69fc1f459 fix shell-session snippet error 2020-05-18 16:53:06 -04:00
Seth Hoenig
0dd159635e consul/connect: use task kind to get service name
Fixes #8000

When requesting a Service Identity token from Consul, use the TaskKind
of the Task to get at the service name associated with the task. In
the past using the TaskName worked because it was generated as a sidecar
task with a name that included the service. In the Native context, we
need to get at the service name in a more correct way, i.e. using the
TaskKind which is defined to include the service name.
2020-05-18 13:46:00 -06:00
Charlie Voiselle
8623725397 Alternative treatment
A variation of the treatment that surfaces "spread scheduling" in the example while referring to the API docs as canonical for this setting.
2020-05-18 09:51:16 -04:00
Chris Baker
9400ac674e Merge pull request #7992 from hashicorp/docs-website-fix
docs: server configuration metadata was missing a dash
2020-05-18 08:47:40 -05:00
James Rasell
2058f40e12 Merge pull request #7995 from hashicorp/tidy-go-mod-api
api: tidy Go module to remove unused modules.
2020-05-18 14:53:19 +02:00
Shantanu Gadgil
860fb4d35b Update server.mdx 2020-05-18 17:54:27 +05:30
Tim Gross
64c6a8db22 csi: improve plugin error messages and volume validation (#7984)
Some CSI plugins don't return much for errors over the gRPC socket
above and beyond the bare minimum error codes. This changeset improves
the operator experience by unpacking the error codes when available
and wrapping the error with some user-friendly direction.

Improving these errors also revealed a bad comparison with
`require.Error` when `require.EqualError` should be used in the test
code for plugin errors. This defect in turn was hiding a bug in volume
validation where we're being overly permissive in allowing mount
flags, which is now fixed.
2020-05-18 08:23:17 -04:00
James Rasell
97a6fee193 api: tidy Go module to remove unused modules. 2020-05-18 09:56:23 +02:00
Shantanu Gadgil
45cb749cd3 update docs to mention spread algorithm
update docs to mention spread algorithm
2020-05-18 11:38:52 +05:30
Chris Baker
a835d11e68 docs: server configuration metadata was missing a dash, causing problems
rendering that page
2020-05-17 15:07:46 +00:00
Mahmood Ali
69fae72ad7 Merge pull request #7988 from tcassaert/vault_int_docs
Docs: Vault integration token creation docs missing command
2020-05-16 11:38:32 -04:00
Mahmood Ali
1e7f149ec5 Merge pull request #7970 from hashicorp/go1.14.3
Go1.14.3
2020-05-16 11:33:15 -04:00
Michael Schurter
7c0ab3ad53 build: update from Go 1.14.1 to Go 1.14.3 2020-05-16 10:41:20 -04:00
Michael Schurter
3dfe57247f scripts: add usage to update_golang_version.sh 2020-05-16 10:40:11 -04:00
tcassaert
23518436eb Command was missing due to missing end of line 2020-05-16 12:49:18 +02:00
Michael Lange
afdc599e58 Add missing bug fix from the changelog for 0.11.2 2020-05-15 16:58:07 -07:00
Mahmood Ali
262c5933c6 fix grammar in DST upgrade snippet (#7985) 2020-05-15 15:59:56 -04:00
Spencer Owen
add51fb1c5 Fix typo in changelog
Removes duplicate entry in the change log
2020-05-15 13:02:39 -06:00
Buck Doyle
e884b5f923 Remove Ember server from Storybook startup (#7980)
The presence of Storybook’s preview-head.html file in the repository
is a constant annoyance: it’s only needed for Storybook and it changes
all the time, producing a lot of Git noise. By making it a separate
step to have the Ember CLI server running before starting Storybook,
we no longer need to have preview-head in the repository. It needed to
be present because there was a race condition where it was sometimes
not generated in time for the Storybook parallel startup.
2020-05-15 13:53:31 -05:00
Mahmood Ali
2673c85908 Merge pull request #7982 from hashicorp/mdeggies-remove-appveyor
Windows CircleCI Follow
2020-05-15 13:57:41 -04:00
Mahmood Ali
70e9831e7f revert vendored file accidental changes
[ci skip]
2020-05-15 13:37:03 -04:00
Mahmood Ali
8982f749db quiet unzip 2020-05-15 13:19:21 -04:00
Mahmood Ali
7ebc3f90c7 Predownload image before tests start 2020-05-15 12:55:53 -04:00
Mahmood Ali
a6e59eb748 Use an image managed by nomad account
This is a retag of stefanscherer/busybox-windows@sha256:af396324c4c62e369a388ebb38d4efd44211dc7c95a438e6feb62b4ae4194c5b
2020-05-15 12:55:22 -04:00
Mahmood Ali
a3e30f2d7f remove unused gotestsum installation script 2020-05-15 12:45:39 -04:00
Mahmood Ali
5da83c5085 colocate test-windows by darwin target
Mostly to ease conflict resolution with Enterprise fork, as Enterprise
CI doesn't support windows.
2020-05-15 12:33:31 -04:00
Mahmood Ali
f8294f5e2a Few Windows CI changes:
Always install go and vault: the check may accidentally use the CircleCI
pre-installed go version instead of the cached version.

Also, always install from sources without caching.  Go/vault
installation is basically a tarball download.  That's equivalent to
CirleCI caching without the complexity.  These steps don't add much time
either.

Lastly, infer the OS when downloading tarball to avoid managing them in
the job spec.
2020-05-15 12:22:15 -04:00
Mahmood Ali
4c679d4c64 Use a pinned tag of stefanscherer/busybox-windows 2020-05-15 12:20:37 -04:00
Mahmood Ali
0dbd22e260 makefile to support windows 2020-05-15 12:19:59 -04:00
Michael Lange
7fc380d35d Merge pull request #7971 from hashicorp/b-ui/plugin-extend-watchable
UI: Make the Plugin adapter extend Watchable
2020-05-15 09:15:59 -07:00
Michele
f1281d86b3 Caching test 2020-05-15 10:15:37 -04:00