Commit graph

9718 commits

Author SHA1 Message Date
Michael Lange 6be9d7e919 Models evaluation data 2017-11-29 16:30:33 -08:00
Chelsea Holland Komlo 2e159fe01e add changelog 2017-11-29 15:27:50 -05:00
Chelsea Holland Komlo 2208964948 Support StopTimeout for Docker tasksw
Update github.com/fsouza/go-dockerclient
2017-11-29 14:33:05 -05:00
Michael Lange ec15b90d3a
Merge pull request #3564 from hashicorp/f-ui-log-streaming
UI: Log streaming
2017-11-29 09:36:41 -08:00
Chelsea Komlo 8d786d82a8
Merge pull request #3597 from tbartelmess/b-fix-exhaustion-strings
Changed Superset to only return the resource name
2017-11-29 11:19:18 -05:00
Chelsea Komlo ae08b0b8fe
Merge pull request #3598 from jrasell/patch-3
Update community.html.erb to include Levant.
2017-11-29 10:23:27 -05:00
James Rasell 2dbfec4d4c
Update community.html.erb to include Levant.
This change requests that Levant be added to the Nomad community page. Levant is an open source templating and deployment tool for HashiCorp Nomad jobs that provides realtime feedback and detailed failure messages upon deployment issues. Further details about Levant can be seen on the [jrasell/levant](https://github.com/jrasell/levant) GitHub page.
2017-11-29 12:39:28 +01:00
Thomas Bartelmess 9acfa166c0
Changed Superset to only return the resource name
The Superset method on Resources used to return a string in the format of “[resource name] exhausted”.
This was leading to the output in plan/create job API DimensionExhausted to return keys like
```
"DimensionExhausted": {"cpu exhausted": 1}
```
This was not anywhere documented, however, one of the examples on the website showed it like this.

The other side effect of this is that the CLI formats the strings from the name of the key leading to output like
```
* Dimension "cpu exhausted" exhausted on 1 nodes
```
2017-11-28 23:16:08 -05:00
Michael Schurter ed36bf29ea
Merge pull request #3596 from tbartelmess/b-min-resource-errors
Fixed error messges for MeetsMinResources
2017-11-28 18:20:20 -07:00
Thomas Bartelmess 60e4c777ac
Fixed error messges for MeetsMinResources 2017-11-28 19:44:33 -05:00
Chelsea Komlo fc8f670b02
Merge pull request #3583 from neojin/update-docs-api-regions
update API docs for /regions endpoint
2017-11-28 10:00:31 -05:00
Chelsea Komlo bf389ed3f3
Merge pull request #3584 from neojin/update-api-docs-client-gc
API docs: /client/gc returns text/plain, not json
2017-11-28 09:59:12 -05:00
Chelsea Komlo 733fabfd8a
Merge pull request #3590 from yurisklar/master
Fix Website Docs for Periodic jobs TimeZone
2017-11-28 09:54:00 -05:00
Iurii Skliar 71718db753 Fix Website Docs for Periodic jobs TimeZone 2017-11-27 18:06:26 +01:00
Jin Lee d669eb6b5c /client/gc returns text/plain, not json 2017-11-23 10:15:33 -08:00
Jin Lee 903fc6560d update API docs for /regions endpoint 2017-11-23 09:24:40 -08:00
Michael Lange e051b1f34b Explain the magical logging constant 2017-11-21 15:05:28 -08:00
Michael Lange 73969cd6ab Move the stream support check to the stream logger 2017-11-21 14:57:19 -08:00
Preetha 8b6b4f0caa
Merge pull request #3567 from hashicorp/d-enterprise-docs
Minor tweaks to Enterprise docs
2017-11-21 16:38:07 -06:00
Michael Lange 072efb665e Unit tests for the log util 2017-11-21 11:22:43 -08:00
Michael Lange 3e8e3880aa Use the b64 log format to track offsets for pause/play support 2017-11-21 11:22:42 -08:00
Michael Lange b3d53a3569 Use offset numbers in the polling mechanism 2017-11-21 11:22:42 -08:00
Michael Lange bf082d4fcd Fixes intermittent test failures 2017-11-21 11:22:42 -08:00
Michael Lange 061de462c6 Integration tests for the task-log component 2017-11-21 11:22:42 -08:00
Michael Lange 96403746b1 Add CORS headers to client fs endpoints 2017-11-21 11:22:42 -08:00
Michael Lange ac1855f37c Rename allocation-log to task-log 2017-11-21 11:22:42 -08:00
Michael Lange 1e1a697841 Acceptance tests for task logs 2017-11-21 11:22:42 -08:00
Michael Lange 95ee30cc31 Crude log mocking
This will need to get better for testing the offset stitching
logic in the polling case.
2017-11-21 11:22:42 -08:00
Michael Lange ba7245247a Prevent using fetch or ReadableStream in tests
Until they can be mocked, they can't be used
2017-11-21 11:22:42 -08:00
Michael Lange 82bf67b630 Microscopic refactor for style reasons 2017-11-21 11:22:42 -08:00
Michael Lange b567b97659 New eslint rule for ember-concurrency infinite loop pattern 2017-11-21 11:22:42 -08:00
Michael Lange 53de626709 Let the log component fill all available height 2017-11-21 11:22:42 -08:00
Michael Lange d394b7e648 Updated styles for the cli-window component 2017-11-21 11:22:42 -08:00
Michael Lange 1841e19c67 New icons for pausing and playing 2017-11-21 11:22:42 -08:00
Michael Lange 7c3f688ad6 Move logging logic from the controller to a component 2017-11-21 11:22:42 -08:00
Michael Lange fc581163d6 First pass at the logs page
Just verifying the log code works
2017-11-21 11:22:42 -08:00
Michael Lange 4293772203 Log class for interfacing with log APIs
Supports:
  - Reading the head of a log
  - Reading the tail of a log
  - Following a log in one of two ways:
    - Streaming the HTTP request (using fetch res.getReader)
    - Polling the log endpoint (using EC timeouts)
2017-11-21 11:22:41 -08:00
Michael Lange 52b81d8fa7 Provides a slim TextDecoder polyfill for Edge 2017-11-21 11:22:41 -08:00
Michael Lange 73e70f6931 Add ember-concurrency dependency 2017-11-21 11:22:41 -08:00
Michael Lange dc5159292a Add link to the task logs page 2017-11-21 11:22:41 -08:00
Michael Lange d7df5712f9 Prefer native fetch 2017-11-21 11:22:41 -08:00
Michael Lange a02f32fc81 Guard against null values 2017-11-21 11:22:41 -08:00
Rob Genova 71b612ede5
Merge pull request #3557 from hashicorp/f-terraform-azure
Add Packer/Terraform support for Azure
2017-11-21 10:41:50 -08:00
Preetha 6ce8e6b831
Merge pull request #3578 from hashicorp/b-namespace-jobcreate-fix
namespace jobcreate bug fix
2017-11-20 17:37:44 -06:00
Preetha Appan 8e01dc27a3 Use request namespace in Register method 2017-11-20 17:12:13 -06:00
Rob Genova 4be77ddb2c
Update index.html.md 2017-11-20 12:20:53 -08:00
Rob Genova 9f29cc8cfb
Update index.html.md 2017-11-20 12:19:42 -08:00
Rob Genova 0b01bd6c6f
Update index.html.md 2017-11-20 12:17:16 -08:00
Rob Genova efde1117de
Update index.html.md 2017-11-20 12:11:21 -08:00
Preetha 0c1449a305
Update CHANGELOG.md 2017-11-20 14:08:40 -06:00