Mahmood Ali
16f7a3f31b
ui: protect against nil services
...
Protect against case where an alloc has no services and avoid
dereferencing null.
Here, we ensure that the model and test serializers mimic the API by
having nil TaskGroup.Services instead of an empty array.
2019-09-16 16:50:30 -04:00
Ruslan Usifov
b3c72d1729
close file handle when FileRotator object will closed. Fixes https://github.com/hashicorp/nomad/issues/6309 ( #6323 )
2019-09-13 10:31:13 -04:00
Tim Gross
a6ef8c5d42
client/networking: wrap error message from CNI plugin ( #6316 )
2019-09-13 08:20:05 -04:00
Kris Hicks
e4e50abb02
Merge pull request #6318 from hashicorp/hicks/fix-upstreams-link
...
Fix upstreams docs link
2019-09-12 15:36:52 -07:00
Kris Hicks
a211da731d
Fix upstreams docs link
2019-09-12 15:12:26 -07:00
Luiz Aoqui
c1b04b91cb
Merge pull request #6317 from hashicorp/docs-fix-volume-docs
...
Fix `volume_mount` attribute in the docs and formatting
2019-09-12 16:53:30 -04:00
Luiz Aoqui
8dd39333c9
docs: fix formatting for volume
and volume_mount
doc pages
2019-09-12 16:13:04 -04:00
Luiz Aoqui
16d494344f
docs: replace source
with volume
attribute in volume_mount
docs
2019-09-12 16:08:18 -04:00
Tim Gross
c6c294aa47
dev: expose Consul port 8500 in linux-ui Vagrantfile ( #6292 )
2019-09-11 14:53:30 -04:00
Tim Gross
971c287ed2
doc: ulimit recommendations for local development ( #6311 )
...
The default ulimit for open files on macOS is really small (256),
which leads to "too many open files" errors during plugin launches if
you're running unit tests in `drivers/docker`. Recommend setting
`ulimit -n 1024`.
2019-09-11 14:53:03 -04:00
Mahmood Ali
02445ad974
Merge pull request #6294 from hashicorp/c-vagrant-tweaks-20190906
...
manage dev deps in vagrant
2019-09-11 11:27:21 -07:00
Mahmood Ali
78f62d3670
Merge pull request #6080 from lchayoun/bug-6079
...
Allow dash in environment variable names
2019-09-11 11:17:24 -07:00
Mahmood Ali
b6bf7f9a6c
Merge pull request #6260 from hashicorp/c-circleci-tweak-20190903
...
ci: ignore nested pkgs in GOTEST_PKGS_EXCLUDE
2019-09-11 11:17:10 -07:00
Charlie Voiselle
3e7df4c9f6
Typo fix
2019-09-11 09:13:28 -04:00
Tim Gross
55ee7a220b
e2e: fixes for race conditions in testing ( #6300 )
...
- In script checks, ensure we're running `Exec` against the new running
allocation and not the earlier stopped one.
- In script checks, allow `Exec` calls to error due to lack of pty when
we use the exec to kill the task.
- In `utils.go/RegisterAllocs`, force query for allocations to wait on
wait index returned by registration call.
2019-09-10 13:45:16 -04:00
Tim Gross
b05cd4c430
test: expand symlink for temp dir for macOS compatibility ( #6303 )
...
On macOS, `os.TempDir` returns a symlinked path under `/var` which is
outside of the directories shared into the VM used for Docker, and
that fails tests using Docker that need that mount. If we expand the
symlink to get the real path in `/private`, we're in the shared
folders and can safely mount them.
2019-09-10 12:20:09 -04:00
Preetha Appan
46ebe18824
Update version
2019-09-09 14:58:40 -07:00
Tim Gross
105c7cdee1
upgrade notes for 0.9.5
2019-09-09 14:58:25 -07:00
Mahmood Ali
2ca11b9121
Merge pull request #6304 from hashicorp/d-ns-quota-api
...
website: document Quota field in ns payloads
2019-09-09 16:54:04 -04:00
Mahmood Ali
934937f252
website: document Quota field in ns payloads
2019-09-09 13:48:58 -07:00
Mahmood Ali
d3ffc1afa2
website: fix typo
2019-09-09 10:26:08 -07:00
Mahmood Ali
1ec78c6142
Merge pull request #6302 from hashicorp/b-fix-nomad-ns-help
...
fix 'nomad namespace apply' help message
2019-09-09 13:24:45 -04:00
Buck Doyle
29b5efd90c
Convert resources page to Markdown ( #6301 )
...
The auto-generation of TOC wasn’t working because the
“auto-linking header tags” described here doesn’t work
if the file isn’t Markdown:
https://github.com/hashicorp/middleman-hashicorp#auto-linking-header-tags
2019-09-09 12:05:16 -05:00
Mahmood Ali
877260afd8
fix 'nomad namespace apply' help
...
Named arguments need to preceed positional arguments.
2019-09-09 10:04:41 -07:00
Mahmood Ali
2905807b3a
docs: mark consul connect integration as beta
2019-09-09 09:59:55 -07:00
Mahmood Ali
68941c5059
Merge pull request #6299 from hashicorp/d-0.10.0-beta1-link
...
website: Link to 0.10.0-beta1 release
2019-09-09 12:06:26 -04:00
Mahmood Ali
95ded0f5ae
website: Link to 0.10.0-beta1 release
2019-09-09 09:05:06 -07:00
Mahmood Ali
f94b35de8e
Merge pull request #6297 from hashicorp/f-group-services-docs
...
Start of docs for group level service and network stanza.
2019-09-09 12:03:16 -04:00
Mahmood Ali
09f0efca1e
Merge pull request #6295 from hashicorp/docs-service-tweaks
...
docs: mention task field for checks
2019-09-09 12:02:19 -04:00
Mahmood Ali
9e48d6e6c6
Merge pull request #6298 from hashicorp/docs-add-exec-caps
...
Docs: Added alloc_exec and alloc_node_exec capabilities
2019-09-09 12:01:37 -04:00
Buck Doyle
e4e055b503
Remove website job for UI branches ( #6273 )
2019-09-09 10:57:07 -05:00
Charlie Voiselle
644f645721
Added alloc_exec and alloc_node_exec capabilities
...
These were added in 4f7bd68f5c
2019-09-09 11:11:56 -04:00
Preetha Appan
cea4f9eb5a
Fix formatting
2019-09-08 22:57:55 -05:00
Preetha Appan
3367da4d1f
Start of docs for group level service and network stanza.
2019-09-08 22:39:30 -05:00
Michael Schurter
ab10ffef76
docs: mention task field for checks
...
Tweak wording in changelog to match other entries.
2019-09-06 14:13:05 -07:00
Michael Schurter
37a1b8ed2c
Merge pull request #6287 from hashicorp/docs-connect-updates
...
docs: add more detail to connect stanzas
2019-09-06 13:52:17 -07:00
Mahmood Ali
6920b4389e
vagrant: install chrome in dev only
2019-09-06 16:11:16 -04:00
Michael Schurter
6930bb8c43
docs: add more detail to connect stanzas
2019-09-06 13:09:02 -07:00
Tim Gross
3469c50275
e2e: tag instances with origin ( #6293 )
...
When multiple developers are working on e2e testing, it helps to be
able to identify which infrastructure belongs to which Nomad SHA and
which developer. This adds tags to the EC2 instances.
2019-09-06 15:49:18 -04:00
Mahmood Ali
4b8280e51d
remove generated code
2019-09-06 19:24:15 +00:00
Mahmood Ali
d30233b359
Release v0.10.0-beta1
2019-09-06 19:19:21 +00:00
Mahmood Ali
0412de0947
vagrant: Install dev tools in dev script only
2019-09-06 14:55:16 -04:00
Nomad Release bot
dc7d728a82
Generate files for 0.10.0-beta1 release
2019-09-06 18:47:09 +00:00
Mahmood Ali
a39f87bba8
vagrant: Export services without port mapping
...
By having an ip address by default, developers can access any service on
the Vagrant linux box without needing to setup port maps.
2019-09-06 14:27:26 -04:00
Preetha
50639cbd06
Merge pull request #6252 from hashicorp/f-e2e-script-checks
...
e2e: script check testing
2019-09-06 10:35:43 -05:00
Tim Gross
3fa4bca4a0
script checks: Update needs to update Alloc as well ( #6291 )
2019-09-06 11:18:00 -04:00
Tim Gross
ede48ae19c
script checks: use cat instead of ls for exit code agreement
2019-09-06 11:17:00 -04:00
Tim Gross
c9c612cc70
e2e: script check testing
2019-09-06 10:18:55 -04:00
Danielle
c2b64483ce
Merge pull request #6288 from hashicorp/volume-acl-docs
...
docs: Add host volume acl docs
2019-09-06 15:04:07 +02:00
Danielle
25b7d58b37
Apply suggestions from code review
...
acl_docs: Stylistic improvements
Co-Authored-By: Tim Gross <tim@0x74696d.com>
2019-09-06 15:03:38 +02:00