Commit Graph

38 Commits

Author SHA1 Message Date
Alex Dadgar
07f7e19578 Fix vet script and fix vet problems
This PR fixes our vet script and fixes all the missed vet changes.

It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Diptanu Choudhury
f551dcb83e Making the job spec return api.Job 2017-02-16 13:52:39 -08:00
Sean Chittenden
31333eecae Add better verification of a host's HostID. 2017-02-02 16:24:32 -08:00
Diptanu Choudhury
6d669fb48e Moved functions to helper from structs 2017-01-18 15:55:14 -08:00
Michael Schurter
4a3243aaf5 Add docs for generating example certificates 2016-11-15 17:22:54 -08:00
Michael Schurter
c9397c75a8 Fix tlsutil tests 2016-11-10 12:18:13 -08:00
Alex Dadgar
818196e4a1 get tlsutil tests to compile - need to regenerate the certificates 2016-11-09 14:41:08 -08:00
Michael Schurter
1ce766408b Remove incorrectly committed line and wrong comment 2016-11-01 15:57:21 -07:00
Michael Schurter
cd9fbfa0c7 Remove ServerName because we verify based on region 2016-11-01 14:17:31 -07:00
Diptanu Choudhury
7ee2a1515b Making Nomad TLS configs region aware 2016-11-01 11:55:29 -07:00
Diptanu Choudhury
f416ac7419 Moved tlsutil into helpers 2016-10-25 16:05:37 -07:00
Alex Dadgar
9ff2bf0bff Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
Alex Dadgar
d87d988491 Floor CPU MHz and total compute and mark hostname as unique 2016-06-22 15:01:36 -07:00
Sean Chittenden
e26606acfd Memoize the CPU stats. Error if CPU fingerprinting fails. 2016-06-17 12:13:53 -07:00
Diptanu Choudhury
d1fdd27f86 Moving the clkspeed code to helper 2016-06-11 17:31:49 +02:00
Diptanu Choudhury
17a0e30068 Checking in the stats helper package 2016-06-10 23:46:33 +02:00
Sean Chittenden
29be52f762 Speling police 2016-05-15 09:41:34 -07:00
Alex Dadgar
fefc55906e Job diff using generic structures 2016-05-10 22:23:34 -07:00
Ivo Verberk
3fa40ea6c7 Add comments and fix a typo 2016-04-11 23:09:09 +02:00
Ivo Verberk
92bf6f1ad0 Add helper to validate raw configuration data 2016-04-10 00:42:43 +02:00
Diptanu Choudhury
cf1aba56a8 Interpolating service tags 2016-03-28 15:02:00 -07:00
Aleksejs Sinicins
2f10e75b57 Allow dashes in var names 2016-02-27 18:42:33 +02:00
Alex Dadgar
8b55fd6b70 Only interpret vars wrapped in braces 2016-02-04 17:26:46 -08:00
Alex Dadgar
e91abac0f6 Fix a bunch of tests
Up timeouts

trusty travis beta

Increase timeouts
2016-01-20 16:03:53 -08:00
Alex Dadgar
b8a42786f3 merge 2016-01-11 09:58:26 -08:00
Diptanu Choudhury
06443a6629 Using cgo dependencies to look up users 2015-12-15 11:12:13 -08:00
Chris Bednarski
ea2499251d Added build flag to user-lookup so it does not build on windows 2015-12-01 14:28:12 -08:00
Chris Bednarski
8267ffe8a6 Merge branch 'user-lookup-nocgo' of https://github.com/carlosdp/nomad into b-user-lookup 2015-12-01 13:44:56 -08:00
Carlos Diaz-Padron
eeaa84d52e Refactor out userLookup to helper package
Also replaces user.Lookup in exec driver
2015-12-01 11:59:55 -08:00
Diptanu Choudhury
0c499f78b3 Moving the args to helper 2015-11-26 14:13:19 -08:00
Chris Hines
d707adc3ed Use package testtask and httptest.Server to make client/driver tests OS independent. 2015-11-25 15:56:20 -05:00
Chris Hines
fd4ec821f9 Factor portable test task out of client/driver/executor. 2015-11-24 20:59:42 -05:00
Alex Dadgar
2291ea9060 Search path 2015-11-03 13:26:09 -08:00
Alex Dadgar
3576f48993 Create Spawn pkg that handles IPC with the spawn-daemon and update exec_linux to use that 2015-11-02 20:28:37 -08:00
Ivo Verberk
f9be8ede8f Fix vet warnings 2015-10-07 12:26:58 +02:00
Alex Dadgar
ca85df87d9 Correctly scan the CWD for the nomad executable 2015-09-30 14:30:09 -07:00
Alex Dadgar
5ac6c3b73d Linux executor with cgroup isolation support 2015-09-21 09:08:57 -07:00
Armon Dadgar
58680a1955 agent: moving functions into helpers 2015-08-23 16:57:54 -07:00