Commit Graph

17585 Commits

Author SHA1 Message Date
Charlie Voiselle
ce06e3dc6d Update schedulers.mdx 2020-03-25 20:10:53 -04:00
Jeff Escalante
d405f77525 Update website dependencies, fix IE11 (#7345) 2020-03-25 16:34:16 -04:00
Drew Bailey
7bd7136c33 Merge pull request #7488 from hashicorp/mv-noopauditor
allow all build contexts to use noOpAuditor
2020-03-25 16:06:31 -04:00
Buck Doyle
557f913899 UI: Fix check for Mirage presence setting up sockets (#7497)
Without this, exec UI doesn’t work at all in the binary. I made an
unfortunate error in not copying the environment check from
app/utils/fetch.js.
2020-03-25 13:23:23 -05:00
Jasmine Dahilig
8fc7918978 docs: add beta tag to lifecycle stanza (#7496) 2020-03-25 10:30:44 -07:00
Buck Doyle
189b52212e UI: Change determination of exec sidebar active tasks (#7491)
This closes #7476. The decomposition of computed properties
is necessary to avoid nested aggregate dependent keys; the
previous dependent key of `taskGroup` will be inadequate
when the sidebar becomes live-updating.
2020-03-25 12:08:33 -05:00
Jasmine Dahilig
00dc60f3d9 docs: lifecycle stanza (#7493) 2020-03-25 09:57:53 -07:00
Mahmood Ali
00beda7bd5 Merge pull request #7478 from hashicorp/docs-scaling-api
docs: nomad scaling policy api
2020-03-25 12:50:56 -04:00
Mahmood Ali
68cfe74a2e Merge pull request #7489 from hashicorp/docs-update-website-0.11.0-beta1
Prepare website for 0.11.0-beta1 release
2020-03-25 12:27:07 -04:00
Seth Hoenig
f97efe896c Merge pull request #7492 from hashicorp/doc-fielddiff-comparison-reminder
doc: add a reminder about field order for diff comparisons
2020-03-25 09:40:54 -06:00
Seth Hoenig
329ea5a77e doc: add a reminder about field order for diff comparisons
After spending hours re-learning this lesson more than once,
update the jobspec contribution guide with a reminder about
how to configure FieldDiff comparisons.
2020-03-25 09:33:27 -06:00
Mahmood Ali
d49aba520a add beta info 2020-03-25 11:14:55 -04:00
Mahmood Ali
bb5b23750b Publish nomad 0.10.5 release 2020-03-25 11:12:39 -04:00
Drew Bailey
d945b26612 sync changes made to oss files from ent 2020-03-25 10:57:44 -04:00
Drew Bailey
5751ba6d16 add in change missed from ent 2020-03-25 10:53:38 -04:00
Drew Bailey
dc7e0bae77 add auditor 2020-03-25 10:48:23 -04:00
Drew Bailey
80965716b6 allow all build contexts to use noOpAuditor 2020-03-25 10:38:40 -04:00
Mahmood Ali
8edf55600b Merge pull request #7487 from hashicorp/b-xss-oss
agent: prevent XSS by controlling Content-Type
2020-03-25 09:56:11 -04:00
Mahmood Ali
9c59f77ab6 changelog: add 0.10.5 entry
[ci skip]
2020-03-25 09:55:33 -04:00
Tim Gross
506262240f api: prevent panic if volume has nil allocs (#7486) 2020-03-25 09:45:51 -04:00
Michael Schurter
79e55b4d76 remove double negative from comment
Co-Authored-By: Mahmood Ali <mahmood@hashicorp.com>
2020-03-25 09:45:43 -04:00
Michael Schurter
a7dce71fbf test: assert monitor endpoint sets proper headers 2020-03-25 09:45:43 -04:00
Michael Schurter
43e4706b35 test: assert fs endpoints are xss safe 2020-03-25 09:45:43 -04:00
Michael Schurter
b2ff9bcb1f agent: prevent XSS by controlling Content-Type 2020-03-25 09:45:43 -04:00
Mahmood Ali
1aa0c1c069 Merge pull request #7484 from hashicorp/fix-tests-20200325_1
Some test fixes
2020-03-25 09:02:17 -04:00
Michael Lange
508404ccba UI: Support for CSI (#7446)
Closes #7197 #7199

Note: Test coverage is limited to adapter and serializer unit tests. All
acceptance tests have been stubbed and all features have been manually
tested end-to-end.

This represents Phase 1 of #6993 which is the core workflow of CSI in
the UI. It includes a couple new pages for viewing all external volumes
as well as the allocations associated with each. It also updates
existing volume related views on job and allocation pages to handle both
Host Volumes and CSI Volumes.
2020-03-25 07:51:26 -05:00
Chris Baker
f4b01e5036 Update website/pages/api-docs/jobs.mdx
Co-Authored-By: James Rasell <jrasell@users.noreply.github.com>
2020-03-25 07:51:25 -05:00
Mahmood Ali
4bbde0ea33 tests: test agent to use a noop auditor 2020-03-25 08:45:44 -04:00
Mahmood Ali
3a0f29c076 tests: TestCSIPluginEndpoint_ACLNamespaceAlloc is ent
TestCSIPluginEndpoint_ACLNamespaceAlloc uses namespace features not
present in OSS.
2020-03-25 08:45:44 -04:00
Mahmood Ali
e6b1e7ba50 tests: relax index checks
TestStateStore_Indexes specifically tests for `nodes` index, but asserts
on the exact number of indexes present in the state.  This is fragile
and will break almost everytime we add a state index.
2020-03-25 08:45:38 -04:00
Mahmood Ali
879a8ee55f Merge pull request #7485 from hashicorp/backfill-changelog
add missing changelog entry for 6975
2020-03-25 08:43:16 -04:00
Drew Bailey
7b26c58a2e add missing changelog entry for 6975 2020-03-25 08:41:36 -04:00
Mahmood Ali
4a27cddec8 Merge pull request #7383 from hashicorp/b-health-detect-failing-tasks
health: detect failing tasks
2020-03-25 06:30:05 -04:00
Mahmood Ali
e718b2f5ec Merge pull request #7482 from hashicorp/b-fix-tests-20200324
Fix some flaky tests
2020-03-24 22:24:22 -04:00
Mahmood Ali
e43468ec91 tweaks 0.11.0 changelog (#7481) 2020-03-24 22:20:51 -04:00
Mahmood Ali
d155e4d412 tests: restart restartpolicy for all tasks in tests 2020-03-24 21:52:48 -04:00
Mahmood Ali
c31dbc24c9 ci: collect json file
Start collecting raw `go test -json` output to help with debugging odd
CI failures.
2020-03-24 21:47:21 -04:00
Mahmood Ali
df08c6c399 tests: populate task restart policy properly 2020-03-24 21:44:37 -04:00
Mahmood Ali
64928b770a Merge pull request #7466 from hashicorp/csi_changelog
add changelog entries for 0.11.0
2020-03-24 20:47:25 -04:00
Drew Bailey
9b63044400 Merge pull request #7480 from hashicorp/docs-ent-fix-typo
fix typo
2020-03-24 19:50:18 -04:00
Drew Bailey
0db69748d4 fix typo 2020-03-24 19:48:29 -04:00
Drew Bailey
6c4fca0c7e Merge pull request #7479 from hashicorp/docs-ent-audit
update enterprise audit blurb
2020-03-24 19:46:38 -04:00
Drew Bailey
9cc96d18b5 update enterprise audit blurb 2020-03-24 19:42:02 -04:00
Buck Doyle
27df92a967 UI: add exec terminal (#6697)
This connects Xterm.js to a Nomad exec websocket so people
can interact on clients via live sessions. There are buttons on
job, allocation, task group, and task detail pages that open a
popup that lets them edit their shell command and start a
session.

More is to come, as recorded in issues.
2020-03-24 18:22:16 -05:00
Chris Baker
80cb81b8f5 added documentation for scaling stanza 2020-03-24 22:36:27 +00:00
Mahmood Ali
b80749157e Merge pull request #7288 from hashicorp/f-task-restart-policy
Support per-task RestartPolicy
2020-03-24 18:33:26 -04:00
Chris Baker
ac2f66ad70 document new scaling APIs in the API section 2020-03-24 22:08:34 +00:00
Mahmood Ali
80830221fe tests: fix TestAllocations_GarbageCollect 2020-03-24 17:38:59 -04:00
Mahmood Ali
55db937f16 tests: update AR task restart policy 2020-03-24 17:00:42 -04:00
Mahmood Ali
c55f3ed084 per-task restart policy 2020-03-24 17:00:41 -04:00