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.
  1. 12 Sep, 2017 1 commit
    • Alex Dadgar's avatar
      Non-locked accessors to common Node fields · baf5f98b
      Alex Dadgar authored
      This PR removes locking around commonly accessed node attributes that do
      not need to be locked. The locking could cause nodes to TTL as the
      heartbeat code path was acquiring a lock that could be held for an
      excessively long time. An example of this is when Vault is inaccessible,
      since the fingerprint is run with a lock held but the Vault
      fingerprinter makes the API calls with a large timeout.
      
      Fixes https://github.com/hashicorp/nomad/issues/2689
      baf5f98b
  2. 11 Sep, 2017 14 commits
  3. 10 Sep, 2017 7 commits
  4. 09 Sep, 2017 5 commits
    • James Nugent's avatar
    • James Nugent's avatar
      9ec82bc5
    • James Nugent's avatar
      ea50afc4
    • James Nugent's avatar
      build: Rework Vagrant to support multiple OS boxes · f8ff0463
      James Nugent authored
      This commit reworks the Vagrantfile for Nomad in order to support
      straightforward testing on more than one operating system, whilst
      retaining the ability to stand up a test cluster running Ubuntu.
      
      The following changes are made:
      
      - Scripts have been extracted from the Vagrantfile into their own shell
        script files, in order that editors lint them.
      
      - All scripts have been edited to lint with no warnings or errors for
        their respective shells.
      
      - Scripts are named according to the operating system and privilege
        level which they run. We prefer to run a whole shell script as root
        versus prefixing (essentially) every command with `sudo` or an
        equivalent.
      
      - The Linux development box has been separated from the test cluster,
        removing some of the more gnarly (and less portable) logic. The Linux
        development box is still primary and autostarts.
      
      - A FreeBSD target has been added. The base box works for both
        Virtualbox and VMWare Fusion.
      
      - A target is added to the GNUmakefile to stand up a test cluster, using
        the default provider, or overriding the provider by setting the PROVIDER
        variable in make:
      	- `make testcluster`
      	- `make testcluster PROVIDER=vmware_fusion`
      
      - Machines in the test cluster have Avahi configured for zeroconf
        discovery. Each machine can ping each other machine at `hostname.local`
        - for example `nomad-server02.local`, `nomad-client03.local`.
      f8ff0463
    • Michael Schurter's avatar
      Add links and improve verify_https_client callout · 67dc1a8f
      Michael Schurter authored
      The old wording made it sound like verify_https_client=true broke *all*
      https health checks.
      67dc1a8f
  5. 08 Sep, 2017 12 commits
  6. 07 Sep, 2017 1 commit