Commit graph

18920 commits

Author SHA1 Message Date
Lang Martin 717741a4cb
doc: nomad debug cli (#8278)
* doc: nomad debug cli

* CHANGELOG

* website/data/docs-navigation: add debug to navigation

* contributing/checklist-command: add website nav link to checklist
2020-06-25 13:48:27 -04:00
Tim Gross d1f3c40098
docs: spellcheck fix for multiregion (#8286) 2020-06-25 12:56:40 -04:00
Lang Martin 9b657b5e5e
new command: nomad debug captures a debug archive of cluster state (#8244)
* command/debug: build a local archive of debug data
* command/debug: query consul and vault directly
* command/debug: include pprof CPUProfile Trace and goroutine
* command/debug: trap signals and close the monitor requests
2020-06-25 12:51:23 -04:00
Mahmood Ali 8631e9dad5 always shutdown test server on test cleanup 2020-06-25 12:44:19 -04:00
Michael Lange a61bc49595
Merge pull request #8283 from hashicorp/b-ui/text-alignment-view-raw-file
UI: Fix text alignment for the "view raw file" button/link on the fs file viewer
2020-06-25 09:28:30 -07:00
Michael Lange ff015d2997
Merge pull request #8281 from hashicorp/b-ui/fix-log-streaming
UI: Revert AbortController polyfill to use native AbortController on logs page
2020-06-25 09:26:49 -07:00
Michael Lange 6c7d3f49d5
Merge pull request #8280 from hashicorp/f-ui/wide-monitor-logs
UI: Make monitor log output full-width
2020-06-25 09:22:54 -07:00
Michael Lange 683a4c81ac
Merge pull request #8279 from hashicorp/b-ui/remove-safari-special-case
UI: Fix monitor in Safari
2020-06-25 09:22:39 -07:00
Buck Doyle bf7ed82def
Improve global search UX (#8249)
This updates the look of the search control, adds a hint about the slash
shortcut, adds highlighting of fuzzy search results, and addresses a few
edge case UX failures. It moves to using a fork of Ember Power Select
to handle an edge case where pressing escape would put the control
in an undesirable active-but-not-open state.
2020-06-25 08:51:52 -05:00
Mahmood Ali 4f1df4af40
Merge pull request #8261 from hashicorp/f-disable-host-volume-by-default
Restrict Host filesystem access in Docker and Qemu
2020-06-25 07:51:13 -04:00
Mahmood Ali 86b84eb936 add github issue links
[ci skip]
2020-06-25 07:50:29 -04:00
Michael Lange 18bf810936 Remove line-height override that breaks text alignment for anchors that look like buttons 2020-06-24 21:31:30 -07:00
Michael Lange f6fa2c6088 Revert AbortController polyfill to use native AbortController 2020-06-24 20:46:30 -07:00
Michael Lange 22f9faeb84 Make monitor log output full-width 2020-06-24 20:37:12 -07:00
Michael Lange 3182adeefa Remove special-casing of Safari to force use of a PollLogger 2020-06-24 20:30:52 -07:00
Mahmood Ali b234b1cefd
Merge pull request #8270 from hashicorp/docs-algolia-tweak
Tweaks for algolia job
2020-06-24 22:00:16 -04:00
Mahmood Ali 2c5d4f86cb use node 12 2020-06-24 21:16:15 -04:00
Seth Hoenig 5353ad06be
Merge pull request #8277 from hashicorp/docs-tweak-changelog
docs: tweak changelog wording for multiregion deployments
2020-06-24 15:41:56 -05:00
Tim Gross e52f76ed53 update compiled static assets 2020-06-24 16:37:13 -04:00
Seth Hoenig 4c71c0c155 docs: tweak changelog wording for multiregion deployments 2020-06-24 15:33:35 -05:00
Nick Ethier 416efd83ee
scheduler: do network feasibility checking for system jobs (#8256) 2020-06-24 16:01:00 -04:00
Seth Hoenig c662917d38
Merge pull request #8272 from hashicorp/docs-cl-connect-native
docs: update changelog for connect native
2020-06-24 14:53:19 -05:00
Seth Hoenig 4563859e1b docs: update changelog for connect native 2020-06-24 14:44:43 -05:00
Charlie Voiselle e0e3a66b3a
Fix link to scheduler page 2020-06-24 15:44:07 -04:00
Charlie Voiselle 9b20269709
Comment out default Consul check; Update URLs
Having an active check in the sample job causes issues with testing
deployments in environments that are not integrated with Consul. This
negatively impacts some of the getting-started experiences. Commenting
out the check allows deployments to proceed successfully but leaves it
in the sample job for convenience.

Made a drive-by fix to all of the URLs in the jobfile
2020-06-24 15:34:48 -04:00
Mahmood Ali 15b84be0e6 Tweak algolia scripts
Avoid running algolia job in forks or enterprise private repositories
2020-06-24 15:28:57 -04:00
Mahmood Ali e66f849619 website: declare dotenv dependency 2020-06-24 15:22:30 -04:00
Tim Gross 67ffcb35e9
multiregion: add support for 'job plan' (#8266)
Add a scatter-gather for multiregion job plans. Each region's servers
interpolate the plan locally in `Job.Plan` but don't distribute the plan as
done in `Job.Run`.

Note that it's not possible to return a usable modify index from a multiregion
plan for use with `-check-index`. Even if we were to force the modify index to
be the same at the start of `Job.Run` the index immediately drifts during each
region's deployments, depending on events local to each region. So we omit
this section of a multiregion plan.
2020-06-24 13:24:55 -04:00
Tim Gross a449009e9f
multiregion validation fixes (#8265)
Multi-region jobs need to bypass validating counts otherwise we get spurious
warnings in Job.Plan.
2020-06-24 12:18:51 -04:00
Kevin Pruett 96ba670f7d
Merge pull request #8201 from pruett/pruett.algolia-index-ci
Stub Algolia indexing job via CI
2020-06-24 12:17:47 -04:00
Tim Gross 13776cc9dc
docs: fix broken link in server config (#8267)
* missing the trailing `)`
* consistency with the code span
* minor grammar fix ("is" to "are")
2020-06-24 11:53:19 -04:00
Seth Hoenig 3872b493e5
Merge pull request #8011 from hashicorp/f-cnative-host
consul/connect: implement initial support for connect native
2020-06-24 10:33:12 -05:00
Seth Hoenig 011c6b027f connect/native: doc and comment tweaks from PR 2020-06-24 10:13:22 -05:00
Seth Hoenig 03a5706919 connect/native: check for pre-existing consul token 2020-06-24 09:16:28 -05:00
Seth Hoenig e79b79034d connect/native: fixup command/agent/consul/connect test cases 2020-06-24 09:05:56 -05:00
Mahmood Ali 2d64a404e6 docs: update docs for host path flags 2020-06-24 08:03:56 -04:00
Mahmood Ali 998f80d4cb add a allowlist for qemu image paths 2020-06-24 08:03:19 -04:00
James Rasell f64ed89d28
Merge pull request #8260 from hashicorp/docs-fix-license-index
docs: fix license command index page formatting.
2020-06-24 12:27:32 +02:00
James Rasell 1530cd58d0
docs: fix license command index page formatting. 2020-06-24 08:16:41 +02:00
Kevin Pruett eba5ada40b
Update job and config via make 2020-06-23 22:56:29 -04:00
Kevin Pruett 81c6c7d65f
Utilize Next.js env variable conventions 2020-06-23 22:40:37 -04:00
Kevin Pruett 04f2e673ba
Setup Algolia indexing job in CI 2020-06-23 22:40:17 -04:00
Kevin Pruett 97ddb74a6c
Merge pull request #8092 from hashicorp/je.website-maintenance-6-1-20
🌷 Website Maintenance
2020-06-23 18:14:36 -04:00
Jeff Escalante 6a1e059ff4
Dependency updates and improvements 2020-06-23 17:43:43 -04:00
Michael Schurter d6d1ed00f2
Merge pull request #8257 from hashicorp/docs-port-comments
docs: add comments to structs.Port struct
2020-06-23 13:47:48 -07:00
Tim Gross 010d94d419
multiregion: job stop across regions with -global flag (#8258)
Adds a `-global` flag for stopping multiregion jobs in all regions at
once. Warn the user if they attempt to stop a multiregion job in a single
region.
2020-06-23 15:56:04 -04:00
Michael Schurter 7869ebc587 docs: add comments to structs.Port struct 2020-06-23 11:38:01 -07:00
Michael Schurter 13ed710a04 core: validate port numbers are <= 65535
The scheduler returns a very strange error if it detects a port number
out of range. If these would somehow make it to the client they would
overflow when converted to an int32 and could cause conflicts.
2020-06-23 11:31:49 -07:00
James Rasell c1af4da048
Merge pull request #8255 from hashicorp/fix-license-get-help
cli: fix license get command help Synopsis text.
2020-06-23 19:44:57 +02:00
Mahmood Ali 5796719124 docker: disable host volume binding by default 2020-06-23 13:43:37 -04:00