Charlie Voiselle
0f782acfda
Allow .
in Environment Variable Names
...
From [https://github.com/appc/spec/blob/master/spec/aci.md ](https://github.com/appc/spec/blob/master/spec/aci.md ):
>environment (list of objects, optional) represents the app's environment variables (ACE can append). The listed objects must have two key-value pairs: name and value. The name must consist solely of letters, digits, and underscores '_' as outlined in IEEE Std 1003.1-2008, 2016 Edition, with practical considerations dictating that the name may also include periods '.' and hyphens '-'. The value is an arbitrary string. These values are not evaluated in any way, and no substitutions are made.
Dotted environment variables are frequently used as a part of the Spring Boot pattern. (re: ZD-6116)
This PR specifically doesn't address the conversion of hyphens (`-`) due to an issue with rkt [[Nomad GH # 2358]](https://github.com/hashicorp/nomad/issues/2358 ).
2018-01-22 13:59:37 -08:00
Alex Dadgar
d4d5a38032
Merge pull request #3765 from kinvolk/indradhanush/developing-docs
...
Docs: Add command consul agent & fix nomad command
2018-01-22 10:41:56 -08:00
Indradhanush Gupta
0062b9cb21
Docs: Add command consul agent & fix nomad command
...
`sudo` is required to enable other drivers like rkt and java while the
`-dev` flag enables the agent to run in a standalone mode.
2018-01-22 13:23:42 +01:00
Kyle Havlovitz
7bea4b392c
Update CHANGELOG.md
2018-01-19 12:59:25 -08:00
Kyle Havlovitz
901c8791f4
Merge pull request #3670 from hashicorp/autopilot
...
Add Autopilot feature from Consul
2018-01-19 12:52:56 -08:00
Michael Lange
0cbc0da12d
Merge pull request #3769 from johncowen/f-componentize-placement-failures
...
Component-ize UI for placement failures
2018-01-19 12:40:29 -08:00
John Cowen
abaae90be7
Address PR feedback
...
1. Extra whitespace
2. Remove redundant code
3. Remove redundant markup from test
4. placement-failure should be used as an inline component
5. Prefer `assign` polyfill
6. Use new `@ember' org style imports
2018-01-19 13:59:19 +00:00
John Cowen
56890fbc6b
Add more assertions for basic message checking
2018-01-19 13:59:19 +00:00
John Cowen
9b0715ac44
Add in data-test attrs to hook into, decide on test case granularity
2018-01-19 13:59:19 +00:00
John Cowen
c88d75555e
Pluralize test name for consistency (for filtering), inc test
2018-01-19 13:59:19 +00:00
John Cowen
1f9a2064c6
Move cleanWhitespace to utils, readd data-test attribute for PF's
...
1. cleanWhitespace > /test/utils/clean-whitespace.js
2. Missd the data-test attribute for placement failures in previous
conflict
2018-01-19 13:59:19 +00:00
John Cowen
7865038c6e
Move placement failures to a component, begin separate integration tests
...
1. Simple move of placement-failures template code to a component
2. Start adding integration tests - hit `inc` surprise
2018-01-19 13:59:19 +00:00
Michael Schurter
5a1fa05e40
Merge pull request #3766 from hashicorp/b-example-service-name
...
Make example service name make sense
2018-01-18 16:06:50 -08:00
Kyle Havlovitz
8d41f4ad40
Formatting/test adjustments
2018-01-18 15:03:35 -08:00
Kyle Havlovitz
12ff22ea70
Merge branch 'master' into autopilot
2018-01-18 13:29:25 -08:00
Alex Dadgar
3f8da551c3
changelog
2018-01-18 13:09:41 -08:00
Alex Dadgar
dcbb4b3846
Merge pull request #3687 from mikemccracken/add-lxc-bindmounts
...
Add volumes config to LXC driver
2018-01-18 13:07:09 -08:00
Alex Dadgar
70026cd937
Merge pull request #3771 from mikemccracken/2018-01-18/fix-json-example
...
website: fix example json job
2018-01-18 13:05:32 -08:00
Preetha Appan
70b27cd3ba
Linkify CHANGELOG
2018-01-18 10:10:38 -06:00
Michael McCracken
70817f728c
lxc_test: add test for contents of file in bind-mounted dir
...
Ensure that bind mounting via the volumes config really did work.
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-18 05:36:45 -08:00
Michael McCracken
fd44bdee37
Simplify with gofmt -s
...
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-18 04:17:42 -08:00
Michael McCracken
e8774d3161
lxc: Add documentation for volumes support
...
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-18 04:17:42 -08:00
Michael McCracken
f176e02a64
lxc: add tests for volume support
...
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-18 04:17:42 -08:00
Michael McCracken
c78c00a2d2
lxc: Add config flag to disable volume support
...
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-18 04:17:42 -08:00
Michael McCracken
d694a8921f
Add volumes config to LXC driver
...
Allow lxc driver to accept bind mount config similarly to the docker
driver.
Includes some static sanity checks in Validate step
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-18 04:17:42 -08:00
Michael McCracken
6eb5732e04
website: fix example json job
...
Can't use the string syntax in json.
Also fixes typo in curl example command.
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-18 04:15:13 -08:00
Michael Lange
ad4344ed74
Merge pull request #3767 from hashicorp/f-update-nokogiri
...
update middleman-hashicorp
2018-01-17 15:17:16 -08:00
Michael Schurter
9fcda9c5aa
Make example service name make sense
...
Switch from global-redis-check for the example job's service name to
redis-cache. The former name is really confusing and someone finally
called us out on it:
https://groups.google.com/d/msg/nomad-tool/3RTh6CyYkWk/vEe_Sj7lAAAJ
Also specifically mention that the `service.name` parameter is what is
advertised in Consul.
2018-01-17 14:08:30 -08:00
Matthew Irish
e28e1499c5
update middleman-hashicorp
2018-01-17 15:55:49 -06:00
Michael Lange
f05d2ace06
Merge pull request #3665 from hashicorp/f-ui-upgrade-deps
...
UI: Upgrade dependencies
2018-01-17 09:47:19 -08:00
Michael Lange
59fd26d5e3
Use Node 8
2018-01-17 09:04:01 -08:00
Michael Lange
20eebaeda1
Add breadcrumbs to the styleguide
2018-01-17 09:04:01 -08:00
Michael Lange
79ebf291e8
Reorganize the styleguide using components for sections
2018-01-17 09:04:01 -08:00
Michael Lange
c9ae29682c
Add boxed-section component to the styleguide
2018-01-17 09:04:00 -08:00
Michael Lange
d2a26a6745
Add basic elements to the styleguide
2018-01-17 09:04:00 -08:00
Michael Lange
a0b2433f42
Add jumbo distribution bar to the styleguide
2018-01-17 09:04:00 -08:00
Michael Lange
5e02fc49b3
Move distribution bar styleguide material to a component
2018-01-17 09:04:00 -08:00
Michael Lange
124d8de8d8
Move button styleguide material to a component
2018-01-17 09:04:00 -08:00
Michael Lange
6a258b20d6
Fix syntax highlighting in the styleguide
2018-01-17 09:04:00 -08:00
Michael Lange
1cb8aeeba8
Fix a class name bug in the distribution bar
2018-01-17 09:04:00 -08:00
Michael Lange
c9837ec9f6
A new place to put styles only the styleguide uses
2018-01-17 09:04:00 -08:00
Michael Lange
512ff08c8a
Update the ember-freestyle dep
2018-01-17 09:04:00 -08:00
Michael Lange
c408b4ecc4
Run prettier on all files
...
Since prettier updated, some files have out of date formatting.
2018-01-17 09:04:00 -08:00
Michael Lange
420cfa4444
Upgrade lint-staged
2018-01-17 09:04:00 -08:00
Michael Lange
47a2c2ffbf
Upgrade stale deps
2018-01-17 09:04:00 -08:00
Michael Lange
deb2dffefa
Remove unused ui travis config
2018-01-17 09:04:00 -08:00
Michael Lange
20e63ad970
Add chrome to Travis
2018-01-17 09:04:00 -08:00
Michael Lange
45f9214c2c
Use ember-test-selectors for integration tests
2018-01-17 09:03:59 -08:00
Michael Lange
af0fc0f9ef
Upgrade testing related dependencies
2018-01-17 09:03:59 -08:00
Michael Lange
94a95406da
Switch from phantomjs to headless chrome
2018-01-17 09:03:59 -08:00