Michael Lange
70eb558b65
Acceptance tests for the page size selector on the jobs list view
2020-04-02 12:50:35 -07:00
Michael Lange
e0110e1757
Repeat new pagination pattern throughout the app
2020-04-02 12:50:34 -07:00
Michael Lange
8dc54a6164
Reset current page when changing page size
2020-04-02 12:50:33 -07:00
Michael Lange
3d02f61455
Replace crusty lt and gt with chevron icons
2020-04-02 12:50:32 -07:00
Michael Lange
546751a9b4
Style the page size selector
2020-04-02 12:50:31 -07:00
Michael Lange
53954d1bc3
Add page size select to the jobs list page
2020-04-02 12:50:30 -07:00
Michael Lange
06524fe5a7
Page size select component
2020-04-02 12:50:29 -07:00
Michael Lange
3fc1874c0e
New service for storing user settings
2020-04-02 12:50:28 -07:00
Buck Doyle
3bc13a715e
UI: Fix confirmation position for right-aligned TSBs ( #7590 )
...
Without this, the confirmation text was extending beyond the
edge of the page.
2020-04-02 11:58:29 -05:00
Nick Ethier
3557099f4c
Merge pull request #7594 from hashicorp/f-connect-lifecycle
...
connect: set task lifecycle config for injected sidecar task
2020-04-02 12:51:01 -04:00
Nick Ethier
3b5d2f8eb8
tr/service_hook: update hook fields during update when poststart hasn't finished
2020-04-02 12:48:19 -04:00
Michael Lange
fccc4591b6
Merge pull request #7592 from hashicorp/b-ui/csi-flaky-test
...
UI: Fix flaky Volume serializer test
2020-04-02 09:32:17 -07:00
Seth Hoenig
e7fcd281ae
connect: set consul TLS options on envoy bootstrap
...
Fixes #6594 #6711 #6714 #7567
e2e testing is still TBD in #6502
Before, we only passed the Nomad agent's configured Consul HTTP
address onto the `consul connect envoy ...` bootstrap command.
This meant any Consul setup with TLS enabled would not work with
Nomad's Connect integration.
This change now sets CLI args and Environment Variables for
configuring TLS options for communicating with Consul when doing
the envoy bootstrap, as described in
https://www.consul.io/docs/commands/connect/envoy.html#usage
2020-04-02 10:30:50 -06:00
Nick Ethier
fa271ff1b3
tr/service_hook: prevent Update from running before Poststart has finished
2020-04-02 12:17:36 -04:00
Tim Gross
bde13dfc0c
e2e: have TF write-out HCL for CSI volume registration ( #7599 )
2020-04-02 12:16:43 -04:00
Lang Martin
24449e23af
csi: volume validate namespace ( #7587 )
...
* nomad/state/state_store: enforce that the volume namespace exists
* nomad/csi_endpoint_test: a couple of broken namespaces now
* nomad/csi_endpoint_test: one more test
* nomad/node_endpoint_test: use structs.DefaultNamespace
* nomad/state/state_store_test: use DefaultNamespace
2020-04-02 10:13:41 -04:00
Nick Ethier
90b5d2b13f
lint: gofmt
2020-04-01 21:23:47 -04:00
Nick Ethier
92f8bfc729
connect: set task lifecycle config for injected sidecar task
...
fixes #7593
2020-04-01 21:19:41 -04:00
Michael Lange
d91de05fc1
Fix flaky serializer test
2020-04-01 14:54:05 -07:00
Charlie Voiselle
860dda2891
Merge pull request #7561 from hashicorp/docs-link2tdguide
...
[docs] Adding link to learn track
2020-04-01 17:53:18 -04:00
Mahmood Ali
550a348ae5
Merge pull request #7591 from hashicorp/website-release-0.11.0-beta2
...
website: link to 0.11.0-beta2 release
2020-04-01 17:47:08 -04:00
Mahmood Ali
3c1ac61561
website: link to 0.11.0-beta2 release
2020-04-01 17:45:26 -04:00
Chris Baker
277d29c6e7
Merge pull request #7572 from hashicorp/f-7422-scaling-events
...
finalizing scaling API work
2020-04-01 13:49:22 -05:00
Mike Wickett
a4ec40c043
Merge pull request #7586 from hashicorp/mw.update-netlify-redirects
...
website: update Netlify redirects syntax
2020-04-01 14:40:02 -04:00
Chris Baker
c3ab837d9e
job_endpoint: fixed bad test
2020-04-01 18:11:58 +00:00
Michael Lange
3a3a7f5fb4
Add new gutter menu tag pattern to Storybook
2020-04-01 10:57:33 -07:00
Michael Lange
37a1a32209
Move beta to a tag
2020-04-01 10:49:47 -07:00
Seth Hoenig
2996116969
Merge pull request #7588 from hashicorp/b-unbreak-connect-proxy-nil
...
connect: fix bug where absent connect.proxy stanza needs default config
2020-04-01 11:34:59 -06:00
Chris Baker
285728f3fa
Merge branch 'f-7422-scaling-events' of github.com:hashicorp/nomad into f-7422-scaling-events
2020-04-01 17:28:50 +00:00
Chris Baker
8ec252e627
added indices to the job scaling events, so we could properly do
...
blocking queries on the job scaling status
2020-04-01 17:28:19 +00:00
Seth Hoenig
9aa9721143
connect: fix bug where absent connect.proxy stanza needs default config
...
In some refactoring, a bug was introduced where if the connect.proxy
stanza in a submitted job was nil, the default proxy configuration
would not be initialized with default values, effectively breaking
Connect.
connect {
sidecar_service {} # should work
}
In contrast, by setting an empty proxy stanza, the config values would
be inserted correctly.
connect {
sidecar_service {
proxy {} # workaround
}
}
This commit restores the original behavior, where having a proxy
stanza present is not required.
The unit test for this case has also been corrected.
2020-04-01 11:19:32 -06:00
Chris Baker
4ac36b7c89
Update nomad/state/state_store.go
...
Co-Authored-By: Drew Bailey <2614075+drewbailey@users.noreply.github.com>
2020-04-01 11:56:12 -05:00
Chris Baker
eb19fe16d2
Update nomad/state/state_store.go
...
Co-Authored-By: Drew Bailey <2614075+drewbailey@users.noreply.github.com>
2020-04-01 11:56:01 -05:00
Chris Baker
6dbfb36e14
Update nomad/job_endpoint.go
...
Co-Authored-By: Drew Bailey <2614075+drewbailey@users.noreply.github.com>
2020-04-01 11:55:55 -05:00
Chris Baker
b2ab42afbb
scaling api: more testing around the scaling events api
2020-04-01 16:39:23 +00:00
Mike Wickett
04d98f095e
website: update netlify redirects syntax
2020-04-01 12:33:34 -04:00
Buck Doyle
eba07dabe5
CI: add xUnit reporting for UI tests ( #7585 )
...
This surfaces test failures more clearly on CircleCI by adding
testem-multi-reporter to report both via the default TAP reporter
as well as an xUnit reporter whose output is stored as an artefact.
2020-04-01 11:19:44 -05:00
Chris Baker
40d6b3bbd1
adding raft and state_store support to track job scaling events
...
updated ScalingEvent API to record "message string,error bool" instead
of confusing "reason,error *string"
2020-04-01 16:15:14 +00:00
Tim Gross
f3bae55fae
set safe default for CSI plugin MaxVolumes ( #7583 )
2020-04-01 11:08:55 -04:00
Tim Gross
a258ae813a
hclfmt test fixtures ( #7584 )
2020-04-01 10:48:28 -04:00
Seth Hoenig
9b6323e467
docs: add documentation for proxy.expose configuration
...
This changeset adds documentation changes for the new
`proxy.expose` stanza as well as the `check.expose` parameter.
The examples are centered around proposed changes for the "countdash"
`dashboard-service` in [demo-consul-101](github.com/hashicorp/demo-consul-101/pull/6).
The dashboard service will now serve two additonal endpoints
- `/health/api`
- `/metrics`
which should serve nicely as expose-able paths.
2020-04-01 08:19:21 -06:00
Buck Doyle
eaf64849f6
UI: Add localStorage persistence of exec command ( #7563 )
...
This closes #7469 . Trivial thanks to localStorageProperty! 🥳
2020-04-01 08:08:42 -05:00
James Rasell
f18d8cab23
Merge pull request #7558 from hashicorp/b-ensure-correct-plugin-version-mapping
...
plugin: ensure plugin loader maps correct API version to type.
2020-04-01 12:34:24 +02:00
Mahmood Ali
ee637db97f
Merge pull request #7578 from hashicorp/b-fix-structs-generation
...
fix codegen for ugorji/go
2020-03-31 21:33:27 -04:00
Mahmood Ali
37c0dbcfe6
fix codegen for ugorji/go
...
When generating ugorji/go package, we should use
github.com/hashicorp/go-msgpack/codec instead.
Also fix the reference for codegen_generated
2020-03-31 21:30:21 -04:00
Michael Lange
28ba7e8075
Change CSI to Storage and mark it as beta
2020-03-31 18:21:55 -07:00
Jasmine Dahilig
a7d1c44883
Merge pull request #7575 from hashicorp/b-fix-deps
...
Use latest go-bindata and go-bindata-assetfs
2020-03-31 17:42:06 -07:00
Mahmood Ali
5378b557e9
Use latest go-bindata and go-bindata-assetfs
...
These dep tools aren't tagged properly so shouldn't be installed with go
mod
2020-03-31 20:28:25 -04:00
Seth Hoenig
1e49ada3e0
Merge pull request #7573 from hashicorp/f-connect-expose-checks-percheck
...
merge changes for expose checks percheck
2020-03-31 17:52:33 -06:00
Mahmood Ali
33e34f06df
batch updates of changelog items ( #7570 )
...
* batch updates of changelog items
[ci skip]
* Update CHANGELOG.md
Co-Authored-By: Jasmine Dahilig <jasmine@dahilig.com>
* add PR to changelog
* update ui changelog message
* docs: note connect expose paths configuration in changelog
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
Co-authored-by: Jasmine Dahilig <jasmine@dahilig.com>
Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>
2020-03-31 16:28:11 -07:00