Commit Graph

18487 Commits

Author SHA1 Message Date
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
Michele
d83ee3ba1a Update cache 2020-05-15 10:15:37 -04:00
Michele
0d436669a6 Adding a fix 2020-05-15 10:15:37 -04:00
Michele
d09937e41a Move appveyor tests to circle 2020-05-15 10:15:37 -04:00
Tim Gross
09a27f9e18 csi: use a blocking initial connection with timeout (#7965)
The plugin supervisor lazily connects to plugins, but this means we
only get "Unavailable" back from the gRPC call in cases where the
plugin can never be reached (for example, if the Nomad client has the
wrong permissions for the socket).

This changeset improves the operator experience by switching to a
blocking `DialWithContext`. It eagerly connects so that we can
validate the connection is real and get a "failed to open" error in
case where Nomad can't establish the initial connection.
2020-05-15 08:17:11 -04:00
Tim Gross
103d873ebe csi: support for VolumeContext and VolumeParameters (#7957)
The MVP for CSI in the 0.11.0 release of Nomad did not include support
for opaque volume parameters or volume context. This changeset adds
support for both.

This also moves args for ControllerValidateCapabilities into a struct.
The CSI plugin `ControllerValidateCapabilities` struct that we turn
into a CSI RPC is accumulating arguments, so moving it into a request
struct will reduce the churn of this internal API, make the plugin
code more readable, and make this method consistent with the other
plugin methods in that package.
2020-05-15 08:16:01 -04:00
Chris Baker
f2210cedd9 Merge pull request #7972 from hashicorp/0-11-3-return-to-dev
post-release merge
2020-05-14 17:31:45 -05:00
Chris Baker
ba44430d83 Merge pull request #7973 from hashicorp/update-webiste-version
update website current version to 0.11.2
2020-05-14 17:31:36 -05:00
Chris Baker
0fbbb395a7 update website current version to 0.11.2 2020-05-14 22:03:43 +00:00
Chris Baker
96e77d3c0a release: prep for 0.11.3 dev cycle 2020-05-14 21:52:46 +00:00
Michael Lange
3fcd5edd41 Make the Plugin adapter extend Watchable 2020-05-14 14:37:07 -07:00
Michael Lange
278b8499c6 Protect against making watch requests using adapters that don't extend Watchable 2020-05-14 14:36:38 -07:00
Nomad Release Bot
de393e8c2b remove generated files 2020-05-14 21:25:38 +00:00
Nomad Release Bot
34c044e96b Release v0.11.2 2020-05-14 21:25:30 +00:00
Nomad Release bot
807cfebe90 Generate files for 0.11.2 release 2020-05-14 20:49:42 +00:00
Tim Gross
eb2f77a011 csi: use a blocking initial connection with timeout
The plugin supervisor lazily connects to plugins, but this means we
only get "Unavailable" back from the gRPC call in cases where the
plugin can never be reached (for example, if the Nomad client has the
wrong permissions for the socket).

This changeset improves the operator experience by switching to a
blocking `DialWithContext`. It eagerly connects so that we can
validate the connection is real and get a "failed to open" error in
case where Nomad can't establish the initial connection.
2020-05-14 15:59:19 -04:00
Chris Baker
32ea625389 updated changelog with #7959 2020-05-14 19:27:11 +00:00
Chris Baker
aa0cbf7876 Merge remote-tracking branch 'origin/master' into release-0.11.2 2020-05-14 19:26:03 +00:00
Buck Doyle
f491c86d91 Change exec URL-generation to use Ember get (#7963)
This fixes a bug in #7815 where you can’t open an exec window from
the allocation overview because accessing `allocation.job.plainId`
fails across the proxied relationship.
2020-05-14 14:09:09 -05:00
Mahmood Ali
82e977bc02 Merge pull request #7961 from hashicorp/b-always-validate-default-scheduler-config
always check `default_scheduler_config` config
2020-05-14 14:35:06 -04:00
Mahmood Ali
1d43126e00 always check default_scheduler_config config
Also, avoid early return on validation to avoid masking some validation
bugs in dev setup.
2020-05-14 14:16:12 -04:00
Jeff Escalante
1b54e065d4 final deps update, fix some anchor link aliases 2020-05-14 14:10:52 -04:00
Jeff Escalante
1ad7437c42 update dependencies, upgrade structure for latest nextjs-scripts, implement custom 404 page 2020-05-14 14:10:52 -04:00
Buck Doyle
086e598296 Add asset size workflow (#7864)
This uses a fork of the Ember Asset Size Action to report on changes to
the filesizes of the production UI build as a comment to the PR. The
fork includes fixes to make it work with a subdirectory (ui/ in our
case) and to make it update the PR comment if it exists vs posting
repeatedly to the thread.
2020-05-14 12:45:36 -05:00
Mahmood Ali
b771142f5a Merge pull request #7959 from hashicorp/b-deleted-vault-accessors
vault: ensure that token revocation is idempotent
2020-05-14 12:39:06 -04:00
Tim Gross
c514a5527a csi: refactor internal client field name to ExternalID (#7958)
The CSI plugins RPCs require the use of the storage provider's volume
ID, rather than the user-defined volume ID. Although changing the RPCs
to use the field name `ExternalID` risks breaking backwards
compatibility, we can use the `ExternalID` name internally for the
client and only use `VolumeID` at the RPC boundaries.
2020-05-14 11:56:07 -04:00
Mahmood Ali
ff3cf8f33b vault: ensure that token revocation is idempotent
This ensures that token revocation is idempotent and can handle when
tokens are revoked out of band.

Idempotency is important to handle some transient failures and retries.
Consider when a single token of a batch fails to be revoked, nomad would
retry revoking the entire batch; tokens already revoked should be
gracefully handled, otherwise, nomad may retry revoking the same
tokens forever.
2020-05-14 11:30:32 -04:00
Mahmood Ali
1f78c55e6f vault: failing test for repeated revocation 2020-05-14 11:30:29 -04:00