Commit Graph

14612 Commits

Author SHA1 Message Date
Chris Baker
570efaa05b gofmt/goimport and test formatting 2019-04-12 20:55:55 +00:00
Chris Baker
165244a9b7 changes to appease gofmt 2019-04-12 19:12:42 +00:00
Chris Baker
f011f61645 cli: add support for periodic force evaluation
resolves #3251
2019-04-12 18:56:35 +00:00
Michael Lange
1c38ced33a Merge pull request #5558 from hashicorp/b-ui-make-tests-faster
UI: Make tests faster
2019-04-12 11:41:03 -07:00
Chris Baker
7a6a2d3274 Merge pull request #5556 from hashicorp/nmd-1403-vault-namespace-task-env
vault namespaces: inject VAULT_NAMESPACE alongside VAULT_TOKEN
2019-04-12 14:21:47 -04:00
Preetha
176b48c272 Merge pull request #5545 from hashicorp/f-preemption-scheduler-refactor
Refactor scheduler package to enable preemption for batch/service jobs
2019-04-12 12:37:59 -05:00
Chris Baker
68470e9fef Merge pull request #5557 from hashicorp/nmd-1409-cli-acl-token-list
cli: add `acl token list` command, documentation
2019-04-12 12:56:55 -04:00
Chris Baker
c38a98e5bb cli: add acl token list command, documentation
docs: fix some incorrect acl policy docs (typos, copy-paste errors)
2019-04-12 15:48:36 +00:00
Preetha Appan
a134c16c22 remove stray new line 2019-04-12 10:32:48 -05:00
Chris Baker
377c1d694b vault namespaces: inject VAULT_NAMESPACE alongside VAULT_TOKEN + documentation 2019-04-12 15:06:34 +00:00
Michael Lange
daa9f7d520 Speed up slow acceptance tests with shallow jobs and generally less models 2019-04-11 20:08:43 -07:00
Michael Lange
aba4882dcb Introduce the concept of 'shallow' job models in Mirage 2019-04-11 20:08:09 -07:00
Michael Lange
768bfdf87d Reduce the number of task groups and task events that are made 2019-04-11 18:15:35 -07:00
Nick Fagerlund
ec3b8cd9ec Merge pull request #5505 from nfagerlund/mar19_middleman_update
website: Update hashicorp-middleman container to v0.3.39
2019-04-11 16:36:49 -07:00
Lang Martin
cfb1aa2010 Merge pull request #5551 from hashicorp/b-revert-fingerprinter-manual-config
Revert accidental merge of pr #5482
2019-04-11 11:55:21 -04:00
Lang Martin
c45652ab8c Revert accidental merge of pr #5482
Revert "fingerprint Constraints and Affinities have Equals, as set"
This reverts commit 596f16fb5f.

Revert "client tests assert the independent handling of interface and speed"
This reverts commit 7857ac5993.

Revert "structs missed applying a style change from the review"
This reverts commit 658916e327.

Revert "client, structs comments"
This reverts commit be2838d6ba.

Revert "client fingerprint updateNetworks preserves the network configuration"
This reverts commit fc309cb430.

Revert "client_test cleanup comments from review"
This reverts commit bc0bf4efb9.

Revert "client Networks Equals is set equality"
This reverts commit f8d432345b.

Revert "struct cleanup indentation in RequestedDevice Equals"
This reverts commit f4746411ca.

Revert "struct Equals checks for identity before value checking"
This reverts commit 0767a4665e.

Revert "fix client-test, avoid hardwired platform dependecy on lo0"
This reverts commit e89dbb2ab1.

Revert "refactor error in client fingerprint to include the offending data"
This reverts commit a7fed726c6.

Revert "add client updateNodeResources to merge but preserve manual config"
This reverts commit 84bd433c7e.

Revert "refactor struts.RequestedDevice to have its own Equals"
This reverts commit 6897825240.

Revert "refactor structs.Resource.Networks to have its own Equals"
This reverts commit 49e2e6c77b.

Revert "refactor structs.Resource.Devices to have its own Equals"
This reverts commit 4ede9226bb.

Revert "add COMPAT(0.10): Remove in 0.10 notes to impl for structs.Resources"
This reverts commit 49fbaace52.

Revert "add structs.Resources Equals"
This reverts commit 8528a2a2a6.

Revert "test that fingerprint resources are updated, net not clobbered"
This reverts commit 8ee02ddd23.
2019-04-11 10:29:40 -04:00
Chris Baker
3171529c73 Merge pull request #5550 from hashicorp/cgbaker/update-terraform
More terraform updates
2019-04-11 10:18:28 -04:00
Chris Baker
6328294c74 terraform: modified default client instance type to a more reasonable t2.medium, left commented GPU instance type 2019-04-11 14:13:30 +00:00
Chris Baker
f1d7464818 terraform/packer: revert name of AMI to generic "hashistack" instead of my name 2019-04-11 14:11:32 +00:00
Lang Martin
596f16fb5f fingerprint Constraints and Affinities have Equals, as set 2019-04-11 09:56:22 -04:00
Lang Martin
7857ac5993 client tests assert the independent handling of interface and speed 2019-04-11 09:56:22 -04:00
Lang Martin
658916e327 structs missed applying a style change from the review 2019-04-11 09:56:22 -04:00
Lang Martin
be2838d6ba client, structs comments 2019-04-11 09:56:22 -04:00
Lang Martin
fc309cb430 client fingerprint updateNetworks preserves the network configuration 2019-04-11 09:56:22 -04:00
Lang Martin
bc0bf4efb9 client_test cleanup comments from review 2019-04-11 09:56:22 -04:00
Lang Martin
f8d432345b client Networks Equals is set equality 2019-04-11 09:56:22 -04:00
Lang Martin
f4746411ca struct cleanup indentation in RequestedDevice Equals 2019-04-11 09:56:22 -04:00
Lang Martin
0767a4665e struct Equals checks for identity before value checking 2019-04-11 09:56:22 -04:00
Lang Martin
e89dbb2ab1 fix client-test, avoid hardwired platform dependecy on lo0 2019-04-11 09:56:22 -04:00
Lang Martin
a7fed726c6 refactor error in client fingerprint to include the offending data 2019-04-11 09:56:22 -04:00
Lang Martin
84bd433c7e add client updateNodeResources to merge but preserve manual config 2019-04-11 09:56:22 -04:00
Lang Martin
6897825240 refactor struts.RequestedDevice to have its own Equals 2019-04-11 09:56:21 -04:00
Lang Martin
49e2e6c77b refactor structs.Resource.Networks to have its own Equals
NodeResource.Networks uses the same function
2019-04-11 09:56:21 -04:00
Lang Martin
4ede9226bb refactor structs.Resource.Devices to have its own Equals 2019-04-11 09:56:21 -04:00
Lang Martin
49fbaace52 add COMPAT(0.10): Remove in 0.10 notes to impl for structs.Resources 2019-04-11 09:56:21 -04:00
Lang Martin
8528a2a2a6 add structs.Resources Equals 2019-04-11 09:56:21 -04:00
Lang Martin
8ee02ddd23 test that fingerprint resources are updated, net not clobbered 2019-04-11 09:56:21 -04:00
Chris Baker
25a1f7356c Merge pull request #5548 from hashicorp/cgbaker/update-terraform
Update terraform, add nvidia example
2019-04-11 09:32:55 -04:00
Chris Baker
26158acffc Update setup.sh 2019-04-11 09:31:47 -04:00
Chris Baker
f4664f908b example: nvidia tensorrt example using GPU device plugin 2019-04-11 13:01:13 +00:00
Chris Baker
2308a5839d terraform: work on terraform setup
* support for 0.9.0
* ELB for servers
* better output
* customizable security groups
* nvidia-docker support
* different server/client instance types
2019-04-11 13:00:20 +00:00
Danielle
6b600688be Merge pull request #5502 from hashicorp/dani/f-alloc-restart
alloc-lifecycle: nomad alloc restart
2019-04-11 14:26:15 +02:00
Danielle Lancashire
419d70c5f9 allocs: Add nomad alloc restart
This adds a `nomad alloc restart` command and api that allows a job operator
with the alloc-lifecycle acl to perform an in-place restart of a Nomad
allocation, or a given subtask.
2019-04-11 14:25:49 +02:00
Danielle
776477824e Merge pull request #5516 from hashicorp/dani/f-verbose-status
Allow passing -verbose to meta status
2019-04-11 13:31:48 +02:00
Danielle Lancashire
38e73b51e9 status: Allow passing -verbose to meta status
A common issue when using nomad is needing to add in the object verb to
a command to include the `-verbose` flag.

This commit allows users to pass `-verbose` via the `nomad status` alias by
adding a placeholder boolean in the metacommand which allows subcommands
to parse the flag.
2019-04-11 13:15:44 +02:00
Danielle
1c06fd5b95 Merge pull request #5500 from hashicorp/f-acl-alloc-lifecycle
acl: Add alloc-lifecycle namespace capability
2019-04-11 10:41:32 +02:00
Preetha Appan
4743561396 Refactor scheduler package to enable preemption for batch/service jobs 2019-04-10 20:24:01 -05:00
Michael Lange
74190ff809 Merge pull request #5544 from hashicorp/f-ui-ember-v3
UI: Ember 2.18 → 3.4 Take two
2019-04-10 16:04:41 -07:00
Michael Lange
27ee73ae9c Force Travis to use node 10 2019-04-10 14:55:30 -07:00
Michael Lange
bd2b2d7059 Upgrade Yarn 2019-04-10 14:55:29 -07:00