Commit Graph

14505 Commits

Author SHA1 Message Date
Chris Baker
fcc6a2ca13 agent config: cleaner VAULT_ env lookup 2019-04-10 10:34:10 -05:00
Chris Baker
2022db72b6 vault client test: minor formatting
vendor: using upstream circonus-gometrics
2019-04-10 10:34:10 -05:00
Michael Schurter
040ddeaa83 Update nomad/structs/config/vault.go
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05:00
Chris Baker
312721427d vault e2e: pass vault version into setup instead of having to infer it from test name 2019-04-10 10:34:10 -05:00
Chris Baker
401c9fdd16 taskrunner: removed some unecessary config from a test 2019-04-10 10:34:10 -05:00
Chris Baker
f7f979ad0f e2e/vault: updated e2e vault tests to use version-specific policy creation endpoint (old servers are not compatible with new client) 2019-04-10 10:34:10 -05:00
Chris Baker
20a3884559 docs: -vault-namespace, VAULT_NAMESPACE, and config
agent: added VAULT_NAMESPACE env-based configuration
2019-04-10 10:34:10 -05:00
Chris Baker
e09badbe8b client: gofmt 2019-04-10 10:34:10 -05:00
Chris Baker
3a28763455 taskrunner: pass configured Vault namespace into TaskTemplateConfig 2019-04-10 10:34:10 -05:00
Chris Baker
3eac7010f5 vendor: updated consul-template and downstream
consul-template -> v0.20.0
consul/api -> v1.2.1
vault/api -> v1.0.3
go-retryablehttp -> v0.5.2
circonus-gometrics: modified local source for compat with go-retryablehttp
2019-04-10 10:34:10 -05:00
Chris Baker
5db81957ff wip: added config parsing support, CLI flag, still need more testing, VAULT_ var, documentation 2019-04-10 10:34:10 -05:00
Chris Baker
1349497152 config/docs: added namespace to vault config
server/client: process `namespace` config, setting on the instantiated vault client
2019-04-10 10:34:10 -05:00
Chris Baker
9d50d82ead "job revert" command: alphabetized flags 2019-04-10 10:34:10 -05:00
Michael Schurter
9193cbaf30 Update nomad/job_endpoint_test.go
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05:00
Michael Schurter
c479034f07 Update website/source/docs/commands/job/revert.html.md.erb
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05:00
Michael Schurter
024fd69c16 Update nomad/job_endpoint.go
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05:00
Michael Schurter
3b19c22f27 Update api/jobs.go
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05:00
Chris Baker
548d029ca5 docs: added vault token documentation to job revert command, documented VaultToken field of api.JobRevertRequest 2019-04-10 10:34:10 -05:00
Chris Baker
af0d0f919f cli: plumbed vault token from job revert command through API call 2019-04-10 10:34:10 -05:00
Chris Baker
267b1172a9 server/job_endpoint: accept vault token and pass as part of Job.RegisterRequest [#4555] 2019-04-10 10:34:10 -05:00
Michael Lange
4bc41d3f29 Replaces .columns with .toolbar on the clients page 2019-04-10 10:34:10 -05:00
Michael Lange
bee09ca759 Replace the columns pattern with the new toolbar pattern on the jobs page 2019-04-10 10:34:10 -05:00
Michael Lange
9d4756f732 New toolbar CSS component 2019-04-10 10:34:10 -05:00
Michael Lange
e28fe37a1c Make the search box more elastic
1. Set a higher max-width
2. Set a min-width
3. Remove the min-width on mobile, including the invisible size="20" in
   the markup
2019-04-10 10:34:10 -05:00
Michael Lange
b650b4f84e Fixes a few minor issues with the multiselect dropdown
1. Label no longer bleeds into the downward arrow icon
2. The selection number no longer breaks onto its own line
3. Options have a min-width so short labels can't result in small click
   targets
2019-04-10 10:34:10 -05:00
Michael Lange
4e499003c6 Change breakpoints to match Nomad/Bulma widths 2019-04-10 10:34:10 -05:00
Michael Lange
0ff766ed8c Add the ember-responsive addon 2019-04-10 10:34:10 -05:00
Michael Lange
738ceda8f2 Improve the search box component to make it fluid and iconed 2019-04-10 10:34:10 -05:00
Arshneet Singh
e6ef8b0e88 Remove redundant assertion and replace regex matches with require 2019-04-10 10:34:10 -05:00
Arshneet Singh
ec49fff549 Don't display node name if output isn't verbose. Add tests. 2019-04-10 10:34:10 -05:00
James Rasell
ee92bf86d8 Add NodeName to the alloc/job status outputs.
Currently when operators need to log onto a machine where an alloc
is running they will need to perform both an alloc/job status
call and then a call to discover the node name from the node list.

This updates both the job status and alloc status output to include
the node name within the information to make operator use easier.

Closes #2359
Cloess #1180
2019-04-10 10:34:10 -05:00
Michael Lange
80580797ef Test coverage for clients faceted search 2019-04-10 10:34:10 -05:00
Michael Lange
21f8351929 Implement faceted search on the clients page 2019-04-10 10:34:10 -05:00
Michael Lange
498f513dc0 Add nodeClass to the node model 2019-04-10 10:34:10 -05:00
Michael Lange
401b5997a3 Refactor qp helpers from the jobs faceted search 2019-04-10 10:34:10 -05:00
Michael Lange
ef9f228f93 Changes from code review 2019-04-10 10:34:10 -05:00
Michael Lange
70ab07ee6e Make the facet filter function clearer with more brackets 2019-04-10 10:34:10 -05:00
Michael Lange
fc794efce8 Simplify options and selection names 2019-04-10 10:34:10 -05:00
Michael Lange
e1abb9f7fe Test coverage for job list facets 2019-04-10 10:34:10 -05:00
Michael Lange
49088a3d29 Model facets in the page object 2019-04-10 10:34:10 -05:00
Michael Lange
92a6809b2a Introduce encode/decode for array query params 2019-04-10 10:34:10 -05:00
Michael Lange
2808671c78 Support for the no options case 2019-04-10 10:34:10 -05:00
Michael Lange
9a6f1c9b85 Implement the job list filtering based on facet selection 2019-04-10 10:34:10 -05:00
Michael Lange
7b07d1b3da Implement the dynamic facet lists (datacenters and prefixes) 2019-04-10 10:34:10 -05:00
Michael Lange
49bd7acc5e Scaffold the facets and facet options for the jobs list page 2019-04-10 10:34:10 -05:00
Michael Lange
e1b0eb58e9 Remove the includes helper in favor of the contains helper 2019-04-10 10:34:10 -05:00
Michael Lange
ca6a6a2910 Harden dropdown styles to avoid accidental cascading 2019-04-10 10:34:10 -05:00
Michael Lange
083d7aed5c Add the right-alignment case to freestyle 2019-04-10 10:34:10 -05:00
Michael Lange
bff6039dca Always left-align the dropdown position to the trigger 2019-04-10 10:34:10 -05:00
Michael Lange
70426ad2cd Test coverage for the multi-select-dropdown component 2019-04-10 10:34:10 -05:00