Commit Graph

12719 Commits

Author SHA1 Message Date
Michael Lange 5ab8eab230
Merge pull request #4545 from hashicorp/f-ui-no-leader-error
UI: Specialized No Leader error page
2018-08-20 15:16:01 -07:00
Alex Dadgar bcc1e20b92
Merge pull request #4599 from hashicorp/f-docker-kill-timeout
Fix kill timeout exceeding 5m on Docker driver
2018-08-20 15:13:25 -07:00
Michael Lange 8ed04e64fe Specialized No Leader error page 2018-08-20 14:11:50 -07:00
Michael Lange ee074e9ef5 Don't use the verbose diff for job run plan 2018-08-17 18:32:59 -07:00
Michael Lange 06027f7799
Merge pull request #4592 from hashicorp/f-ui-new-job
UI: Run a job from the Web UI
2018-08-17 18:29:22 -07:00
Michael Lange 74248bc3f6 Spiff up the form buttons with type and disabled attributes 2018-08-17 18:20:15 -07:00
Alex Dadgar 089b533047 Fix kill timeout exceeding 5m on Docker driver
Fixes an issue where the Docker API client would timeout before the kill
timeout was hit.
2018-08-17 16:01:09 -07:00
Michael Lange 2e35687a1d Acceptance tests for job run page 2018-08-16 17:22:58 -07:00
Michael Lange f53fb08144 Rework job parse mirage request to get the job ID out of the payload 2018-08-16 17:22:22 -07:00
Alex Dadgar 98a67938a0 initial device go-plugin 2018-08-16 16:49:09 -07:00
Michael Lange 1d3bf6bdea New Page Object component for common error formatting 2018-08-16 10:57:56 -07:00
Michael Lange e634a98102 New PageObject helper for getting and setting CodeMirror values 2018-08-16 10:57:13 -07:00
Michael Lange 9fb8964c00 New test helper for getting the underlying CodeMirror instance from a dom selector 2018-08-16 10:56:37 -07:00
Charlie Voiselle 4612cac021
Merge pull request #4588 from hashicorp/d-fix-max-parallel-over-group
Clarify `max_parallel` interaction with taskgroups
2018-08-16 12:30:45 -04:00
Charlie Voiselle e97fe2300c Clarify max_parallel interaction with taskgroups
Updates are parallelized at the task group level always.  The
`max_parallel` attribute controls parallelization over the `count`
allocations of the task group itself.
2018-08-16 12:11:30 -04:00
Michael Lange a96c4508d6 Acceptance test for the jobs list page 2018-08-15 17:12:18 -07:00
Michael Lange 75124fdc9e Use the job name as the job id
This has bit me more than once. It's best just to make Mirage consistent
with the API even if it currently means indeterminate job ids
2018-08-15 17:00:08 -07:00
Michael Lange 2239e3c8d7 Support parse, plan, and run endpoints in mirage 2018-08-15 16:59:42 -07:00
Michael Lange f06da96c90 Move the Diff property read out of the template 2018-08-15 16:58:54 -07:00
Michael Lange da46817289 Error messages for job submit 2018-08-15 15:18:38 -07:00
Chelsea Komlo 0a69cdb304
Merge pull request #4565 from hashicorp/b-compare-cert-alg
Error if TLS Certificate signature algorithm isn't supported in cipher suites
2018-08-15 16:09:46 -04:00
Chelsea Holland Komlo 71a4ced04c fix up test failure due to keyloader instantiated on tls config during parsing 2018-08-15 00:59:29 -04:00
Michael Lange e1e3d2c34d Run job UI and API workflows 2018-08-14 18:26:26 -07:00
Michael Lange 87cbf1ddbe Remove unused solarized theme configuration 2018-08-14 17:37:44 -07:00
Michael Lange de4caacb6d Fix no allocations error message layout for the recent allocations component 2018-08-14 17:37:15 -07:00
Michael Lange 4d656c7a31 Parse and Plan API and UI workflows 2018-08-14 17:29:51 -07:00
Chelsea Komlo 7d25dd6244
Merge pull request #4584 from hashicorp/b-build-fixes
Vendor github.com/golang/protobuf/ptypes/empty
2018-08-14 17:38:15 -04:00
Chelsea Komlo a936c452b5
Merge pull request #4577 from hashicorp/b-panic-job-history
Fix for panic when submitting non-existent version for job history CLI command
2018-08-14 17:34:05 -04:00
Chelsea Holland Komlo 67f2e6c046 vendor github.com/golang/protobuf/ptypes/empty 2018-08-14 16:20:20 -04:00
Michael Lange b0939bde07 Add breadcrumb to the run job page 2018-08-14 13:06:26 -07:00
Michael Lange c85c2a2932 New job run page and navigation to get there. 2018-08-14 12:54:54 -07:00
Michael Lange fe9d0b8704 New layout helper for associating two elements vertically
By default, blocks have a margin of 1.5em to create a consistent
vertical rhythm. However, sometimes elements need to be associated with
the element above them. In this cases, the gap between elements needs to
be tighter. There are many ways to do this, but this approach asks the
latter content to be marked as associative. The implication is that the
association is with the previous block.
2018-08-14 12:47:28 -07:00
Michael Lange 1cc7aba5d2 Enforce a min-height for the code editor component 2018-08-14 12:46:55 -07:00
Chelsea Holland Komlo ba7a46471f spelling fix 2018-08-14 14:06:04 -04:00
Chelsea Komlo f011649ac5
Merge pull request #4573 from Xopherus/fix-4413
Close multiplexer when context is cancelled
2018-08-14 13:18:31 -04:00
Michael Lange efa90d96f2
Merge pull request #4541 from hashicorp/f-ui-new-json-viewer
UI: New JSON viewer
2018-08-13 17:15:14 -07:00
Michael Lange f41f814b49 Remove the old json viewer 2018-08-13 17:04:15 -07:00
Michael Lange dd9202769a Delete the removed "depth" aspect of json viewer from the styleguide 2018-08-13 17:04:14 -07:00
Michael Lange c5b54393d0 Theme CodeMirror
Borrowed heavily from Vault
2018-08-13 17:04:14 -07:00
Michael Lange 0746501bc8 Use ivy-codemirror in the JSON Viewer component 2018-08-13 17:04:14 -07:00
Michael Lange 2b4bab875d Introduce ivy-codemirror 2018-08-13 17:03:20 -07:00
Michael Lange 4bcb774ed0
Merge pull request #4572 from hashicorp/f-ui-region-switcher
UI: Region Switcher
2018-08-13 16:33:08 -07:00
Xopherus 8d747578e8 Close multiplexer when context is cancelled
Multiplexer continues to create rpc connections even when
the context which is passed to the underlying rpc connections
is cancelled by the server.

This was causing #4413 - when a SIGHUP causes everything to reload,
it uses context to cancel the underlying http/rpc connections
so that they may come up with the new configuration.
The multiplexer was not being cancelled properly so it would
continue to create rpc connections and constantly fail,
causing communication issues with other nomad agents.

Fixes #4413
2018-08-13 19:32:49 -04:00
Michael Lange 5ccf21fc5d List the new region mirage env var in the environment file 2018-08-13 16:18:53 -07:00
Michael Lange 8ca806f8f8 Use the model hook and setupController hook instead of afterModel
This is a more idiomatic way to handle the QP resetting in the
application controller.
2018-08-13 16:18:06 -07:00
Michael Schurter 2a3eac1ce3
Merge pull request #4568 from hashicorp/vendor-fix-blake2b
vendor: fix blake2b on non-amd64 archs
2018-08-13 15:46:32 -07:00
Chelsea Holland Komlo 3e85a197b8 fix panic for job history cli command when used with non-existent job version 2018-08-13 16:57:36 -04:00
Chelsea Holland Komlo f5e631886f add signature algorithm to error message 2018-08-13 16:21:18 -04:00
Chelsea Holland Komlo ed21481ca1 rename signature algorithm type per code review feedback 2018-08-13 16:11:49 -04:00
Chelsea Holland Komlo 16ffb2e412 extract functionality for determining signature algorithm per code review feedback 2018-08-13 16:08:23 -04:00