Mahmood Ali
3ca4e30fae
Update go-multierror library
...
Update multierror to latest as of now. Our version is very old and
dates back to Sep 2015[1]. Here, we aim to pick up a panic fix found in
n https://github.com/hashicorp/go-multierror/pull/11 (Dec 2016).
This is a purely hygiene maintenance change. I am unaware of any causes
of the panic in our current dependencies. Though, some private internal
libraries did rely on the "recent" behavior of go-multierror, and I
aimed to update here to ease our adoption of other libraries later.
[1] d30f09973e
2019-10-25 09:25:42 -04:00
Mahmood Ali
1491e4673e
Merge pull request #6547 from hashicorp/b-docker-task-user
...
docs: Docker driver supports task user option
2019-10-25 09:22:28 -04:00
Mahmood Ali
1d7de3e117
fix grammar
2019-10-25 09:22:03 -04:00
Tim Gross
9ce6a84a0f
e2e: split Packer build scripts from TF provisioning ( #6542 )
...
Make a clear split between Packer and Terraform provisioning steps:
the scripts in the `packer/linux` directory are run when we build the
AMI whereas the stuff in shared are run at Terraform provisioning time.
Merging all runtime provisioning scripts into a single script for each
of server/client solves the following:
* Userdata scripts can't take arguments, they can only be templated
and that means we have to do TF escaping in bash/powershell scripts.
* TF provisioning scripts race with userdata scripts.
2019-10-25 08:08:24 -04:00
Omar Khawaja
ecc9552fcf
fix typos ( #6552 )
2019-10-25 01:15:22 -04:00
Mahmood Ali
00a0be0df1
docs: Docker driver supports task user option
...
Also, add a test case.
2019-10-24 14:00:37 -04:00
Omar Khawaja
bed496c90a
Nomad HAProxy load balancing guide ( #6534 )
...
* add nginx to load balancing nav menu and fix bullets
* fill out nginx lb guide
* formatting
* change Nginx to NGINX
* add step to verify load balancer config
* update docker image and web app output
* add HAProxy lb guide
* format haproxy config
* add haproxy stats page with screenshot
* add note about external load balancer
* Update website/source/guides/load-balancing/haproxy.html.md
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com >
* Update website/source/guides/load-balancing/haproxy.html.md
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com >
* Update website/source/guides/load-balancing/haproxy.html.md
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com >
* Update website/source/guides/load-balancing/haproxy.html.md
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com >
* Update website/source/guides/load-balancing/haproxy.html.md
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com >
* Update website/source/guides/load-balancing/haproxy.html.md
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com >
* Update website/source/guides/load-balancing/haproxy.html.md
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com >
* Update website/source/guides/load-balancing/haproxy.html.md
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com >
* add port mapping an static port for haproxy ui + bullet changes
* remove extra spaces
* Update website/source/guides/load-balancing/haproxy.html.md
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com >
* Update website/source/guides/load-balancing/haproxy.html.md
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com >
* Update website/source/guides/load-balancing/haproxy.html.md
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com >
2019-10-24 13:02:07 -04:00
Omar Khawaja
902a101e32
Nomad NGINX Load Balancing Guide ( #6529 )
...
* add nginx to load balancing nav menu and fix bullets
* fill out nginx lb guide
* formatting
* change Nginx to NGINX
* add step to verify load balancer config
* update docker image and web app output
* change Nginx to NGINX in main load balancing page
* modify change signal to SIGHUP and add else condition in template stanza to prevent nginx from crashing when no services are available to load balance
* add note about external load balancer
* clarifications and link to reference architecture
2019-10-24 11:48:37 -04:00
Lang Martin
f042b5e296
quota: parse network stanza in quotas ( #6511 )
2019-10-24 10:41:54 -04:00
Buck Doyle
458a6c413d
Remove inverse block for list-pagination ( #6523 )
...
As the angle bracket invocation RFC says:
> There is no dedicated syntax for passing an "else" block
> directly. If needed, that can be passed using the named
> blocks syntax.
https://github.com/emberjs/rfcs/blob/master/text/0311-angle-bracket-invocation.md#block
Unfortunately, using a contextual component doesn’t help as
the yield inside that component will still result in content
rendering that would show when the source isn’t empty. So
we decided to change the interface so you have to check
whether the source is empty before using it, which aligns with
how list-table works.
2019-10-24 07:05:43 -05:00
Lang Martin
44c576e213
Merge pull request #6539 from hashicorp/docs-job-volume-no-config
...
docs: job volume spec tasks source, not config > source
2019-10-23 16:01:24 -04:00
Lang Martin
a6f5440440
docs: job volume spec tasks source, not config > source
2019-10-23 15:28:53 -04:00
Michael Schurter
0601020db0
Merge pull request #6533 from hashicorp/docs-fixup-connect
...
docs: fix links to connect
2019-10-23 08:28:42 -07:00
Mahmood Ali
3dcbbac335
Merge pull request #6514 from hashicorp/b-docker-gc-config
...
driver/docker: ensure that defaults are populated for dangling containers config
2019-10-23 11:16:47 -04:00
Charlie Voiselle
5c7288e76c
Merge pull request #6526 from hashicorp/docs-add-req-vers
...
Added version requirement to new feature guides
2019-10-23 10:15:43 -04:00
Michael Schurter
2c2fea21c7
docs: fix links to connect
2019-10-22 15:57:14 -07:00
Charlie Voiselle
a0fcded01a
Merge pull request #6530 from hashicorp/docs-hero-alert-0.10
...
docs: Added alert to mainpage for new 0.10
2019-10-22 17:07:36 -04:00
Charlie Voiselle
d386b992bc
Added alert to mainpage for new 0.10
2019-10-22 16:36:48 -04:00
Michael Schurter
e0ea2cea09
Merge pull request #6525 from hashicorp/release-0100
...
Merge 0.10.0 release branch back into master
2019-10-22 09:56:42 -07:00
Michael Schurter
65ff505075
Merge pull request #6528 from hashicorp/website-0100
...
docs: remove link to 0.10.0-rc1
2019-10-22 09:45:23 -07:00
Michael Schurter
7fa36b40c0
docs: remove link to 0.10.0-rc1
2019-10-22 09:34:08 -07:00
Charlie Voiselle
e721144490
Update website/source/guides/integrations/consul-connect/index.html.md
...
Co-Authored-By: Michael Schurter <mschurter@hashicorp.com >
2019-10-22 12:00:59 -04:00
Charlie Voiselle
382902df5b
Added version requirement to new feature guides
2019-10-22 11:43:17 -04:00
Michael Schurter
d42ac815b4
Merge branch 'master' into release-0100
2019-10-22 08:17:57 -07:00
Michael Schurter
3bb63496fc
Merge pull request #6524 from hashicorp/website-0100
...
docs: bump to Nomad 0.10.0
2019-10-22 07:53:17 -07:00
Michael Schurter
d5a95f7810
cleanup post 0.10.0 release
2019-10-22 07:48:09 -07:00
Michael Schurter
f2de59241e
docs: bump to Nomad 0.10.0
2019-10-22 07:35:37 -07:00
Michael Schurter
6a8b80b619
Release v0.10.0
2019-10-22 07:33:45 -07:00
Nomad Release bot
25ee121d95
Generate files for 0.10.0 release
2019-10-22 12:34:56 +00:00
Mahmood Ali
816f8fbb20
Revert "lint: ignore generated windows syscall wrappers"
...
This reverts commit 482862e6ab .
2019-10-22 08:23:44 -04:00
Mahmood Ali
db4ebaff4e
reorder changelog
2019-10-22 08:23:30 -04:00
Michael Lange
c47da9b391
Changelog entry: couple of UI bugs
2019-10-21 15:16:58 -07:00
Michael Lange
ac8fa9fe1d
Changelog entry: couple of UI bugs
2019-10-21 15:10:00 -07:00
Michael Schurter
f989769b06
client: expose group network ports in env vars
...
Fixes #6375
Intentionally omitted IPs prior to 0.10.0 release to minimize changes
and risk.
2019-10-21 13:28:35 -07:00
Michael Schurter
d6a534fd26
Merge pull request #6515 from hashicorp/b-expose-group-ports
...
client: expose group network ports in env vars
2019-10-21 13:27:46 -07:00
Michael Schurter
5a6818510e
client: expose group network ports in env vars
...
Fixes #6375
Intentionally omitted IPs prior to 0.10.0 release to minimize changes
and risk.
2019-10-21 12:31:13 -07:00
Danielle
066c4027d6
Merge pull request #6518 from mre/patch-1
...
Update link to new blog
2019-10-21 15:37:53 +02:00
Matthias Endler
c88dac0c5f
Update link to new blog
2019-10-21 15:35:24 +02:00
Mahmood Ali
95fe2cd805
driver/docker: ensure that defaults are populated
...
Looks like we may need to pass default literal at each layer to be able,
so defaults are set properly.
2019-10-18 18:27:28 -04:00
Mahmood Ali
75acbccf8e
Merge pull request #6325 from hashicorp/b-docker-reconcile-periodically
...
docker: periodically reconcile containers
2019-10-18 15:53:30 -04:00
Mahmood Ali
c64647c218
add timeouts for docker reconciler docker calls
2019-10-18 15:31:13 -04:00
Mahmood Ali
04a2e05994
only set a single label for now
...
Other labels aren't strictly necessary here, and we may follow up with a
better way to customize.
2019-10-18 15:31:13 -04:00
Mahmood Ali
7a5365c21b
Merge pull request #6510 from hashicorp/r-golang-1.12.12
...
Use golang 1.12.12
2019-10-18 15:15:22 -04:00
Mahmood Ali
487b0d8349
Only start reconciler once in main driver
...
driver.SetConfig is not appropriate for starting up reconciler
goroutine. Some ephemeral driver instances are created for validating
config and we ought not to side-effecting goroutines for those.
We currently lack a lifecycle hook to inject these, so I picked the
`Fingerprinter` function for now, and reconciler should only run after
fingerprinter started.
Use `sync.Once` to ensure that we only start reconciler loop once.
2019-10-18 14:43:23 -04:00
Michael Schurter
1c46510482
connect: upgrade to envoy 1.11.2 and add sha
...
Append the Docker image sha to the Envoy image to ensure users default
to using the version that Nomad was tested against.
2019-10-18 10:16:58 -07:00
Michael Schurter
1b64461d52
Merge pull request #6509 from hashicorp/f-add-envoy-sha
...
connect: upgrade to envoy 1.11.2 and add sha
2019-10-18 10:14:57 -07:00
Mahmood Ali
586a7accee
Merge pull request #6510 from hashicorp/r-golang-1.12.12
...
Use golang 1.12.12
2019-10-18 10:52:28 -04:00
Michael Schurter
ca57cd2775
connect: upgrade to envoy 1.11.2 and add sha
...
Append the Docker image sha to the Envoy image to ensure users default
to using the version that Nomad was tested against.
2019-10-18 07:46:53 -07:00
Mahmood Ali
3c57488aae
e2e tests assume non-root user
2019-10-18 09:21:30 -04:00
Mahmood Ali
2fd26e814b
adjust circleci scripts to use official golang image
2019-10-18 08:52:49 -04:00