Alex Dadgar
a9e3a41407
Enable more linters
2017-09-26 15:26:33 -07:00
Karel Malec
bafe9276ec
Pass task group name as NOMAD_GROUP_NAME environment variable
2017-07-21 01:22:54 +02:00
Alex Dadgar
beb01f1754
test fixes
2017-07-07 14:11:27 -07:00
Michael Schurter
5d7fba4f54
Remove DRIVER env vars
...
Also make NOMAD_ADDR_* use host ip:port for consistency. NOMAD_PORT_*
varies based on port map and the driver IP isn't exposed as an env var
as the only place it can be used is in script checks anyway.
2017-06-21 17:19:08 -07:00
Michael Schurter
cda2db2381
Skip DRIVER env vars for labels without a port mapping
2017-06-21 17:19:08 -07:00
Michael Schurter
d7eccc1288
Add env testing
2017-05-23 16:46:29 -07:00
Michael Schurter
3743d34203
Fix env var interpolation and env tests
2017-05-23 13:53:34 -07:00
Robert Neumayer
46dcbc5c5e
Fix typo and be consistent in naming
2017-03-29 09:33:54 +02:00
Michael Schurter
1ead3cae6e
Make test more accurate and add changelog entry
2017-03-28 10:53:26 -07:00
Michael Schurter
24d27fce83
Don't take a reference a var in a loop
...
Fixes #2491
2017-03-28 10:16:27 -07:00
Michael Schurter
cae20ba1d1
Add NOMAD_{IP,PORT}_<task>_<label> env vars
2017-03-10 12:17:43 -08:00
Michael Schurter
a9e3f2cf3e
Replace "-" in env var keys with "_"
...
Fixes #2405
2017-03-06 19:57:44 -08:00
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
Alex Dadgar
eaa57878d9
Vendor + test fixes
2017-02-22 15:55:33 -08:00
Alex Dadgar
938b04e99a
Fix fsm/env test
2017-01-24 09:36:22 -08:00
Diptanu Choudhury
d1bef523a9
Setting the Addrs of sibling tasks in the env
2017-01-20 14:15:53 -08:00
Alex Dadgar
cb10b277eb
Use new combined meta data function in env
2016-12-16 10:45:09 -08:00
Alex Dadgar
bec6adb2ee
Vault token threaded
2016-09-14 13:30:01 -07:00
Diptanu Choudhury
0769e41982
Fixed the client tests
2016-07-08 17:49:58 -07:00
Alex Dadgar
636c3fc82f
Add IP and PORT environment variables
2016-04-15 11:01:32 -07:00
Alex Dadgar
9643d63c6e
add test for precedence
2016-03-25 10:16:04 -07:00
Alex Dadgar
4f923f14b9
Pass environment variables from host to exec based tasks
2016-03-23 13:01:45 -07:00
Alex Dadgar
0c46a0ec1d
Fix tests
2016-02-04 17:27:58 -08:00
Ivo Verberk
b9de8704ee
Rename IPPort env variable and add a mapped host port to the env.
2016-01-25 20:46:01 +01:00
Ivo Verberk
f71db5e645
Pass a combination of ip and port to the task environment.
...
The different labels can be on different IPs.
2016-01-24 10:31:03 +01:00
Alex Dadgar
8cc513d16c
Add folder
2016-01-11 09:58:31 -08:00