Commit graph

16244 commits

Author SHA1 Message Date
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
Mahmood Ali 29c8fe1ba1
fix typo
Co-Authored-By: Danielle <dani@hashicorp.com>
2019-09-06 10:05:02 -04:00
Mahmood Ali 01f42053e4 dev: avoid codecgen code in downstream projects
This is an attempt to ease dependency management for external driver
plugins, by avoiding requiring them to compile ugorji/go generated
files.  Plugin developers reported some pain with the brittleness of
ugorji/go dependency in particular, specially when using go mod, the
default go mod manager in golang 1.13.

Context
--------

Nomad uses msgpack to persist and serialize internal structs, using
ugorji/go library.  As an optimization, we use ugorji/go code generation
to speedup process and aovid the relection-based slow path.

We commit these generated files in repository when we cut and tag the
release to ease reproducability and debugging old releases.  Thus,
downstream projects that depend on release tag, indirectly depends on
ugorji/go generated code.

Sadly, the generated code is brittle and specific to the version of
ugorji/go being used.  When go mod picks another version of ugorji/go
then nomad (go mod by default uses release according to semver),
downstream projects face compilation errors.

Interestingly, downstream projects don't commonly serialize nomad
internal structs.  Drivers and device plugins use grpc instead of
msgpack for the most part.  In the few cases where they use msgpag (e.g.
decoding task config), they do without codegen path as they run on
driver specific structs not the nomad internal structs.  Also, the
ugorji/go serialization through reflection is generally backward
compatible (mod some ugorji/go regression bugs that get introduced every
now and then :( ).

Proposal
---------

The proposal here is to keep committing ugorji/go codec generated files
for releases but to use a go tag for them.

All nomad development through the makefile, including releasing, CI and
dev flow, has the tag enabled.

Downstream plugin projects, by default, will skip these files and life
proceed as normal for them.

The downside is that nomad developers who use generated code but avoid
using make must start passing additional go tag argument.  Though this
is not a blessed configuration.
2019-09-06 09:22:00 -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
Luiz Aoqui b4d8312a8d
Merge pull request #6289 from hashicorp/docs-fix-host-volume-path
Fix host volume path
2019-09-06 09:02:38 -04:00
Luiz Aoqui 17ba1e9e20 fix host volume path 2019-09-06 08:44:57 -04:00
Danielle Lancashire 4b6e03b8e9
docs: Add host volume acl docs 2019-09-06 14:02:19 +02:00
Michael Schurter b460271de5
Merge pull request #6286 from hashicorp/b-inplaceupdate-bugfix
Fix inplace updates bug with group level networks
2019-09-05 17:01:30 -07:00
Preetha Appan 9accf60805
update comment 2019-09-05 18:43:30 -05:00
Preetha Appan d21c708c4a
Fix inplace updates bug with group level networks
During inplace updates, we should be using network information
from the previous allocation being updated.
2019-09-05 18:37:24 -05:00
Jasmine Dahilig 3d9d4d0522
upgrade guide for 0.10.0 (#6266) 2019-09-05 13:27:37 -07:00
Buck Doyle aa40833194
Fix documentation typo (#6285) 2019-09-05 15:04:52 -05:00
Buck Doyle 4ca5662895
UI: Remove Connect proxy tag tests again (#6284)
This semi-reverts #6275, as the tests are intermittently
failing in CI.
2019-09-05 14:34:47 -05:00
Michael Schurter 2ce1b28b33
Merge pull request #6279 from hashicorp/f-connect-docs
Initial placeholder connect docs
2019-09-05 12:29:44 -07:00
Michael Schurter 31eb8375e5
Merge pull request #6282 from hashicorp/f-connect-dev-path
connect: check if consul is on PATH
2019-09-05 12:25:23 -07:00
Tim Gross 7551baae30
add CNI plugins to Vagrant install (#6280) 2019-09-05 15:10:15 -04:00
Buck Doyle dc43dbdad2
UI: Restore Connect proxy tag tests (#6275)
These are the tests skipped in #6271.
2019-09-05 14:09:32 -05:00
Michael Schurter 457684e34e connect: check if consul is on PATH
Only in -dev-connect mode for now since its valid to install Consul
after Nomad has started in production.
2019-09-05 12:05:42 -07:00
Jasmine Dahilig f152738545
Update CHANGELOG.md 2019-09-05 11:56:12 -07:00