Commit Graph

14570 Commits

Author SHA1 Message Date
Danielle Lancashire 832f607433 allocs: Add nomad alloc stop
This adds a `nomad alloc stop` command that can be used to stop and
force migrate an allocation to a different node.

This is built on top of the AllocUpdateDesiredTransitionRequest and
explicitly limits the scope of access to that transition to expose it
under the alloc-lifecycle ACL.

The API returns the follow up eval that can be used as part of
monitoring in the CLI or parsed and used in an external tool.
2019-04-23 12:50:23 +02:00
Danielle 8b601fc515
Merge pull request #5502 from hashicorp/dani/f-alloc-restart
alloc-lifecycle: nomad alloc restart
2019-04-11 14:26:15 +02:00
Danielle Lancashire e135876493 allocs: Add nomad alloc restart
This adds a `nomad alloc restart` command and api that allows a job operator
with the alloc-lifecycle acl to perform an in-place restart of a Nomad
allocation, or a given subtask.
2019-04-11 14:25:49 +02:00
Danielle 35f66d901f
Merge pull request #5516 from hashicorp/dani/f-verbose-status
Allow passing -verbose to meta status
2019-04-11 13:31:48 +02:00
Danielle Lancashire b4547a34b0 status: Allow passing -verbose to meta status
A common issue when using nomad is needing to add in the object verb to
a command to include the `-verbose` flag.

This commit allows users to pass `-verbose` via the `nomad status` alias by
adding a placeholder boolean in the metacommand which allows subcommands
to parse the flag.
2019-04-11 13:15:44 +02:00
Danielle 4d1085017a
Merge pull request #5500 from hashicorp/f-acl-alloc-lifecycle
acl: Add alloc-lifecycle namespace capability
2019-04-11 10:41:32 +02:00
Michael Lange d57aeeddd7
Merge pull request #5544 from hashicorp/f-ui-ember-v3
UI: Ember 2.18 → 3.4 Take two
2019-04-10 16:04:41 -07:00
Michael Lange 2e121d7245 Force Travis to use node 10 2019-04-10 14:55:30 -07:00
Michael Lange 21647f9c3b Upgrade Yarn 2019-04-10 14:55:29 -07:00
Michael Lange 1816f02dd6 Upgrade to Node 10, latest LTS 2019-04-10 14:54:38 -07:00
Michael Lange d29a66a0db Don't remove viewBox from svgs as part of svgo 2019-04-10 14:54:38 -07:00
Michael Lange 12d7bab720 Upgrade ember-concurrency 2019-04-10 14:54:38 -07:00
Michael Lange b27c088918 Major upgrade, ember-cli-sass; swiches to sass-dart 2019-04-10 14:54:38 -07:00
Michael Lange 2a11d2904f Upgrade third party packages 2019-04-10 14:54:37 -07:00
Michael Lange 353a491527 Upgrade eslint to v5 2019-04-10 14:54:37 -07:00
Michael Lange 733fbb83b0 Upgrade ember addons 2019-04-10 14:54:37 -07:00
Michael Lange c723f3f02b Manually upgrade fringe dependencies 2019-04-10 14:54:37 -07:00
Michael Lange fa90590462 Update everything to work with the mirage backwards incompat 2019-04-10 14:54:37 -07:00
Michael Lange 499435d7c7 Auto-upgrade packages 2019-04-10 14:54:36 -07:00
Michael Lange 4b87e216ab Rethink the adapter job unit tests to avoid notifyPropertyChange 2019-04-10 14:54:36 -07:00
Michael Lange 4736803a24 ES5 getters codemod 2019-04-10 14:54:36 -07:00
Michael Lange 660906597f Kind of address the sendAction deprecation 2019-04-10 14:54:35 -07:00
Michael Lange 346a55a093 Address the Ember.Logger deprecations 2019-04-10 14:54:35 -07:00
Michael Lange b6b2fd2114 Address the copy/copyable deprecation 2019-04-10 14:54:35 -07:00
Michael Lange 96ef93ca5f Commit the deprecation workflow to prevent fixed deprecations from creeping back in 2019-04-10 14:54:35 -07:00
Michael Lange 4636a9b612 Address inflector deprecations 2019-04-10 14:54:35 -07:00
Michael Lange 55ea01c1cc Address test failures 2019-04-10 14:54:35 -07:00
Michael Lange aeeca356bd Address template linting issues 2019-04-10 14:54:34 -07:00
Michael Lange f775fa564e Override default template lintrc (borrowed this one from vault) 2019-04-10 14:54:34 -07:00
Michael Lange 3c51579498 Upgrade miscellaneous packages 2019-04-10 14:54:34 -07:00
Michael Lange 8d2ea9b03a Update ember-data-model-fragments 2019-04-10 14:54:34 -07:00
Michael Lange 4dcc8aba3d Upgrade to Ember 3.4 2019-04-10 14:54:34 -07:00
Michael Lange 064f126e14 Remove all andThen and .then usages (except for integration tests)
Since a future ember version does way with the need to manually
making runloop runs, I'm holding off on those tests
2019-04-10 14:54:34 -07:00
Michael Lange fdcc99674d Fix bug in the stats-tracker-frame-mising behavior 2019-04-10 14:54:33 -07:00
Michael Lange c367fb186a Fix integration tests that had test failures 2019-04-10 14:54:33 -07:00
Michael Lange 5008ab4b8d Fix page object issues with acceptance tests that couldn't be codemodded 2019-04-10 14:54:33 -07:00
Michael Lange ea3243569a Adapt the codemirror helper for the hooks model 2019-04-10 14:54:33 -07:00
Michael Lange a793235f6a Fix scoping issue with the jobs list page object 2019-04-10 14:54:33 -07:00
Michael Lange f68f13acbe Update the test index.html file 2019-04-10 14:54:32 -07:00
Michael Lange e17a12aba8 Upgrade ember-power-select 2019-04-10 14:54:32 -07:00
Michael Lange e6b808f17a Update serializer unit tests to use module instead of custom code 2019-04-10 14:54:32 -07:00
Michael Lange 3145f7ac32 Update adapter tests to use module instead of custom code 2019-04-10 14:54:32 -07:00
Michael Lange 8cf3e369f0 Update test-helper to new testing style 2019-04-10 14:54:32 -07:00
Michael Lange 3b2cdb426d Update environment to 3.0 conventions 2019-04-10 14:54:32 -07:00
Michael Lange 3c31bbf393 Critical peer dependency upgrades 2019-04-10 14:54:31 -07:00
Michael Lange e69d16b78d Use mirage test hooks 2019-04-10 14:54:31 -07:00
Michael Lange c1369c001d Fix a bunch of snowflake situations the codemod missed 2019-04-10 14:54:31 -07:00
Michael Lange 517ef97343 Ember test-helpers codemod 2019-04-10 14:54:31 -07:00
Michael Lange a356ab5477 Ember QUnit Codemod 2019-04-10 14:54:30 -07:00
Michael Lange 5befd8b85d Modules codemod + prettier 2019-04-10 14:46:55 -07:00