Commit Graph

18487 Commits

Author SHA1 Message Date
Mahmood Ali
97fb054c9d basic snapshot restore 2020-06-07 15:46:23 -04:00
Yishan Lin
92daea3216 Updated Nomad README + Who Uses Nomad pages
- Guides now point to HashiCorp Learn, rather than old website
- Condensed the documentation & guides section for brevity
- Updated "Who Uses Nomad" page and section in README with new names collected from past 6 months
- Added yearly publication dates to each of the public talks
2020-06-05 13:27:26 -07:00
Chris Baker
0fd6d3c679 Merge pull request #8123 from hashicorp/docs-update-version-for-0.12.0
update version for 0.12.0 dev
2020-06-05 14:34:38 -05:00
Chris Baker
dac302ac10 update version for 0.12.0 dev 2020-06-05 19:32:52 +00:00
Chris Baker
95fa48fca0 Merge pull request #8122 from hashicorp/docs-update-changelog-with-0.11.3
changelog updates from release-0.11.3
2020-06-05 14:31:26 -05:00
Chris Baker
14f36aecdc changelog updates from release-0.11.3 2020-06-05 19:29:57 +00:00
Mahmood Ali
32917738a5 Merge pull request #8120 from hashicorp/c-fix-go-bindata
Ensure we are using the latest go-bindata tools
2020-06-04 19:53:57 -04:00
Mahmood Ali
d81d827b05 Ensure we are using the latest go-bindata tools
go-bindata released tags are very old, few years old, so ensure we use
the latest master as of now.
2020-06-04 18:49:12 -04:00
Mahmood Ali
723ed85f44 ci: run static generators as part of CI
These are used by release process, so add them to CI to notice if we
break release scripts.
2020-06-04 18:23:29 -04:00
Mahmood Ali
192b7e8fdd Merge pull request #8089 from hashicorp/b-leader-worker-count
leadership: pause and unpause workers consistently
2020-06-04 12:01:01 -04:00
Tim Gross
8d60451481 Revert "fix go.mod replace for api by using older semantics (#8113)" (#8115)
This reverts commit e3db589c09.
2020-06-04 11:29:03 -04:00
Tim Gross
e3db589c09 fix go.mod replace for api by using older semantics (#8113) 2020-06-04 10:33:28 -04:00
Tim Gross
c7c2b716fc ignore vagrant directory even if symlinked (#8114) 2020-06-04 10:24:15 -04:00
Mahmood Ali
f3183f137c stop periodic dispatch at end of tests (#8111) 2020-06-04 09:15:00 -04:00
Mahmood Ali
fa845c7a7e Vendor gopsutil with go mod fix (#8108)
Point to gopsutil fork with shirou/gopsutil#889 changes. I used hashicorp/gopsutil rather than pointing to https://github.com/Lomanic/gopsutil/tree/issue832 directly just in case..
2020-06-03 16:09:27 -04:00
Mahmood Ali
87d75f6adf run go mod vendor (#8107) 2020-06-03 15:34:39 -04:00
Drew Bailey
40441df3ed base podman e2e test and provisioning updates (#8104)
* initial setup for terrform to install podman task driver

podman

* Update e2e provisioning to support root podman

Excludes setup for rootless podman. updates source ami to ubuntu 18.04
Installs podman and configures podman varlink

base podman test

ensure client status running

revert terraform directory changes

* back out random go-discover go mod change

* include podman varlink docs

* address comments
2020-06-03 14:06:58 -04:00
Michael Lange
b8623b373e Merge pull request #8103 from hashicorp/b-ui/remove-vendored-xterm
Remove vendored xterm.js files
2020-06-03 09:34:04 -07:00
Michael Lange
ea29d409ef Remove vendored xterm.js files 2020-06-03 09:25:19 -07:00
Lang Martin
422493f38d Delayed evaluations for stop_after_client_disconnect can cause unwanted extra followup evaluations around job garbage collection (#8099)
* client/heartbeatstop: reversed time condition for startup grace

* scheduler/generic_sched: use `delayInstead` to avoid a loop

Without protecting the loop that creates followUpEvals, a delayed eval
is allowed to create an immediate subsequent delayed eval. For both
`stop_after_client_disconnect` and the `reschedule` block, a delayed
eval should always produce some immediate result (running or blocked)
and then only after the outcome of that eval produce a second delayed
eval.

* scheduler/reconcile: lostLater are different than delayedReschedules

Just slightly. `lostLater` allocs should be used to create batched
evaluations, but `handleDelayedReschedules` assumes that the
allocations are in the untainted set. When it creates the in-place
updates to those allocations at the end, it causes the allocation to
be treated as running over in the planner, which causes the initial
`stop_after_client_disconnect` evaluation to be retried by the worker.
2020-06-03 09:48:38 -04:00
Seth Hoenig
045995bffb Merge pull request #8041 from hashicorp/x-gomod
Switch to Go modules for dependency management
2020-06-02 18:26:53 -05:00
Seth Hoenig
1fcdd028bf docs: add note in readme about exported package policy 2020-06-02 16:36:44 -05:00
Seth Hoenig
15fb4c990a deps: Switch to Go modules for dependency management
This PR switches the Nomad repository from using govendor to Go modules
for managing dependencies. Aspects of the Nomad workflow remain pretty
much the same. The usual Makefile targets should continue to work as
they always did. The API submodule simply defers to the parent Nomad
version on the repository, keeping the semantics of API versioning that
currently exists.
2020-06-02 14:30:36 -05:00
Michael Lange
c505079a42 Merge pull request #8079 from shishir-a412ed/f-ui-iis-driver
Add nomad-driver-iis to nomad UI docs.
2020-06-02 09:30:45 -07:00
Mahmood Ali
af3d50aec8 Merge pull request #8042 from greut/docker-v19.03.9
docker v19.03.10
2020-06-02 10:14:14 -04:00
Shishir Mahajan
5574d57315 Fix review comments. 2020-06-01 19:15:01 -07:00
Shishir Mahajan
7570887bc6 Fix go-lint issue. 2020-06-01 18:54:58 -07:00
Dustin Taylor
38112e2dab Descriptions 2020-06-01 18:54:58 -07:00
Shishir Mahajan
9435013a2c Fix review comments. 2020-06-01 18:54:58 -07:00
Shishir Mahajan
165bdb2f77 Fixed missing comma. 2020-06-01 18:54:58 -07:00
Shishir Mahajan
e13b30da65 Add nomad-driver-iis to nomad UI docs. 2020-06-01 18:54:58 -07:00
Yoan Blanc
1b61b16c01 docker pick https://github.com/moby/moby/pull/40021
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-01 22:43:58 +02:00
Yoan Blanc
67051f0185 docker/cli v19.03.10
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-01 22:43:56 +02:00
Yoan Blanc
37974a814a docker v19.03.10
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-01 22:43:31 +02:00
Yoan Blanc
610075e748 docker v19.03.9
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-01 22:43:28 +02:00
Buck Doyle
67e9690b7d Convert to angle bracket invocation (#8075)
This is mostly a direct application of the ember-angle-brackets-codemod.
I manually restored newlines in multi-line component invocations, usually
preserving file line length except for now-non-positional link-to @route.

I needed to rename task to taskState in some cases to avoid Ember
Concurrency naming conflicts.
2020-06-01 14:03:56 -05:00
Seth Hoenig
81355d9578 Merge pull request #8087 from hashicorp/f-docker-mem-config
driver/docker: enable setting hard/soft memory limits
2020-06-01 12:16:55 -05:00
Seth Hoenig
5a0dc99959 driver/docker: add integration test around setting memory_hard_limit 2020-06-01 12:00:47 -05:00
Seth Hoenig
0d0d245981 docs: reference kernel documentation regarding soft memory limit activation 2020-06-01 11:16:11 -05:00
Seth Hoenig
779b615a52 docs: use correct url path for doc string
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-06-01 10:52:36 -05:00
Seth Hoenig
108860ac86 docs: fix markdown for field in changelog
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-06-01 10:52:12 -05:00
Chris Baker
6e15cf7fe4 Merge pull request #8086 from hashicorp/docs-add-go-redirect-fix-changelog
docs: add go-getter redirect fix to changelog
2020-06-01 10:16:20 -05:00
Drew Bailey
aeb74c9cd5 license changelog (#8088) 2020-06-01 11:07:54 -04:00
Mahmood Ali
01fcd2ba9b leadership: pause and unpause workers consistently
This fixes a bug where leadership establishment pauses 3/4 of workers
but stepping down unpause only 1/2!
2020-06-01 10:57:53 -04:00
Drew Bailey
13f26183f5 Docs/license (#8076)
* license cli documentation

license docs

backout doc change

more docs

* license api endpoint documentation
2020-06-01 10:55:03 -04:00
Mahmood Ali
764cdac01a test for paused workers upon leadership revocation 2020-06-01 10:48:42 -04:00
Seth Hoenig
81f1be048a driver/docker: use pointer parameter on driver because locks 2020-06-01 09:35:17 -05:00
Seth Hoenig
d35358a07c docs: update docs & changelog for docker driver memory_hard_limit configuration 2020-06-01 09:24:49 -05:00
Seth Hoenig
186aa59fc9 driver/docker: enable setting hard/soft memory limits
Fixes #2093

Enable configuring `memory_hard_limit` in the docker config stanza for tasks.
If set, this field will be passed to the container runtime as `--memory`, and
the `memory` configuration from the task resource configuration will be passed
as `--memory_reservation`, creating hard and soft memory limits for tasks using
the docker task driver.
2020-06-01 09:22:45 -05:00
Seth Hoenig
87778d4ac9 docs: add go-getter redirect fix to changelog 2020-06-01 09:01:35 -05:00