Michael Lange
2926920f26
Add CORS headers to client fs endpoints
2017-11-21 11:22:42 -08:00
Michael Lange
0193e05834
Rename allocation-log to task-log
2017-11-21 11:22:42 -08:00
Michael Lange
249d2a3a01
Acceptance tests for task logs
2017-11-21 11:22:42 -08:00
Michael Lange
37653a95c3
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
f283287d40
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
80e925467f
Microscopic refactor for style reasons
2017-11-21 11:22:42 -08:00
Michael Lange
0faacf2fa8
New eslint rule for ember-concurrency infinite loop pattern
2017-11-21 11:22:42 -08:00
Michael Lange
b3abd78316
Let the log component fill all available height
2017-11-21 11:22:42 -08:00
Michael Lange
efc3b53f74
Updated styles for the cli-window component
2017-11-21 11:22:42 -08:00
Michael Lange
5c8ba294cb
New icons for pausing and playing
2017-11-21 11:22:42 -08:00
Michael Lange
20ac6c07df
Move logging logic from the controller to a component
2017-11-21 11:22:42 -08:00
Michael Lange
72d84f6922
First pass at the logs page
...
Just verifying the log code works
2017-11-21 11:22:42 -08:00
Michael Lange
5735fca9cf
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
0d299b60df
Provides a slim TextDecoder polyfill for Edge
2017-11-21 11:22:41 -08:00
Michael Lange
c87bc96b23
Add ember-concurrency dependency
2017-11-21 11:22:41 -08:00
Michael Lange
50d92afcfa
Add link to the task logs page
2017-11-21 11:22:41 -08:00
Michael Lange
89ef279ffb
Prefer native fetch
2017-11-21 11:22:41 -08:00
Michael Lange
3115b34cce
Guard against null values
2017-11-21 11:22:41 -08:00
Rob Genova
4dad8101c4
Merge pull request #3557 from hashicorp/f-terraform-azure
...
Add Packer/Terraform support for Azure
2017-11-21 10:41:50 -08:00
Preetha
fcf0ccdaf4
Merge pull request #3578 from hashicorp/b-namespace-jobcreate-fix
...
namespace jobcreate bug fix
2017-11-20 17:37:44 -06:00
Preetha Appan
d5a776601b
Use request namespace in Register method
2017-11-20 17:12:13 -06:00
Preetha
815972bb88
Update CHANGELOG.md
2017-11-20 14:08:40 -06:00
Preetha
7ef84408a5
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
eca6f8573a
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
d522149f6b
Missed assert in one place
2017-11-20 13:04:38 -06:00
Preetha Appan
ee4b4d859d
Better error validation, and added test case for invalid sysctl inputs
2017-11-20 12:07:18 -06:00
Preetha Appan
0d4797711b
Address some review comments
2017-11-20 11:15:09 -06:00
Chelsea Komlo
13d3a662f3
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
4e9ede95d9
Merge pull request #3574 from multani/fix-doc-logs
...
doc: fix logs size
2017-11-20 09:43:04 -05:00
Preetha
09bf5d1132
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
c37c7db456
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
f64ba61492
doc: fix logs size
2017-11-20 12:36:56 +01:00
Preetha
bc08d31849
Remove merge conflict marker from documentation
2017-11-19 16:10:56 -06:00
Jin Lee
d3c7268a2d
update API docs for /agent/self from POST to GET
2017-11-18 19:03:33 -08:00
Preetha
08817ff27c
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
a474c368dc
Shorter comment for SetEventDisplayMessage
2017-11-18 09:30:50 -06:00
Preetha Appan
9e07471e48
Fix gofmt warnings
2017-11-18 09:23:09 -06:00
Theo Hultberg
ea427459d8
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
48829e88d0
Fix test compilation after rebase
2017-11-17 17:46:04 -06:00
Samuel BERTHE
e6c0372318
review(docker driver): sysctls -> sysctl + ulimits -> ulimit
2017-11-17 16:30:45 -06:00
Rob Genova
35e6264836
bump Terraform version to 0.11.0
2017-11-17 14:26:27 -08:00
Samuel BERTHE
657619c0ec
Oops
2017-11-17 16:14:14 -06:00
Samuel BERTHE
db2b09e4a0
doc(docker driver): Adds doc for ulimit and sysctl
2017-11-17 16:14:14 -06:00
Samuel BERTHE
d15f01d7df
💄
2017-11-17 16:03:22 -06:00
Samuel BERTHE
cf586996f4
test(docker driver): testing sysctls and ulimits
2017-11-17 16:03:22 -06:00
Samuel BERTHE
84a089433d
feat(docker driver): adds sysctls and ulimits configs
2017-11-17 16:03:22 -06:00
Preetha
5b082fcd9b
Update CHANGELOG.md
2017-11-17 15:31:25 -06:00
Preetha
18fd58e90b
Update CHANGELOG.md
2017-11-17 15:10:01 -06:00
Preetha Appan
bbeb658831
Populate DisplayMessage in various http endpoints that return allocations, plus unit tests.
2017-11-17 14:53:26 -06:00
Preetha
4ed19eaf03
Update CHANGELOG.md
2017-11-17 14:35:54 -06:00