Commit Graph

18582 Commits

Author SHA1 Message Date
Michael Lange
eb901b59b0 Wire up the scale action on the task group page 2020-06-18 23:23:03 -07:00
Michael Lange
2227f24474 Integrate the stepper input with the task group page 2020-06-18 22:32:56 -07:00
Michael Lange
110f491c98 Test coverage for the StepperInput 2020-06-18 22:08:29 -07:00
Michael Lange
6bde0e522a Style the StepperInput component 2020-06-18 22:08:28 -07:00
Michael Lange
140f9f6800 Add count StepperInput to the task group page 2020-06-18 22:08:28 -07:00
Michael Lange
ed6395899f StepperInput story 2020-06-18 22:08:28 -07:00
Michael Lange
2b88651fca Barebones StepperInput component 2020-06-18 22:08:28 -07:00
Michael Lange
0b0be1b63b Slow the debounce time. 2020-06-18 22:08:28 -07:00
Michael Lange
469b107a64 Test coverage for the task group row scale actions 2020-06-18 22:08:28 -07:00
Michael Lange
1182203559 Disable scale buttons when a deployment is running or ACL forbids it 2020-06-18 22:08:28 -07:00
Michael Lange
7fec4d8bc5 Add canScale ability for jobs 2020-06-18 22:08:28 -07:00
Michael Lange
a1f1079cfd Mirage updates for task group scaling and scaling post endpoint 2020-06-18 22:08:28 -07:00
Michael Lange
9a344e468e Wire up the +/- buttons in task group rows to the job scale action 2020-06-18 22:08:28 -07:00
Michael Lange
149dcdacb4 New scale action for jobs (and a convenience task group method) 2020-06-18 22:08:27 -07:00
Michael Lange
856743983e Create new AbortController with each tick of the ec task loops
This was a disturbing discovery. Requests in watch loops would recycle
AbortControllers meaning once any request was aborted, all requests
forever after were skipped. I noticed it with deployments and job
summary on the job detail page.

I suspect this regression occurred when jQuery was removed. This needs
test coverage still to make sure it doesn't happen again.
2020-06-18 22:08:27 -07:00
Michael Lange
3768a63712 Make sure buttons in a button bar have a very visible focus state 2020-06-18 22:08:27 -07:00
Michael Lange
ed6c414745 Add the elements of the manual scaling actions to the task-group-row component 2020-06-18 22:08:27 -07:00
Michael Lange
2e1adbc83e Add the min/max and policy y/n of a task group to the details ribbon 2020-06-18 22:08:27 -07:00
Michael Lange
6b57adc013 Prevent inline definition key/value pairs from breaking the key and value onto separate lines 2020-06-18 22:08:27 -07:00
Michael Lange
461980d927 Additional button-bar treatments for use in a table row 2020-06-18 22:08:27 -07:00
Michael Lange
158f7764be Extend button-bar support to buttons 2020-06-18 22:08:27 -07:00
Michael Lange
0137f8d02a When an icon is intended as text, it shouldn't have pointer events
This prevents the svg from being a target in click events.
2020-06-18 22:08:27 -07:00
Michael Lange
4e7b844422 New xsmall button size 2020-06-18 22:08:27 -07:00
Michael Lange
e28efc6afc LazyClick should also get interrupted by buttons 2020-06-18 22:08:26 -07:00
Michael Lange
29ff3f9c8c Model the scaling properties of a task group as a fragment 2020-06-18 22:08:26 -07:00
Luiz Aoqui
6bdceed391 Merge pull request #8206 from hashicorp/docs-fix-license-api
docs: update operator license API
2020-06-18 21:24:13 -04:00
Luiz Aoqui
aeb32e7ae2 docs: update operator license API 2020-06-18 20:17:45 -04:00
Mahmood Ali
9c2c03724b Merge pull request #8192 from hashicorp/f-status-allnamespaces-2
CLI Allow querying all namespaces for jobs and allocations - Try 2
2020-06-18 20:16:52 -04:00
Michael Schurter
a47d374511 Merge pull request #8205 from hashicorp/docs-090-portmap
docs: finally document the 0.9 port_map break
2020-06-18 15:32:23 -07:00
Michael Schurter
a0c77c10c1 docs: finally document the 0.9 port_map break 2020-06-18 14:56:47 -07:00
Michael Schurter
e5a244632d Merge pull request #8203 from hashicorp/next-2
net-next merge to master
2020-06-18 11:51:05 -07:00
Nick Ethier
af6aee3b8a fix test failures from rebase 2020-06-18 11:05:32 -07:00
Michael Schurter
affcc4d624 deps: updated libnetwork dep
Adding missing vendor files as well.
2020-06-18 11:05:31 -07:00
Nick Ethier
33ce12cda9 CNI Implementation (#7518) 2020-06-18 11:05:29 -07:00
Nick Ethier
e9ff8a8daa Task DNS Options (#7661)
Co-Authored-By: Tim Gross <tgross@hashicorp.com>
Co-Authored-By: Seth Hoenig <shoenig@hashicorp.com>
2020-06-18 11:01:31 -07:00
Michael Lange
50cc295544 Merge pull request #8177 from hashicorp/f-ui/monitor
UI: Client and Server Monitor
2020-06-18 09:07:22 -07:00
Charlie Jones
2f770b1e10 Fix typo in link to Cloud Auto-join section (#8116) 2020-06-18 10:21:31 -04:00
Seth Hoenig
ca46ff1525 Merge pull request #8199 from hashicorp/b-remove-tidy-from-dev
deps: remove tidy from dev makefile target
2020-06-18 08:56:58 -05:00
Seth Hoenig
37835d6444 deps: remove tidy from dev makefile target
With Go modules, `go mod tidy` supplants `vendorfmt`. Unfortunately,
`tidy` will try to reach out to the network and download modules, and
there is no way to disable that behavior (e.g. the -mod=vendor) option
does not apply. This means we cannot use the `tidy` target in nomad
enterprise, which will be unable to reach private repositories like
consul-enterprise.

This isn't a big deal, since `vendorfmt` served the purpose of rewriting
the output of `govendor`, wheras `tidy` is a part of the `sync` target
that is required to be run when modifying dependencies anyway.
2020-06-18 08:49:12 -05:00
Tim Gross
6fd4f3e985 docs: multiregion deployment feature (#8185) 2020-06-18 08:41:22 -04:00
Michael Lange
34e8e1f183 Code review feedback 2020-06-17 14:56:16 -07:00
Michael Lange
619aea8dbb Guard the request animation frame with the existing requestFrame flag 2020-06-17 14:50:55 -07:00
Mahmood Ali
7e51f80d1d cli: warn on multiple prefix matches when querying all namespaces 2020-06-17 16:32:51 -04:00
Mahmood Ali
f376f7338c cli: query all namespaces for alloc subcommands 2020-06-17 16:31:06 -04:00
Mahmood Ali
b5fc8883a4 rpc: allow querying allocs across namespaces
This implements the backend handling for querying across namespaces for
allocation list endpoints.
2020-06-17 16:31:06 -04:00
Mahmood Ali
85db7187fb cli: jobs allow querying jobs in all namespaces 2020-06-17 16:31:01 -04:00
Mahmood Ali
2f9fc04e05 use '*' to indicate all namespaces
This reverts the introduction of AllNamespaces parameter that was merged
earlier but never got released.
2020-06-17 16:27:43 -04:00
Tim Gross
ae4f368c4c test: remove flaky test from volumewatcher (#8189)
The volumewatcher restores itself on notification, but detecting this is racy
because it may reap any claim (or find there are no claims to reap) and
shutdown before we can test whether it's running. This appears to have become
flaky with a new version of golang. The other cases in this test case
sufficiently exercise the start/stop behavior of the volumewatcher, so remove
the flaky section.
2020-06-17 15:41:51 -04:00
Chris Baker
ea6e35177e Merge pull request #8187 from hashicorp/f-8143-block-scaling-during-deployment
modify Job.Scale RPC to return an error if there is an active deployment
2020-06-17 14:38:55 -05:00
Tim Gross
8091ea4159 changelog for multiregion deployments (#8188) 2020-06-17 14:14:04 -04:00