aboutsummaryrefslogtreecommitdiff
path: root/tools/min-env.sh
AgeCommit message (Collapse)AuthorFilesLines
2015-08-07Remove validate-min-env-vars gatingSteven Dake1-69/+0
We don't use config-internal anymore, so remove validate-min-env-vars from being gated upon. This is becuse there is no minimum environment variables required. While we are at it we remove min-env. Partially-Implements: blueprint remove-config-internal Change-Id: Ibe2947b35e4dc1549e82acc66c01153495a91882
2015-07-05Sort variables and remove duplicates for min env docMartin André1-11/+9
The script generating docs/minimal-environment-vars.md now sorts variables alphabetically per service and remove duplicates. Update minimal-environment-vars.md. Change-Id: I30cc674b6e9834f2a6c771bd30539a21af39b228 Closes-Bug: #1470504
2015-07-05Make tools/min-env.sh portableMartin André1-1/+4
We had different issues here. First, sort command used to sort variables and services names is dependent on the local, so fix it to C to have consistent results. C local is available on all systems. Second, awk doesn't recognize \s escape char for space on OSX. This resulted in indented check_required_vars calls being ignored. In fact, all variables checked via indented check_required_vars calls (i.e. in a fuction or conditional block) are actually *optional* variables, so I changed the behavior to ignore those. Change-Id: I6fc4cca9567cb712609d0fe0a20dfe21ed6df151 Closes-Bug: #1470683
2015-06-24Auto generate minimal environment variables docRyan Hallisey1-0/+68
This script will generate the minimal-environment-variables doc based on the what each services has in the check_required_var field. Anytime that field is changed run this script and commit the changes. Since Neutron is a thick container, the script will get a few duplicates in the neutron-agents field. When Neutron is thinned out, this script will function normally. Closes-bug: #1459347 Co-Authored-By: Lon Hohberger <lhh@redhat.com> Change-Id: I1ba6bd5148af12cacfd872591b3c7b84a8dccba2