This project is mirrored from https://gitee.com/mirrors/nomad.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 21 Mar, 2019 10 commits
-
-
Mahmood Ali authored
-
Mahmood Ali authored
client/logmon: restart log collection correctly when a task is restarted
-
Mahmood Ali authored
-
Preetha authored
Prometheus metrics for the e2e environment
-
Preetha Appan authored
-
Michael Schurter authored
Test state corruption
-
Michael Schurter authored
-
Michael Schurter authored
The e2e test code is absolutely hideous and leaks processes and files on disk. NomadAgent seems useful, but the clientstate e2e tests are very messy and slow. The last test "Corrupt" is probably the most useful as it explicitly corrupts the state file whereas the other tests attempt to reproduce steps thought to cause corruption in earlier releases of Nomad.
-
Nick Ethier authored
-
Nick Ethier authored
-
- 20 Mar, 2019 13 commits
-
-
Michael Schurter authored
docs: sync systemd unit files; update deploy guide
-
Michael Schurter authored
Point users to security doc instead. Right now it takes a lot of explaining to describe to users exactly how to validate the binary and what the output of the tools used means. For example, this is the output when validating according to the instructions in this guide and the linked doc: ``` vagrant@linux:/tmp$ gpg --verify nomad_0.8.7_SHA256SUMS.sig nomad_0.8.7_SHA256SUMS gpg: Signature made Fri 11 Jan 2019 09:47:56 PM UTC using RSA key ID 348FFC4C gpg: Good signature from "HashiCorp Security <security@hashicorp.com>" gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 91A6 E7F8 5D05 C656 30BE F189 5185 2D87 348F FC4C vagrant@linux:/tmp$ shasum -a 256 -c nomad_0.8.7_SHA256SUMS shasum: ./nomad_0.8.7_darwin_amd64.zip: ./nomad_0.8.7_darwin_amd64.zip: FAILED open or read shasum: ./nomad_0.8.7_linux_386.zip: No such file or directory ./nomad_0.8.7_linux_386.zip: FAILED open or read shasum: ./nomad_0.8.7_linux_amd64-lxc.zip: No such file or directory ./nomad_0.8.7_linux_amd64-lxc.zip: FAILED open or read ./nomad_0.8.7_linux_amd64.zip: OK shasum: ./nomad_0.8.7_linux_arm64.zip: No such file or directory ./nomad_0.8.7_linux_arm64.zip: FAILED open or read shasum: ./nomad_0.8.7_linux_arm.zip: No such file or directory ./nomad_0.8.7_linux_arm.zip: FAILED open or read shasum: ./nomad_0.8.7_windows_386.zip: No such file or directory ./nomad_0.8.7_windows_386.zip: FAILED open or read shasum: ./nomad_0.8.7_windows_amd64.zip: No such file or directory ./nomad_0.8.7_windows_amd64.zip: FAILED open or read shasum: WARNING: 7 listed files could not be read ``` There are only two lines that matter in all of that output: ``` ... gpg: Good signature from "HashiCorp Security <security@hashicorp.com>" ... ./nomad_0.8.7_linux_amd64.zip: OK ... ``` I feel like trying to teach users how to use and interpret these tools in our deployment guide may be as likely to reduce confidence as increase it.
-
Mahmood Ali authored
tls_cipher_suites only accept a comma-separated string, as evident in: https://github.com/hashicorp/nomad/blob/0535dfd414214efd14183bf23d1447f679b57af8/nomad/structs/config/tls.go#L61 https://github.com/hashicorp/nomad/blob/d37ed5c193ac8237666b92bd3f3b0b7e0a8ebfd5/helper/tlsutil/config.go#L405
-
Mahmood Ali authored
-
Mahmood Ali authored
Co-Authored-By:
schmichael <michael.schurter@gmail.com>
-
Michael Schurter authored
docs: add #5381 to changelog
-
Nick Ethier authored
-
Michael Schurter authored
-
Mahmood Ali authored
server: inconsistent receiver notation corrected
-
Mahmood Ali authored
Reverts hashicorp/nomad#5433 Apparently, channel communications can constitute Happens-Before even for proximate variables, so this syncing isn't necessary. > _The closing of a channel happens before a receive that returns a zero value because the channel is closed._ https://golang.org/ref/mem#tmp_7
-
Mahmood Ali authored
Scripts for automating binary building
-
Mahmood Ali authored
To correspond to the Linux scripts in 855761a5
-
Mahmood Ali authored
-
- 19 Mar, 2019 5 commits
-
-
Michael Schurter authored
The systemd configs spread across our repo were fairly out of sync. This should get them on our best practices. The deployment guide also had some strange things like running Nomad as a non-root user. It would be fine for servers but completely breaks clients. For simplicity I simply removed the non-root user references.
-
Nick Ethier authored
executor: block shutdown on process exiting
-
Nick Ethier authored
-
Nick Ethier authored
-
Michael Schurter authored
vagrant: upgrade to Go 1.11.6
-
- 18 Mar, 2019 10 commits
-
-
Michael Schurter authored
-
Nick Ethier authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
executor: synchronize exitState accesses
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-
- 17 Mar, 2019 2 commits
-
-
Mahmood Ali authored
exitState is set in `wait()` goroutine but accessed in a different `Wait()` goroutine, so accesses must be synchronized by a lock.
-
Mahmood Ali authored
Also tease out some dev and docker bits from Vagrant scripts to ease sharing with Docker script
-