Commit graph

14144 commits

Author SHA1 Message Date
Michael Schurter 9bf4b38ab3 plugins: update hclutils test
The test used old local copies of Docker structs and appeared to be
testing an outdated approach to task config decoding.

Updated to use real Docker structs so we can do end-to-end unit testing
of real Docker task configs.
2019-02-04 11:07:57 -08:00
Michael Schurter 6c0cc65b2e simplify hcl2 parsing helper
No need to pass in the entire eval context
2019-02-04 11:07:57 -08:00
Michael Schurter e3e1797850 consul: squelch noisy useless logs
Only log when syncing actually did something.
2019-02-04 11:07:57 -08:00
Michael Schurter fec2752fb2 client: log when allocs have been processed
Will hopefully help us catch deadlocks/livelocks/slowdowns in the
add/remove allocs pipeline which should be fast.
2019-02-04 11:07:57 -08:00
Michael Schurter a38018975b
Merge pull request #5293 from hashicorp/b-dupe-resched
cli: do not duplicate reschedule headers per group
2019-02-01 09:45:44 -08:00
Michael Schurter cad3f1022a cli: do not duplicate reschedule headers per group
Fixes #5291
2019-02-01 09:28:36 -08:00
Michael Schurter 2db91425e3 Remove 0.9.0-beta2 generated files 2019-02-01 08:28:44 -08:00
Danielle Tomlinson 4167db11b6
Merge pull request #5290 from mre/patch-1
Fix typo in "discovery"
2019-02-01 14:36:15 +01:00
Matthias Endler 22cca2bbd6
Fix typo in "discovery" 2019-02-01 14:24:02 +01:00
Michael Schurter 873c929b93
Merge pull request #5285 from hashicorp/external-plugins-typo
fix typo
2019-01-30 14:50:01 -08:00
Omar Khawaja fe6a95ef63 fix typo 2019-01-30 17:48:08 -05:00
Mahmood Ali 62b48264e9
website: update lxc references to 0.1.0-rc2 (#5283) 2019-01-30 17:05:44 -05:00
Michael Schurter 50c9c9a663
Merge pull request #5284 from hashicorp/website-0.9
Bump to Nomad 0.8.7 and mention 0.9 beta
2019-01-30 13:53:00 -08:00
Michael Schurter 5ac0511ada Bump to Nomad 0.8.7 and mention 0.9 beta 2019-01-30 13:50:44 -08:00
Alex Dadgar 81264b10ea
Release v0.9.0-beta2 2019-01-30 13:38:23 -08:00
Alex Dadgar 84d0afccae Generate files for 0.9.0-beta2 2019-01-30 13:31:50 -08:00
Alex Dadgar 449e582ffc
Merge pull request #5281 from hashicorp/f-affinity-weight-int
Change types of weights on spread/affinity
2019-01-30 13:25:56 -08:00
Nick Ethier cb760275ca
Merge pull request #5282 from hashicorp/website-resources
website/resources: add recent videos/blogs to resources
2019-01-30 16:01:43 -05:00
Preetha Appan 8e621a167b
fix tests 2019-01-30 14:46:24 -06:00
Nick Ethier ea9943dea6
website/resources: add recent videos/blogs to resources 2019-01-30 15:44:39 -05:00
Alex Dadgar d2e5ede119 remove generated structs 2019-01-30 12:38:34 -08:00
Nick Ethier 134ad3951b
Merge pull request #5279 from hashicorp/b-fix-external-driver-id-reference
client: fix bug during 0.8 state up grade for external drivers
2019-01-30 15:26:40 -05:00
Alex Dadgar b2af34141e
Update comment on int8ToPtr 2019-01-30 12:23:43 -08:00
Alex Dadgar 6d3bd50302
Update comment on int8ToPtr 2019-01-30 12:23:14 -08:00
Alex Dadgar 41265d4d61 Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
Nick Ethier e7ea26449e
client: fix bug during 0.8 state up grade that causes external drivers to fail 2019-01-30 14:22:29 -05:00
Alex Dadgar 728eaea216
Release v0.9.0-beta1 2019-01-30 11:08:30 -08:00
Alex Dadgar b2a2d793df version bump 2019-01-30 11:00:09 -08:00
Alex Dadgar 1bff98612d remove deleting generated code in clean step 2019-01-30 10:55:03 -08:00
Alex Dadgar bc804dda2e Nomad 0.9.0-beta1 generated code 2019-01-30 10:49:44 -08:00
Michael Schurter 71c5a73b7b
Merge pull request #5277 from hashicorp/d-changelog
changelog: minor wording fixes
2019-01-30 10:06:04 -08:00
Michael Schurter 798a25f9c5
Merge pull request #5270 from hashicorp/f-install-protoc-gen-go
install specific version of protoc-gen-go
2019-01-30 10:05:46 -08:00
Preetha cfe9e7af05
Merge pull request #5273 from hashicorp/dani/nvidia-affinity
docs: Update affinity stanza in device
2019-01-30 10:51:21 -06:00
Michael Schurter 217b6c9ff6 minor wording fixes 2019-01-30 08:37:42 -08:00
Michael Schurter 0eec0428b2
Merge pull request #5263 from hashicorp/d-upgrade-09
docs: add 0.9 specific upgrade notes
2019-01-30 08:07:29 -08:00
Michael Schurter 17a8c6639c Install versioned release of codecgen
Gets us one step closer to a reproducible build. Also removes the unused
vendored version.
2019-01-30 08:00:17 -08:00
Michael Schurter f6d760298b fix perms in protoc installer 2019-01-30 07:57:57 -08:00
Michael Schurter 32fd800583 install specific version of protoc-gen-go 2019-01-30 07:57:40 -08:00
Mahmood Ali c737a155f8
docs: fix job json example (#5274)
The internal needs to be long enough to accomodate the attempts.

Also, clarify that the input should be a json file rather than an hcl
`.nomad` one.
2019-01-30 10:33:10 -05:00
Preetha 19bf260579
Merge pull request #5276 from hashicorp/docs_system_Sched
Add link to preemption from schedulers page
2019-01-30 09:30:50 -06:00
Preetha Appan e0beebc432
Add link to preemption from schedulers page 2019-01-30 09:24:18 -06:00
Danielle Tomlinson 6876d4e12f docs: Update affinity stanza in device 2019-01-30 14:23:03 +01:00
Mahmood Ali 2f9e67f9e7
Merge pull request #5266 from hashicorp/b-background-dont-fail
ci: ignore background ping errors
2019-01-30 07:44:36 -05:00
Mahmood Ali 6fb80e5cc2 ci: ignore background ping errors
We attempt to kill background ping process twice, and sometimes the
second kill fails, e.g.
https://travis-ci.org/hashicorp/nomad/jobs/486050357, let's not fail the job.
2019-01-29 21:21:32 -05:00
Michael Schurter 728585b9c2 docs: add 0.9 specific upgrade notes 2019-01-29 15:18:15 -08:00
Alex Dadgar 05b1b03156 fix lxc sidebar 2019-01-29 15:03:02 -08:00
Preetha Appan bbf934ca02
fix broken link 2019-01-29 16:58:52 -06:00
Preetha 66973ec901
Merge pull request #5269 from hashicorp/b_schedconfig_panicfix
Guard operator endpoints for minimum server version
2019-01-29 16:22:16 -06:00
Preetha Appan c848a1d387
ensure tests run a 0.9 server 2019-01-29 16:19:45 -06:00
Alex Dadgar bf787ab5d8
Merge pull request #5268 from hashicorp/b-task-dir-envs
Always populate task dir environment variables
2019-01-29 14:09:08 -08:00