Commit Graph

16007 Commits

Author SHA1 Message Date
Mahmood Ali
48034051d4 cli: emit job version number proper
We must emit alloc job number rather than its the field address.
2019-09-13 19:04:32 -04:00
Ruslan Usifov
a88482a9ec 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
ad741aff08 client/networking: wrap error message from CNI plugin (#6316) 2019-09-13 08:20:05 -04:00
Kris Hicks
4876353dcf Merge pull request #6318 from hashicorp/hicks/fix-upstreams-link
Fix upstreams docs link
2019-09-12 15:36:52 -07:00
Kris Hicks
de84c81acd Fix upstreams docs link 2019-09-12 15:12:26 -07:00
Luiz Aoqui
94d4825bf2 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
507e05b114 docs: fix formatting for volume and volume_mount doc pages 2019-09-12 16:13:04 -04:00
Luiz Aoqui
545054ef99 docs: replace source with volume attribute in volume_mount docs 2019-09-12 16:08:18 -04:00
Tim Gross
15f9fea2c3 dev: expose Consul port 8500 in linux-ui Vagrantfile (#6292) 2019-09-11 14:53:30 -04:00
Tim Gross
c9f7656489 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
232295f83f 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
8177d45193 Merge pull request #6080 from lchayoun/bug-6079
Allow dash in environment variable names
2019-09-11 11:17:24 -07:00
Mahmood Ali
97448cf33d 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
32ad0eef31 Typo fix 2019-09-11 09:13:28 -04:00
Tim Gross
31f91cf4c8 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
ae3488dbac 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
1b53b72475 Update version 2019-09-09 14:58:40 -07:00
Tim Gross
d62dd486bf upgrade notes for 0.9.5 2019-09-09 14:58:25 -07:00
Mahmood Ali
8055f6ec8c 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
2c1c8b08ea website: document Quota field in ns payloads 2019-09-09 13:48:58 -07:00
Mahmood Ali
ea14029f3e website: fix typo 2019-09-09 10:26:08 -07:00
Mahmood Ali
7b978bde38 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
2be3748fd1 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
483b10ab0e fix 'nomad namespace apply' help
Named arguments need to preceed positional arguments.
2019-09-09 10:04:41 -07:00
Mahmood Ali
6d2b3f68e4 docs: mark consul connect integration as beta 2019-09-09 09:59:55 -07:00
Mahmood Ali
0a546833f0 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
8ae94cc79d website: Link to 0.10.0-beta1 release 2019-09-09 09:05:06 -07:00
Mahmood Ali
c93f975999 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
4ea0476a00 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
e286bf974f 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
986b35c5cd Remove website job for UI branches (#6273) 2019-09-09 10:57:07 -05:00
Charlie Voiselle
b5cc7c72ef Added alloc_exec and alloc_node_exec capabilities
These were added in 4f7bd68f5c
2019-09-09 11:11:56 -04:00
Preetha Appan
864789bcb8 Fix formatting 2019-09-08 22:57:55 -05:00
Preetha Appan
effd6cf439 Start of docs for group level service and network stanza. 2019-09-08 22:39:30 -05:00
Michael Schurter
8aeba27278 docs: mention task field for checks
Tweak wording in changelog to match other entries.
2019-09-06 14:13:05 -07:00
Michael Schurter
a8de6a7f2e 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
d8eda18373 vagrant: install chrome in dev only 2019-09-06 16:11:16 -04:00
Michael Schurter
e6871ef237 docs: add more detail to connect stanzas 2019-09-06 13:09:02 -07:00
Tim Gross
f7c9db5624 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
026a36b367 remove generated code 2019-09-06 19:24:15 +00:00
Mahmood Ali
82f214630c Release v0.10.0-beta1 2019-09-06 19:19:21 +00:00
Mahmood Ali
cbb624f3de vagrant: Install dev tools in dev script only 2019-09-06 14:55:16 -04:00
Nomad Release bot
7df4da75f7 Generate files for 0.10.0-beta1 release 2019-09-06 18:47:09 +00:00
Mahmood Ali
8f68f5c13b 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
eec2033387 Merge pull request #6252 from hashicorp/f-e2e-script-checks
e2e: script check testing
2019-09-06 10:35:43 -05:00
Tim Gross
8acd2535d0 script checks: Update needs to update Alloc as well (#6291) 2019-09-06 11:18:00 -04:00
Tim Gross
f856cd4c58 script checks: use cat instead of ls for exit code agreement 2019-09-06 11:17:00 -04:00
Tim Gross
863339d65a e2e: script check testing 2019-09-06 10:18:55 -04:00
Danielle
b73cae6488 Merge pull request #6288 from hashicorp/volume-acl-docs
docs: Add host volume acl docs
2019-09-06 15:04:07 +02:00
Danielle
95b365d51b 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