Commit Graph

15094 Commits

Author SHA1 Message Date
Nomad Release bot
98e7525131 Generate files for 0.9.2-rc1 release 2019-05-22 19:29:30 +00:00
Mahmood Ali
05a619c8aa Pin node version to v10.15.3 2019-05-22 14:23:50 -04:00
Mahmood Ali
83af31f527 use Node 10 for releases 2019-05-22 13:40:25 -04:00
Mahmood Ali
2aa1350c88 reorder changelog 2019-05-22 13:25:36 -04:00
Lang Martin
643d8400b1 Merge pull request #5719 from hashicorp/f-auto-promote-canaries
auto promote canaries
2019-05-22 13:24:22 -04:00
Lang Martin
c9a837cbb5 structs check TaskGroup.Update for nil 2019-05-22 12:34:57 -04:00
Lang Martin
9f74b2285f comment replace COMPAT 0.7.0 for job.Update with more current info 2019-05-22 12:34:57 -04:00
Lang Martin
b09b0bebc5 structs comment todo DeploymentStatus & DeploymentStatusDescription 2019-05-22 12:34:57 -04:00
Lang Martin
71338ab356 structs job warnings for taskgroup with mixed auto_promote settings 2019-05-22 12:34:57 -04:00
Lang Martin
a234550d6f Update e2e/deployment/deployment.go
Co-Authored-By: Mahmood Ali <mahmood@notnoop.com>
2019-05-22 12:34:57 -04:00
Lang Martin
a5e3e8e818 e2e/deployment comment the job files for clarity 2019-05-22 12:34:57 -04:00
Lang Martin
c086b5f483 api use job.update as the default for taskgroup.update 2019-05-22 12:34:57 -04:00
Lang Martin
28dbf73358 deployment_watcher auto promote iff every task group is auto promotable 2019-05-22 12:34:57 -04:00
Lang Martin
dd2f16a031 e2e add deployment to the list of e2e tests, minor fixes 2019-05-22 12:34:57 -04:00
Lang Martin
1e9f3145d6 e2e readme minor changes to command + env val templates and order 2019-05-22 12:34:57 -04:00
Lang Martin
0da3ee574f website more explicit auto_promote instructions 2019-05-22 12:34:57 -04:00
Lang Martin
f4701e69b9 Update website/source/docs/job-specification/update.html.md
Co-Authored-By: Michael Schurter <michael.schurter@gmail.com>
2019-05-22 12:34:57 -04:00
Lang Martin
7d40ffd4cf api/jobs diff tests expect AutoPromote 2019-05-22 12:34:57 -04:00
Lang Martin
3a3c4426bb e2e utils remove ineffectual assignment of allocs 2019-05-22 12:34:57 -04:00
Lang Martin
78b9aeffa2 e2e README typo 2019-05-22 12:34:57 -04:00
Lang Martin
c009381242 CHANGELOG add improvement entry 2019-05-22 12:34:57 -04:00
Lang Martin
d867cbfa85 structs validate requires Canary for AutoPromote 2019-05-22 12:32:08 -04:00
Lang Martin
2772cc26f4 log error on autoPromoteDeployment failure 2019-05-22 12:32:08 -04:00
Lang Martin
03c69c88dd api/jobs add AutoPromote to Canonicalize 2019-05-22 12:32:08 -04:00
Lang Martin
1a99a0f771 e2e utils error format arg match 2019-05-22 12:32:08 -04:00
Lang Martin
2422991220 new e2e deployment test 2019-05-22 12:32:08 -04:00
Lang Martin
8b64574721 e2e util split new alloc and await placement, new WaitForDeployment 2019-05-22 12:32:08 -04:00
Lang Martin
84307d9d0b describe a pending deployment without auto_promote more explicitly 2019-05-22 12:32:08 -04:00
Lang Martin
21dccdf8dd describe a pending deployment with auto_promote accurately 2019-05-22 12:32:08 -04:00
Lang Martin
5ac416a04a website update auto_promote doc 2019-05-22 12:32:08 -04:00
Lang Martin
9621c073fe add update AutoPromote bool 2019-05-22 12:32:08 -04:00
Lang Martin
0643a0162f deployments_watcher_test new TestWatcher_AutoPromoteDeployment 2019-05-22 12:32:08 -04:00
Lang Martin
2165f8be94 sched reconcile copy AutoPromote to DeploymentState 2019-05-22 12:32:08 -04:00
Lang Martin
2753b51b63 deployment_watcher when it's ok to autopromote, do so 2019-05-22 12:32:08 -04:00
Lang Martin
1ba04fc5eb deployments_watcher comments 2019-05-22 12:32:08 -04:00
Lang Martin
2f233576ec state_store typo in a comment 2019-05-22 12:32:08 -04:00
Lang Martin
55b91ad086 new deploymentwatcher/doc.go for package level documentation 2019-05-22 12:32:08 -04:00
Danielle
df84e07c1a Merge pull request #5750 from hashicorp/dani/devcluster-standalone
devcluster: Add standalone server
2019-05-22 18:02:43 +02:00
Michael Schurter
a52c7c2cbf Merge pull request #5731 from hashicorp/b-ignore-dc
client: drop unused DC field from servers list
2019-05-22 08:42:15 -07:00
Mahmood Ali
fb38029ba9 Merge pull request #5752 from hashicorp/b-client-lock-invalidallocs
client: synchronize client.invalidAllocs access
2019-05-22 10:47:17 -04:00
Mahmood Ali
d1f12fd3cb client: synchronize client.invalidAllocs access
invalidAllocs may be accessed and manipulated from different goroutines,
so must be locked.
2019-05-22 09:37:49 -04:00
Mahmood Ali
3e353bdce2 Merge pull request #5711 from hashicorp/f-nomad-exec-part-05-cli-docs
Document `nomad exec` command
2019-05-22 09:31:23 -04:00
Mahmood Ali
3eb0389dc3 Merge pull request #5751 from hashicorp/update-changelog-20190522
sort and changelog entries
2019-05-22 09:03:32 -04:00
Mahmood Ali
aa72c01a81 changelog alloc exec and /api http client changes 2019-05-22 08:57:11 -04:00
Mahmood Ali
05e8f179ee sort changelog entries
In each section, entries should be sorted by component name (except for
core that appears in top), and then by line length.
2019-05-22 08:48:16 -04:00
Danielle Lancashire
7e882f5908 devcluster: Add standalone server
This adds a single-node configuration of a dev cluster, for use when
testing things that require state restoration or multiple clients, but don't
necessarily require a 3+ node cluster.
2019-05-22 14:21:09 +02:00
Danielle
fc45e171f6 Merge pull request #5749 from hashicorp/dani/restore-allocs
client: Pass servers contacted ch to allocrunner
2019-05-22 14:17:24 +02:00
Danielle Lancashire
92527c6b4e client: Pass servers contacted ch to allocrunner
This fixes an issue where batch and service workloads would never be
restarted due to indefinitely blocking on a nil channel.

It also raises the restoration logging message to `Info` to simplify log
analysis.
2019-05-22 13:47:35 +02:00
Mahmood Ali
2972ce15d1 fix httpClient error handling
If err is nil, we should use the newly cloned httpClient.
2019-05-21 21:29:15 -04:00
Michael Lange
c00d6a47e6 UI changelog entries 2019-05-21 15:10:48 -07:00