Drew Bailey
cdc7f85964
Release 1.0.2 ( #9819 )
...
* changelog for release 1.0.2
* Generate files for 1.0.2 release
* Release v1.0.2
* rm generated files, update changelog for next release
* checkout bindata_assetfs
* bump version
Co-authored-by: Nomad Release bot <nomad@hashicorp.com>
2021-01-14 15:08:28 -05:00
Brandon Romano
1087c20cf7
Merge pull request #9805 from hashicorp/br.stack-menu
...
Website StackMenu updates for 1/14
2021-01-14 09:31:54 -08:00
Mahmood Ali
8eedd8d3d0
ci: only read/modify GO_TAGS
field ( #9815 )
...
Only lookup GO_TAGS variable, and avoid the false positives where GO_TAGS is a variable suffix.
2021-01-14 08:16:58 -05:00
Drew Bailey
9cd274ba8d
changelogfmt ( #9807 )
2021-01-13 15:21:17 -05:00
Seth Hoenig
f1084b0a84
Merge pull request #9809 from hashicorp/f-use-jobspec2-in-e2eutil
...
e2e: use jobspec2 Parse for parsing jobfile in e2e utils
2021-01-13 14:14:34 -06:00
Seth Hoenig
536747f216
e2e: use jobspec2 Parse for parsing jobfile in e2e utils
...
We directly parse job files in e2eutil, but currently using jobspec
package. Instead, use the Parse method from the jobspec2 package so
we can parse job files with new features.
2021-01-13 14:00:40 -06:00
Brandon Romano
2588500bea
Website StackMenu updates for 1/14
2021-01-13 10:21:55 -08:00
Tim Gross
d55e3e2018
lifecycle: successful prestart tasks should not fail deployments
...
In 492d62d we prevented poststop tasks from contributing to allocation health
status, which fixed a bug where poststop tasks would prevent a deployment from
ever being marked successful. The patch introduced a regression where prestart
tasks that complete are causing the allocation to be marked unhealthy. This
changeset restores the previous behavior for prestart tasks.
2021-01-13 11:40:21 -05:00
Luiz Aoqui
96fee70748
Merge pull request #9801 from hashicorp/docs-fix-broken-link-in-hcl2
...
docs: fix broken link
2021-01-13 11:32:18 -05:00
Luiz Aoqui
6667d4c734
docs: fix broken link
2021-01-13 11:25:48 -05:00
Luiz Aoqui
4452592c89
Merge pull request #9799 from hashicorp/docs-fix-hcl2-codeblock
...
docs: fix HCL2 doc page code block
2021-01-13 11:16:38 -05:00
Luiz Aoqui
226e442b32
docs: fix HCL2 doc page code block
2021-01-13 11:10:45 -05:00
Mahmood Ali
2fce53b364
build binaries with UI enabled ( #9796 )
...
Have the build-binary bundle the UI by default. This eases getting "alpha pre-releases" out for support without compiling locally, and engineer's experience with e2e test clusters.
2021-01-13 10:56:25 -05:00
Dave May
35d43c19ab
nomad agent-info: Add json/gotemplate formatting ( #9788 )
...
* nomad agent-info: Add json/gotemplate formatting
* Add CHANGELOG entry
* update docs
2021-01-13 09:42:46 -05:00
Tim Gross
aa58dd6415
docs: podman FSIsolation is image
...
As of podman 0.2.0, podman correctly advertises its filesystem isolation as
`FSIsolationImage`.
2021-01-13 09:05:19 -05:00
Tim Gross
8848819c50
docs: remove remaining references to network_speed config
2021-01-13 08:52:25 -05:00
Drew Bailey
0fd70d2cb1
tmp remove darwin arm build ( #9786 )
2021-01-12 15:52:30 -05:00
Jasmine Dahilig
0b8c1865e1
changelog for #9361 ( #9783 )
2021-01-12 15:12:49 -05:00
Kris Hicks
325eeae542
makefile: Set CC explicitly in go build ( #9784 )
...
This is required because Go does not pull CC from the make variable. This uses
whatever Go's default CC unless CC is overridden, as it is for the ARM targets.
This also makes it easier to build Nomad on a native ARM device, via:
```
make CC= pkg/linux_arm/nomad
```
2021-01-12 12:09:40 -08:00
Michael Lange
7f2cb4037a
Merge pull request #9780 from hashicorp/d/changelog-9733
...
Changelog entry for 9733
2021-01-12 10:34:52 -08:00
Seth Hoenig
17bb46903d
Merge pull request #9770 from hashicorp/docs-update-cl
...
docs: update cl with graviton fix
2021-01-12 12:30:01 -06:00
Seth Hoenig
3a3c006460
Merge pull request #9779 from apollo13/fix_9776
...
Properly detect unloaded dynamic modules on RHEL derivates. Fixes #9776
2021-01-12 12:25:30 -06:00
Drew Bailey
03a9541822
ignore poststop task in alloc health tracker ( #9548 ), fixes #9361
...
* investigating where to ignore poststop task in alloc health tracker
* ignore poststop when setting latest start time for allocation
* clean up logic
* lifecycle: isolate mocks for poststop deployment test
* lifecycle: update comments in tracker
Co-authored-by: Jasmine Dahilig <jasmine@dahilig.com>
2021-01-12 10:03:48 -08:00
Michael Lange
1ea19d8616
Changelog entry for 9733
2021-01-12 09:56:02 -08:00
Florian Apolloner
df7e22362d
Properly detect unloaded dynamic modules on RHEL derivates. Fixes #9776
...
The modules.dep file on RHEL includes .xz for compressed kernel modules.
2021-01-12 18:28:00 +01:00
Seth Hoenig
c145e630c4
docs: update cl with graviton fix
2021-01-11 12:07:05 -06:00
James Rasell
d6cab8aa14
Merge pull request #9767 from hashicorp/f-e2e-job-scaling-suite
...
e2e: add job scaling test suite.
2021-01-11 18:35:07 +01:00
Tim Gross
d78b4fc1a1
safely handle existing net namespace in default network manager
...
When a client restarts, the network_hook's prerun will call
`CreateNetwork`. Drivers that don't implement their own network manager will
fall back to the default network manager, which doesn't handle the case where
the network namespace is being recreated safely. This results in an error and
the task being restarted for `exec` tasks with `network` blocks (this also
impacts the community `containerd` and probably other community task drivers).
If we get an error when attempting to create the namespace and that error is
because the file already exists and is locked by its process, then we'll
return a `nil` error with the `created` flag set to false, just as we do with
the `docker` driver.
2021-01-11 11:31:03 -05:00
Seth Hoenig
43880dadd5
Merge pull request #9765 from hashicorp/f-bump-connect-examples
...
command: bump connect examples to v3
2021-01-11 10:22:58 -06:00
Seth Hoenig
64a8b795f2
Merge pull request #9766 from hashicorp/f-bump-cni-plugins-version
...
cni: bump CNI plugins version to v0.9.0
2021-01-11 09:59:43 -06:00
Tim Gross
f97505e384
e2e: remove deprecated terraform syntax
...
Also bumps patch versions of some TF modules
2021-01-11 08:25:22 -05:00
James Rasell
4374d99071
e2e: add job scaling test suite.
2021-01-11 11:34:19 +01:00
Seth Hoenig
fc5f48d936
cni: bump CNI version to v0.9.0
...
https://github.com/containernetworking/plugins/releases/tag/v0.9.0
Also make the copy-paste install instructions work with arm64 for
a better OOTB experience (AWS Graviton, Pi 4's).
2021-01-10 18:03:27 -06:00
Seth Hoenig
207fe378ce
docs: update countdash examples to v3
2021-01-10 17:19:39 -06:00
Seth Hoenig
36da162619
command: generate bindata assetfs
2021-01-10 17:09:08 -06:00
Seth Hoenig
456868c166
command: bump connect examples to v3
...
Nomad v1.0+ combined with Consul 1.9+ support launching Envoy v1.16+
which is the first version of envoy to support arm64 platforms out
of the box.
By rebuilding our example docker containers for connect to be multiplatform
between amd64 and arm64, Nomad can provide a nicer user experience for
those trying out Connect on arm64 machines (e.g. AWS Graviton instances
or Raspberry Pi 4's).
This has been done for the countdash examples at v3.
https://hub.docker.com/layers/hashicorpnomad/counter-dashboard/v3/images/sha256-94e323587bc372ba1b6ca5c58dc23e291e9d26787b50e71025f1c8967dfbcd07?context=repo
https://hub.docker.com/layers/hashicorpnomad/counter-api/v3/images/sha256-16a9e9e08082985a635c9edd0f258b084153c6c7831a9b41d34bde78c308b65c?context=repo
The connect-native examples are now also multiplatform at v5, but we
don't have them built into `job init`.
2021-01-10 16:54:31 -06:00
Chris Baker
cdfe5a50ff
Merge pull request #9761 from hashicorp/b-9758-enforce-policy-on-scale
...
in Job.Scale, ensure that new count is within [min,max] configured in scaling policy
2021-01-08 15:49:38 -06:00
Chris Baker
3546469205
nicer error message
2021-01-08 21:13:29 +00:00
Jeff Escalante
f4e68cedc1
update dependencies ( #9760 )
2021-01-08 15:46:31 -05:00
Buck Doyle
2589f7360c
Add documentation for exec websocket ( #9679 )
2021-01-08 14:01:06 -06:00
Chris Baker
d43e0d10c0
appease the linter and fix an incorrect test
2021-01-08 19:38:25 +00:00
Chris Baker
a53e54d7a6
changelog for 9761
2021-01-08 19:26:42 +00:00
Chris Baker
49effd5840
in Job.Scale, ensure that new count is within [min,max] configured in scaling policy
...
resolves #9758
2021-01-08 19:24:36 +00:00
Drew Bailey
c87adfac62
persist shared ports during inplace updates ( #9736 )
...
AllocatedSharedResources were not being copied over to the new
allocation struct the scheduler makes during inplace updates. This
caused downstream issues after the plan was applied, namely the shared
ports were dropped causing issues with service
registration/deregistration.
test that shared ports are preserved
change log, also carry over shared network
copy networks
2021-01-08 09:00:41 -05:00
Tim Gross
5b9a98d25a
docs: clarify default behavior of docker userns_mode
2021-01-08 08:22:39 -05:00
Chulki Lee
b7b23e9955
Fix HCL2 link
2021-01-08 08:19:06 -05:00
James Rasell
108fa33393
Merge pull request #9747 from hashicorp/f-e2e-scaling-policy-suite
...
e2e: add ScalingPolicies test suite with initial test case.
2021-01-08 10:51:48 +01:00
Michael Lange
1fabd3240c
Merge pull request #9614 from hashicorp/dependabot/npm_and_yarn/ui/ini-1.3.7
...
build(deps): bump ini from 1.3.5 to 1.3.7 in /ui
2021-01-07 14:10:03 -08:00
Tim Gross
cb0c4b1d0b
changelog entry for #9532
2021-01-07 15:44:13 -05:00
Joel May
13faf0d79e
Allow client.cpu_total_compute to override attr.cpu.totalcompute
2021-01-07 15:31:11 -05:00