Nick Ethier
8be5b65324
e2e/framework: initial e2e framework implementation
2018-07-11 13:12:23 -04:00
Michael Schurter
9a16285a04
Merge pull request #4490 from hashicorp/b-rkt-test-failure
...
Fix and speedup rkt tests
2018-07-11 10:02:57 -07:00
Nick Ethier
4b84f0a091
Merge pull request #4474 from hashicorp/b-4463
...
scheduler: fixed nil panic and clearer error handling
2018-07-10 21:30:09 -04:00
Michael Lange
b8b3d03e41
Merge pull request #4458 from hashicorp/f-ui-refactor-breadcrumbs
...
UI: Refactor breadcrumbs
2018-07-10 11:01:28 -07:00
Michael Lange
0fc3021014
Merge pull request #4489 from hashicorp/f-ui-mirage-scenarios
...
UI: Codify common mirage scenarios and make it easy to switch between
2018-07-10 10:28:40 -07:00
Michael Lange
7138b28f44
Codify common mirage scenarios and make it easy to switch between
2018-07-10 10:06:11 -07:00
Alex Dadgar
0a392dcf94
bump sprockets
2018-07-10 09:20:10 -07:00
Michael Schurter
6014a5089c
rkt: revert to redis 3.2 to favor stability
2018-07-09 16:15:32 -07:00
Michael Schurter
734602e16a
rkt: speed up tests
...
Disable networking when it's not needed and improve failure message for
UserGroup test by including the full ps output on failure.
2018-07-09 14:02:27 -07:00
Michael Schurter
0258c141bb
rkt: skip retrieving network information when net=none
...
Even when net=none we would attempt to retrieve network information from
rkt which would spew useless log lines such as:
```
testlog.go:30: 20:37:31.409209 [DEBUG] driver.rkt: failed getting network info for pod UUID 8303cfe6-0c10-4288-84f5-cb79ad6dbf1c attempt 2: no networks found. Sleeping for 970ms
```
It would also delay tests for ~60s during the network information retry
period.
So skip this when net=none. It's unlikely anyone actually uses net=none
outside of tests, so I doubt anyone will notice this change.
Official docs:
https://coreos.com/rkt/docs/latest/networking/overview.html#no-loopback-only-networking
2018-07-09 13:44:43 -07:00
Michael Schurter
b0269d5183
tests: make alloc id consistent in helper
...
It worked, but the old code used a different alloc id for the path than
the actual alloc! Use the same alloc id everywhere to prevent confusing
test output.
2018-07-09 13:37:35 -07:00
Michael Schurter
2795883e23
rkt: fix failing TestRktDriver_UserGroup test
...
Started failing due to the docker redis image switching from Debian
jessie to stretch:
53f8680550 (diff-acff46b161a3b7d6ed01ba79a032acc9)
Switched from Debian based image to Alpine to get a working `ps` command
again (albeit busybox's stripped down implementation)
2018-07-09 12:19:02 -07:00
Nick Ethier
85a4f6126c
Merge pull request #4473 from hashicorp/f-osext-vendor-cleanup
...
Remove osext library
2018-07-09 12:30:48 -04:00
Michael Lange
effee11736
Merge pull request #4481 from hashicorp/f-ui-move-evals-to-tab
...
UI: Move evals to a tab
2018-07-06 19:01:46 -07:00
Michael Lange
767e635016
Migrate and add test coverage for evaluations page
2018-07-06 17:15:59 -07:00
Michael Lange
5edf1f55cf
Remove old evaluations component tests
2018-07-06 17:07:40 -07:00
Michael Lange
8d417e7800
Remove evaluations from the job overview page
2018-07-06 16:53:13 -07:00
Michael Lange
6c1006ffdf
Adds sorting to evaluations
2018-07-06 16:50:41 -07:00
Michael Lange
dbb8b8d8ad
Initial evaluations page
2018-07-06 16:41:09 -07:00
Michael Lange
866043ac0f
Merge pull request #4468 from hashicorp/f-ui-styleguide-progress
...
UI: Fill out the styleguide
2018-07-06 16:03:41 -07:00
Michael Lange
f67b0a04a5
Merge pull request #4480 from hashicorp/f-ui-ember-auto-import
...
UI: Use ember auto import instead of ember browserify
2018-07-06 14:04:18 -07:00
Michael Lange
90ea4f0f21
Update all the awkward browserify imports to plain ol' es6 imports
2018-07-06 13:38:57 -07:00
Michael Lange
5e82e1d03c
Switch ember-browserify out for ember-auto-import
2018-07-06 13:38:37 -07:00
Michael Lange
4eaf2e4f67
Integration tests for the breadcrumbs component
2018-07-06 11:12:12 -07:00
Michael Lange
9367fff5dc
Unit tests for the breadcrumbs service
2018-07-06 11:12:12 -07:00
Michael Lange
8a3093f1a9
Move the global-header up the route hierarchy
...
Now that breadcrumbs are a zero config component, the corresponding
template can be moved up to parent routes.
2018-07-06 11:12:12 -07:00
Michael Lange
954d1283e1
Update tests to match new test selectors
2018-07-06 11:12:12 -07:00
Michael Lange
0f90e066ee
Remove all references to breadcrumbs outside of routes
2018-07-06 11:12:12 -07:00
Michael Lange
9b68f15d4a
Use the new breadcrumb pattern on tasks
2018-07-06 11:12:11 -07:00
Michael Lange
8064cf5d28
Use the new breadcrumbs pattern for allocations
2018-07-06 11:12:11 -07:00
Michael Lange
7e2dbd8456
Apply new breadcrumbs pattern to task groups
2018-07-06 11:12:11 -07:00
Michael Lange
99883717e1
Support namespaces in job breadcrumbs
2018-07-06 11:12:11 -07:00
Michael Lange
6578b36efb
Use the new breadcrumbs pattern in all job templates
2018-07-06 11:12:11 -07:00
Michael Lange
771ad072fa
Use the new breadcrumbs pattern on the clients loading page
2018-07-06 11:12:11 -07:00
Michael Lange
0e3701d799
Add breadcrumbs to jobs routes
2018-07-06 11:12:11 -07:00
Michael Lange
da61ab2282
Recompute breadcrumbs when a model changes but the current route does not
...
Example: parent job to child job navigation
2018-07-06 11:12:11 -07:00
Michael Lange
e38cff670f
Support promise proxies as breadcrumbs
2018-07-06 11:12:11 -07:00
Michael Lange
e513f9236f
Apply new breadcrumbs pattern to servers and clients
2018-07-06 11:12:11 -07:00
Michael Lange
dd6f12696f
New breadcrumb service and component for describing breadcrumbs in routes
...
Works by segmenting the currentRouteName from the router service
and walking over each route in the current hierarchy to collect crumbs.
2018-07-06 11:12:10 -07:00
Michael Lange
bfa0e657f1
Merge pull request #4475 from hashicorp/b-ui-wrong-ns
...
UI: Jobs requested with the wrong namespace under the right conditions
2018-07-06 11:10:45 -07:00
Michael Lange
313b5bc8a8
Acceptance test for jobs from different namespaces on a single client
2018-07-06 10:50:22 -07:00
Michael Lange
fc0e723d75
A test to assert the bug
2018-07-05 13:49:27 -07:00
Michael Lange
877910208f
Don't put namespace logic in the catch-all buildQuery method
2018-07-05 12:29:29 -07:00
Michael Lange
566c5843de
Remove unused findAllocations method in both job and node
...
This was replaced with a relationship at some point.
2018-07-05 11:25:38 -07:00
Michael Lange
38034733f7
Remove unused job adapter method
2018-07-05 11:25:38 -07:00
Michael Lange
95dc5da201
Add an env var to toggle blockingQueries support
...
Mostly helpful when working with mirage
2018-07-05 11:18:09 -07:00
Nick Ethier
c9eba23930
Added changelog entry
2018-07-05 11:16:58 -04:00
Nick Ethier
2c311f4321
vendor: remove unused github.com/kardianos/osext
2018-07-05 11:04:12 -04:00
Nick Ethier
3e7d4302a6
scheduler: better error handling
2018-07-05 11:00:03 -04:00
Michael Lange
36c6087dd0
Filter out styleguide components from production builds
2018-07-03 17:37:49 -07:00