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
Preetha
d2558cc0ef
Merge pull request #3568 from hashicorp/f-docker-sysctl
...
Rebase and merge of docker sysctl support
2017-11-20 14:01:54 -06:00
Charlie Voiselle
679e49448e
Changed permission check to requested namespace
...
Original code checked to see if the user had submit-job on the default namespace.
2017-11-20 15:00:24 -05:00
Preetha Appan
6ad65c51e6
Missed assert in one place
2017-11-20 13:04:38 -06:00
Preetha Appan
747bd59daa
Better error validation, and added test case for invalid sysctl inputs
2017-11-20 12:07:18 -06:00
Preetha Appan
c68973747b
Address some review comments
2017-11-20 11:15:09 -06:00
Chelsea Komlo
48e9e31cdf
Merge pull request #3565 from hashicorp/d-tls-reload-sighup
...
Update nomad guide for dynamic certificate reloading
2017-11-20 10:09:42 -05:00
Charlie Voiselle
e02290d6c8
Merge pull request #3574 from multani/fix-doc-logs
...
doc: fix logs size
2017-11-20 09:43:04 -05:00
Preetha
785a1a3fcc
Merge pull request #3569 from iconara/patch-2
...
Fix error messages for transitioning jobs to/from periodic
2017-11-20 07:57:36 -06:00
Preetha
f4a714291a
Merge pull request #3570 from neojin/update-docs-api-agent
...
update API docs for /agent/self from POST to GET
2017-11-20 07:25:41 -06:00
Jonathan Ballet
8fb62b598d
doc: fix logs size
2017-11-20 12:36:56 +01:00
Preetha
a00c878e59
Remove merge conflict marker from documentation
2017-11-19 16:10:56 -06:00
Jin Lee
8b94d235d9
update API docs for /agent/self from POST to GET
2017-11-18 19:03:33 -08:00
Preetha
b78847b2e8
Merge pull request #3566 from hashicorp/f-set-modtime-http-endpoints
...
Populate DisplayMessage in various http endpoints
2017-11-18 09:31:24 -06:00
Preetha
ff23499145
Shorter comment for SetEventDisplayMessage
2017-11-18 09:30:50 -06:00
Preetha Appan
39ef9ee76d
Fix gofmt warnings
2017-11-18 09:23:09 -06:00
Theo Hultberg
5a6984693f
Fix error messages for transitioning jobs to/from periodic
...
The error messages are flipped; when you transition a job from _not_ being periodic to being periodic you get the message "cannot update periodic job to being non-periodic", and vice versa.
2017-11-18 11:50:52 +01:00
Preetha Appan
e53dd15f58
Fix test compilation after rebase
2017-11-17 17:46:04 -06:00
Rob Genova
97da591a7b
slight wording changes; add links to Enteprise
2017-11-17 23:07:05 +00:00
Rob Genova
657349dae0
minor wording changes
2017-11-17 14:52:41 -08:00
Rob Genova
5a191b5483
update Enterprise language
2017-11-17 14:44:48 -08:00
Samuel BERTHE
0fca2e19c8
review(docker driver): sysctls -> sysctl + ulimits -> ulimit
2017-11-17 16:30:45 -06:00