Seth Hoenig
0ed44a82b0
Merge pull request #9720 from hashicorp/b-consul-sreg-update
...
consul: always include task services hook
2021-01-05 08:48:44 -06:00
Seth Hoenig
59f230714f
e2e: add e2e test for service registration
2021-01-05 08:48:12 -06:00
Seth Hoenig
bc7dd881dd
docs: add changelog entry
2021-01-05 08:48:12 -06:00
Seth Hoenig
b4eafe6f2d
consul: always include task services hook
...
Previously, Nomad would optimize out the services task runner
hook for tasks which were initially submitted with no services
defined. This causes a problem when the job is later updated to
include service(s) on that task, which will result in nothing
happening because the hook is not present to handle the service
registration in the .Update.
Instead, always enable the services hook. The group services
alloc runner hook is already always enabled.
Fixes #9707
2021-01-05 08:47:19 -06:00
Gunadhya
3ac3c93485
Added Enterprise Badges in Docs ( #9706 )
2021-01-05 09:44:37 -05:00
Chris Baker
b886e5a4fc
Merge pull request #9724 from hashicorp/7410-simple-consistency-test
...
simple stale read test
2021-01-05 08:01:21 -06:00
Chris Baker
fd6beefe11
simple test to ensure that scaling endpoint methods support IsRead for
...
stale read support
2021-01-05 13:42:18 +00:00
Chris Baker
9fea300de4
Merge pull request #9671 from hashicorp/b-9610-template-interpolation-paths-refactor
...
address interpolation of artifact and template src/dest
2021-01-04 17:00:45 -06:00
Chris Baker
57b70a27ec
modified e2e test so that it explicitly tested the use case in #6929
2021-01-04 22:25:39 +00:00
Chris Baker
02980b55cb
added documenting unit tests for new TaskEnv.ClientPath method
2021-01-04 22:25:38 +00:00
Chris Baker
60095f47a5
changelog
2021-01-04 22:25:37 +00:00
Chris Baker
5e73c62f2b
Update client/taskenv/env.go
...
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2021-01-04 22:25:36 +00:00
Chris Baker
c7072258af
enabled broken test that is no longer broken
2021-01-04 22:25:35 +00:00
Chris Baker
9b125b8837
update template and artifact interpolation to use client-relative paths
...
resolves #9839
resolves #6929
resolves #6910
e2e: template env interpolation path testing
2021-01-04 22:25:34 +00:00
Tim Gross
724f82e32d
docs: add metrics and API docs to RPC contributors checklist
2021-01-04 15:41:12 -05:00
Tim Gross
26f4ee7fb1
e2e: dnsmasq configuration fixes
...
* systemd units require absolute paths
* ensure directory exists for dnsmasq
2021-01-04 15:40:57 -05:00
Michael Schurter
7a6e55b21f
Merge pull request #9686 from hashicorp/golang1.15.6
...
build: upgrade from Go 1.15.5 -> 1.15.6
2021-01-04 12:07:41 -08:00
nileshcs
65a973b098
Version update for demo Vagrant: Nomad 1.0.1, Consul 1.9.0 ( #9716 )
2021-01-04 13:20:59 -05:00
Tim Gross
86d7ad6d7b
docs: update metrics tables
2021-01-04 12:47:35 -05:00
Tim Gross
c24f4d9925
client: improve alloc GC API error messages ( #9488 )
...
The client allocation GC API returns a misleading error message when the
allocation exists but is not yet eligible for GC. Make this clear in the error
response.
Note in the docs that the allocation will still show on the server responses.
2021-01-04 11:34:12 -05:00
Michael Schurter
772ab5502d
build: upgrade from Go 1.15.5 -> 1.15.6
...
Also updated scripts/update_golang_version.sh to handle new CircleCI
file layout.
2021-01-04 08:34:00 -08:00
James Rasell
2cf75537cd
Merge pull request #9584 from hashicorp/f-docs-api-job-reg-preserve-counts
...
docs: add PreserveCounts param to job API doc.
2021-01-04 16:01:17 +01:00
Mahmood Ali
e6c46e0b8c
Merge pull request #9672 from hashicorp/b-bootstrapping-unexpectedly
...
Don't bootstrap when `bootstrap_expect` is zero
2021-01-04 09:26:48 -05:00
Mahmood Ali
66c0e85b9c
add changelog
2021-01-04 09:09:58 -05:00
Mahmood Ali
ae0be24abb
tweak bootstrap testing
2021-01-04 09:00:40 -05:00
Michael Schurter
e243548cc8
build: prep for 1.0.2 development ( #9687 )
2021-01-04 08:38:16 -05:00
Jerome Gravel-Niquet
c50e0de903
print the actual fingerprint error instead of an unrelated (and probably nil) error
2021-01-04 08:20:29 -05:00
James Rasell
4bc30b8368
Merge pull request #9714 from goodoldneon/patch-1
...
Fixed typo in index.mdx
2021-01-04 09:48:26 +01:00
Aaron Harper
86275f5004
Fixed typo in index.mdx
2021-01-01 23:04:04 -05:00
Drew Bailey
793b5f242d
Docs/operator subpages ( #9689 )
...
* operator subpages
* line wrapping, fixed
2020-12-21 10:29:06 -05:00
Kris Hicks
16bacad930
docs: Remove network_speed client config field ( #9685 )
2020-12-21 07:26:25 -08:00
Chris Baker
d1b1d8303a
Merge pull request #9696 from hashicorp/docs-7655-lifecycle-json
...
docs: added lifecycle example to JSON Jobs API docs
2020-12-18 16:41:10 -06:00
Kris Hicks
4dacba3684
docs: Document required name for expose=true check ( #9691 )
2020-12-18 14:34:47 -08:00
Chris Baker
6092eb9f7d
docs: added lifecycle example to JSON Jobs API docs
2020-12-18 22:26:30 +00:00
Chris Baker
4ae967ef96
Merge pull request #9693 from hashicorp/docs-7655-lifecycle-block
...
docs: more documentation for lifecycle stanza
2020-12-18 16:12:25 -06:00
Chris Baker
0cca9773c8
typo fixes
2020-12-18 22:12:12 +00:00
Tim Gross
f4e107d6ae
docs: data directory permissions
2020-12-18 16:43:01 -05:00
Chris Baker
e85f841d10
Update website/pages/docs/job-specification/lifecycle.mdx
...
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-12-18 14:30:44 -06:00
Chris Baker
b5f4bb6bb6
Update website/pages/docs/job-specification/lifecycle.mdx
...
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-12-18 14:30:17 -06:00
Chris Baker
edc4d095b9
docs: more documentation for lifecycle stanza
2020-12-18 20:18:45 +00:00
Drew Bailey
207048e1ce
add job register preservecounts param, update job versions response ( #9676 )
...
* add job register preservecounts param, update job versions response
* include job version diffs param
* update
2020-12-18 14:54:39 -05:00
Kris Hicks
c0be6d4081
docs: Add quota removal step to namespace apply ( #9684 )
2020-12-18 10:55:31 -08:00
Chris Baker
6df0427767
Merge pull request #9682 from hashicorp/docs-7795-device-plugin-api
...
docs: added examples of device responses to api docs
2020-12-18 12:22:11 -06:00
Kris Hicks
f1b50bcbe7
makefile: Re-scope VERBOSE=true, update build warnings ( #9675 )
...
* Set 'only' ALL_TARGETS rather than append
This is functionally no different than before, but it's more correct.
* Re-scope VERBOSE=true
Previously this was only set when the OS was Linux; this was added in
805ade7d3.
* Warn about unsupported OS rather than error
Also:
* Only print the warning when trying to build Nomad
* Print correct list of supported OSes
2020-12-18 09:54:14 -08:00
Kris Hicks
0a05a5e3b4
README: Align with Consul README ( #9681 )
...
* Add alt text to Nomad logo
* Hoist Resources
* Use description from nomadproject.io
* Getting Started -> Quick Start
* Add production cluster section to Quick Start
* Remove "Who Uses Nomad"
* Move Contributing to contributing/README.md
* Add link to homepage from hero image
2020-12-18 09:38:34 -08:00
Chris Baker
ffc64a6076
docs: added examples of device responses to api docs
2020-12-18 17:30:26 +00:00
Tim Gross
5d81bd7ad4
docs: clarify behavior of plugin block merging
...
Although this behavior is unfortunate, we want to document the existing
behavior rather than break backwards compatibility.
2020-12-18 11:56:02 -05:00
Tim Gross
9c4f52c8aa
docs: document SIGHUP handling behavior
2020-12-18 11:55:00 -05:00
Tim Gross
c422f8066a
docs: describe gossip encryption encoding requirements
2020-12-18 09:58:42 -05:00
Tim Gross
37b1dd6f54
docs: clarify which address configurations can include ports
2020-12-18 09:42:06 -05:00