Dave May
8ba4f72fa2
add redirects for upgrade and vault pki guides ( #7863 )
2020-06-19 13:54:23 -04:00
Tim Gross
1916051580
multiregion: initial deploymentPaused must match start condition ( #8215 )
...
In #8209 we fixed the `max_parallel` stanza for multiregion by introducing the
`IsMultiregionStarter` check, but didn't apply it to the earlier place its
required. The result is that deployments start but don't place allocations.
2020-06-19 13:42:38 -04:00
Michael Lange
fcf08db9e3
Merge pull request #8207 from hashicorp/f-ui/manual-scaling-controls
...
UI: Task Group Scaling Controls
2020-06-19 10:29:01 -07:00
Michael Lange
c70ea9765f
Remove superfluous property from the StepperInput page object
2020-06-19 10:21:39 -07:00
Tim Gross
5a068e6005
multiregion: all regions start in running if no max_parallel ( #8209 )
...
If `max_parallel` is not set, all regions should begin in a `running` state
rather than a `pending` state. Otherwise the first region is set to `running`
and then all the remaining regions once it enters `blocked. That behavior is
technically correct in that we have at most `max_parallel` regions running,
but definitely not what a user expects.
2020-06-19 11:17:09 -04:00
Drew Bailey
ef7b7b2a9b
allow raw body instead of JSON encoded string ( #8211 )
2020-06-19 10:57:09 -04:00
Mahmood Ali
0821c0a7e3
Merge pull request #8082 from hashicorp/f-raft-multipler
...
Implement raft multipler flag
2020-06-19 10:04:59 -04:00
Tim Gross
8fc76f560d
store ACL Accessor ID from Job.Register with Job ( #8204 )
...
In multiregion deployments when ACLs are enabled, the deploymentwatcher needs
an appropriately scoped ACL token with the same `submit-job` rights as the
user who submitted it. The token will already be replicated, so store the
accessor ID so that it can be retrieved by the leader.
2020-06-19 07:53:29 -04:00
Tim Gross
8ce13f304e
docs: fix for multiregion count explanation ( #8202 )
2020-06-19 07:52:58 -04:00
James Rasell
d77090171f
Merge pull request #8180 from hashicorp/b-gh-8179
...
demo: Fix Vagrantfile when building staging VM for Cloud build.
2020-06-19 08:29:09 +02:00
Michael Lange
61042e0ecf
Acceptance tests for task group scaling
2020-06-18 23:23:03 -07:00
Michael Lange
72161b06f7
Watch the latest deployment relationship to disable the stepper appropriately
2020-06-18 23:23:03 -07:00
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