Commit Graph

12345 Commits

Author SHA1 Message Date
Dirk Kok 0cb04c2cbf
Fix typo in `nomad node` help text
The command `nomad node eligibility` doesn't accept the `-disabled` option, this should be `-disable`.
2018-06-14 15:48:01 +02:00
Alex Dadgar b61051b3cd
Merge pull request #4409 from hashicorp/r-client-packages
Refactor client packages
2018-06-13 17:32:25 -07:00
Michael Lange f2163568c9 Actually ensure that the allocation relies on an unhealthy driver 2018-06-13 16:33:47 -07:00
Alex Dadgar 22757d964e lint 2018-06-13 16:06:39 -07:00
Alex Dadgar af558df94c Fix test using a lot of memory 2018-06-13 15:52:25 -07:00
Michael Lange a17b07b48b
Merge pull request #4410 from hashicorp/b-ui-update-vagrant
UI: update vagrant
2018-06-13 15:49:40 -07:00
Alex Dadgar 300b1a7a15 Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
Michael Lange c86183154b Remove hacky code that worked around an Ember Data bug
The bug is fixed in 2.18, so this can be written in the normal
less surprising way.
2018-06-13 15:05:18 -07:00
Michael Lange b9d590349e Dasherize task names in factory
This is to avoid test failures due to url encoding mismatches
2018-06-13 15:04:31 -07:00
Alex Dadgar c3c79c408e Reset Queued allocs to zero when job stopped
When a job is stopped but not purged, we should set the Queued count to
be zero.
2018-06-13 10:46:39 -07:00
Chelsea Komlo 03075b603a
Merge pull request #4399 from hashicorp/r-reload-refactor
Refactor logic for dynamic reloading
2018-06-13 13:35:12 -04:00
Alex Dadgar c668ed629a
Merge pull request #4412 from ogham/patch-1
Close unclosed backtick in docs
2018-06-13 10:00:40 -07:00
Chelsea Holland Komlo da712f4f47 fixup! more specific test assertion 2018-06-13 09:58:40 -04:00
Benjamin Sago 2495a95b93
Close unclosed backtick in docs 2018-06-13 10:50:13 +01:00
Alex Dadgar 9bab9edf27 test fixes 2018-06-12 17:45:39 -07:00
Michael Lange b0553b8585 Add chrome to the ui vagrant machine
It's used for running acceptance tests
2018-06-12 17:44:53 -07:00
Alex Dadgar 90c2108bfb Fix gc tests + parallel destroy + small test fixes 2018-06-12 10:23:45 -07:00
Alex Dadgar f5ff509fa5 Refactor - wip 2018-06-12 10:23:45 -07:00
Alex Dadgar 680df3cbe1
Merge pull request #4407 from hashicorp/b-vault
Fix Vault template test for v2 secret backend
2018-06-12 10:23:21 -07:00
Alex Dadgar ff2ab8f58e Fix vault template test 2018-06-12 09:57:28 -07:00
Alex Dadgar 4408f334eb Vagrant 2018-06-12 09:40:10 -07:00
Alex Dadgar d776e8a55d bump travis version 2018-06-12 09:39:31 -07:00
Michael Lange cf11b1f820 Remove phantomjs call from the makefile 2018-06-11 16:22:52 -07:00
Michael Lange b4d2921783 Update nvm, node, and yarn in vagrant 2018-06-11 16:22:52 -07:00
Alex Dadgar 8d0538b7c2
Merge pull request #4406 from hashicorp/f-ui-vagrant
Seperate ui vagrant
2018-06-11 16:08:01 -07:00
Alex Dadgar 6c07306b61 Seperate ui vagrant 2018-06-11 16:07:06 -07:00
Preetha d2c8b56f68
Merge pull request #4404 from hashicorp/f-move-autopilot-guide
Move autopilot to top level and fix links
2018-06-11 15:46:19 -07:00
Preetha Appan 0b4fc2b755
make link relative 2018-06-11 17:43:42 -05:00
Preetha Appan aa8092337c
Move autopilot to top level and fix links 2018-06-11 17:22:31 -05:00
Alex Dadgar 6d5f32588b Fix broken link 2018-06-11 13:57:36 -07:00
Alex Dadgar fc6224618f website bump 2018-06-11 13:52:55 -07:00
Alex Dadgar d0043691fb remove structs + bump version 2018-06-11 13:52:19 -07:00
Alex Dadgar 8f6f6d7e0c
Release v0.8.4 2018-06-11 13:49:28 -07:00
Alex Dadgar af5753d2cd bump version + generated files 2018-06-11 13:39:42 -07:00
Nick Ethier f36eb14360
Merge pull request #4403 from hashicorp/b-fix-dispatched-optional-meta
Fix dispatched optional meta correctly
2018-06-11 16:17:14 -04:00
Michael Schurter 39f64acb86
Merge pull request #4400 from hashicorp/b-fix-powershell-shutdown
executor: fix Windows blocking on pipe close
2018-06-11 11:05:54 -07:00
Nick Ethier e75e3ae665
nomad: use require pkg for tests 2018-06-11 13:50:50 -04:00
Nick Ethier 50c72adbd7
nomad: code review comments 2018-06-11 13:27:48 -04:00
Nick Ethier a581cc9c01
nomad/structs: fix job diff test 2018-06-11 13:06:49 -04:00
Nick Ethier 3aa6241b5c
client/driver/env: fix optional meta test 2018-06-11 12:29:13 -04:00
Nick Ethier c65882cafd
client/driver/env: use 'job.Dispatch' to trigger optional meta logic 2018-06-11 12:15:19 -04:00
Nick Ethier ccb5372813
Revert "Revert "client/driver/env: interpolate empty optional meta params as empty strings""
This reverts commit c17e0fc9dc5fd288935ab2b68fb441b4d25ac189.
2018-06-11 11:59:23 -04:00
Nick Ethier 41e010cdc2
nomad: add 'Dispatch' field to Job
New -bash: Dispatch: command not found field is used to denote if the Job is a child dispatched job of
a parameterized job.
2018-06-11 11:59:03 -04:00
Michael Schurter c198cfd8ea executor: fix log line formatting 2018-06-08 14:55:39 -07:00
Michael Schurter d1a60e700e executor: fix Windows blocking on pipe close
Sending the Ctrl-Break signal to PowerShell <6 causes it to drop into
debug mode. Closing its output pipe at that point will block
indefinitely and prevent the process from being killed by Nomad.

See the upstream powershell issue for details:
https://github.com/PowerShell/PowerShell/issues/4254
2018-06-08 14:48:05 -07:00
Chelsea Holland Komlo dca7235ca5 add tests and improve should reload logic 2018-06-08 15:10:10 -04:00
Chelsea Holland Komlo f74e74b22d add client logic to determine whether TLS RPC connections should reload 2018-06-08 14:38:58 -04:00
Chelsea Holland Komlo de03ce8070 move logic to determine whether to reload tls configuration to tlsutil helper 2018-06-08 14:33:58 -04:00
Chelsea Holland Komlo 3b5d5c7be8 remove logic to reload RPC connections from agent 2018-06-08 13:14:40 -04:00
James Rasell b9009c419c
Add 'nomad.advertise.address' to client meta via NomadFingerPrint
This change removes the addition of the advertise address to the
exported task env vars and instead moves this work into the
NomadFingerprint.Fingerprint which adds this value to the client
attrs. This can then be used within a Nomad job like
${attr.nomad.advertise.address}.
2018-06-08 09:44:10 +02:00