Commit graph

2497 commits

Author SHA1 Message Date
Alex Dadgar 2218a79815 Add garbage collection to jobs 2015-12-16 15:00:45 -08:00
Alex Dadgar 740df55583 Merge pull request #592 from jorgemarey/fix-doc-dns-search
Fix dns_search_domains option in the documentation.
2015-12-15 18:14:58 -08:00
Diptanu Choudhury fd9ea096fd Updating the version 2015-12-15 17:53:02 -08:00
jorge.marey f2b89d2943 Fix dns_search_domains option in the documentation. 2015-12-15 22:22:58 +01:00
Diptanu Choudhury b7aa25b385 Merge pull request #591 from hashicorp/cgo
Using cgo dependencies to look up users
2015-12-15 11:21:16 -08:00
Diptanu Choudhury f6fb42835e Using cgo dependencies to look up users 2015-12-15 11:12:13 -08:00
Diptanu Choudhury a45f02cd2c Merge pull request #583 from hashicorp/f-consul-service
Making the allocs hold service ids
2015-12-15 11:00:29 -08:00
Diptanu Choudhury 0cc1275782 Added a test to make sure services no longer present are being removed 2015-12-15 10:43:56 -08:00
Diptanu Choudhury ba5561cae0 Making sure existing ids for services are not re-generated 2015-12-15 09:14:32 -08:00
Diptanu Choudhury 7a8acd32e4 Populating service ids only if allocations can be placed for system jobs 2015-12-15 08:38:18 -08:00
Diptanu Choudhury ddaf74fb65 Added a test to prove services are removed from the map in Alloc if they are removed from the Tasks 2015-12-15 08:35:26 -08:00
Diptanu Choudhury c0004d8a2d Merge pull request #588 from ChrisHines/config-sort
Sort config files as documented.
2015-12-14 23:16:29 -08:00
Chris Hines 8483a0dd40 Sort config files as documented. 2015-12-15 02:05:25 -05:00
Diptanu Choudhury b7f556fabc Changed some comments 2015-12-14 18:05:58 -08:00
Alex Dadgar af0e9b1477 Merge pull request #585 from hashicorp/b-config-oboe
Check length 0 (no configs) instead of 1 (some configs)
2015-12-14 17:58:55 -08:00
Chris Bednarski 40d2eb0628 Check length 0 (no configs) instead of 1 (some configs) 2015-12-14 17:46:52 -08:00
Diptanu Choudhury 5090d27adc Fixed the job endpoints test 2015-12-14 17:17:29 -08:00
Diptanu Choudhury 1c76715358 Re-initializing the service map for in place updates 2015-12-14 17:06:58 -08:00
Diptanu Choudhury 2eb03e1d23 Renamed serviceId to serviceID 2015-12-14 15:57:56 -08:00
Diptanu Choudhury 6b6d74e2eb Fixed tests 2015-12-14 15:47:01 -08:00
Diptanu Choudhury 3c4e15264c Fixed the jobspec tests 2015-12-14 15:09:57 -08:00
Diptanu Choudhury 76486d71e2 Making the allocs hold service ids 2015-12-14 15:08:35 -08:00
Diptanu Choudhury e7593cccc2 Merge branch 'master' of github.com:hashicorp/nomad 2015-12-14 15:07:37 -08:00
Diptanu Choudhury c3f1cf0c57 Moving to Consul 0.6 2015-12-14 15:07:24 -08:00
Chris Bednarski 2182988e6d Merge pull request #580 from ChrisHines/windows-agent
Use minimum OS specific path.
2015-12-14 14:47:15 -08:00
Alex Dadgar 5ebc595c0c Merge pull request #582 from ChrisHines/windows-api-tests
Remove clock granularity sensitive test assertion.
2015-12-14 14:26:15 -08:00
Chris Hines 33f4afe05e Remove clock granularity sensitive test assertion.
TestRequestTime already verifies that the request time is properly recorded.
2015-12-14 17:03:08 -05:00
Diptanu Choudhury 6663b5efaf Merge pull request #579 from hashicorp/f-consul-service-prefix
Changing the prefix of the service id
2015-12-14 12:54:46 -08:00
Chris Hines e600f4ef19 Use minimum OS specific path.
This change ensures LoadConfig and LoadConfigDir report consistent paths to files and those paths use the appropriate path separator for the target OS. Note that LoadConfigDir constructs paths with filepath.Join, which calls filepath.Clean, which calls filepath.FromSlash.
2015-12-14 14:59:19 -05:00
Diptanu Choudhury 0c4b76e0ef Changing the prefix of the service 2015-12-14 11:14:22 -08:00
Diptanu Choudhury f596669118 Changing the prefix of the service id 2015-12-14 08:54:34 -08:00
Ivo Verberk acbbaf3e78 Allow lookups based on short identifiers
This change introduces the ability to specify identifiers for jobs,
allocs, evals and nodes on the command line with as little as one
character, provided that it uniquely identifies the resource. An error
with the possible results will be provided when the short identifier
has multiple results.
2015-12-12 18:28:20 +01:00
Diptanu Choudhury c167166ce9 Using Go 1.5.2 2015-12-12 09:08:24 -08:00
Jakub Paweł Głazik fb961939ae Sort output of agent-info 2015-12-12 13:39:16 +01:00
Diptanu Choudhury e59f6ac6dc Bumping up the version in website 2015-12-11 17:06:45 -08:00
Diptanu Choudhury e89dc2c065 Updated the changelog to add the 0.2.2 release date 2015-12-11 15:53:17 -08:00
Diptanu Choudhury b57a0dbfb6 Removing the pre-release marker 2015-12-11 15:48:51 -08:00
Diptanu Choudhury 3c01a4de27 Fixed log printing logic 2015-12-11 15:45:49 -08:00
Chris Bednarski 3084e8cc2b Add lint check for log.Printf usage 2015-12-11 15:20:41 -08:00
Alex Dadgar 43e77fa841 Changelog 2015-12-11 15:09:09 -08:00
Alex Dadgar 624d0fa0aa Merge pull request #570 from hashicorp/b-logger
Remove all calls to the default logger
2015-12-11 15:08:15 -08:00
Alex Dadgar b943c6e278 Remove all calls to the default logger 2015-12-11 15:02:13 -08:00
Chris Bednarski f6d9736f49 Formatting tweaks 2015-12-11 14:41:45 -08:00
Chris Bednarski 67811f206c Added 0.2.1 release date to changelog 2015-12-11 14:40:23 -08:00
Chris Bednarski 9eefc181d0 Formatting 2015-12-11 14:38:45 -08:00
Chris Bednarski 3daa103a9b Merge branch 'master' of https://github.com/hashicorp/nomad 2015-12-11 14:38:26 -08:00
Chris Bednarski 9a54c7944e Updated changelog for 0.2.2 2015-12-11 14:38:21 -08:00
Diptanu Choudhury 804a1e1943 Merge pull request #568 from hashicorp/f-precise-consul-dereg
Don't deregister services and checks which are not managed by Nomad
2015-12-11 14:28:25 -08:00
Diptanu Choudhury f932c5f9df Refactored test and added some comments 2015-12-11 14:14:04 -08:00
Diptanu Choudhury 6665efdc36 Adding the changes to structs 2015-12-11 14:06:51 -08:00