X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4aea5131a87f375285210d9ccde2470cfeac5876..3862ce78fd0541199053efb9c25ea2d6e09223f7:/docker/build_tools/config.rb diff --git a/docker/build_tools/config.rb b/docker/build_tools/config.rb index 8b9bb73249..77c721c61f 100755 --- a/docker/build_tools/config.rb +++ b/docker/build_tools/config.rb @@ -18,7 +18,7 @@ config = YAML.load_file('config.yml') # doesn't change if config.yml doesn't change. Otherwise, keys won't # match any more if (say) keep's files get regenerated but apiserver's # don't. -config.each_key do |var| +config.sort.map do |var,val| if (var.end_with?('_PW') || var.end_with?('_SECRET')) && (config[var].nil? || config[var].empty?) config[var] = Digest::SHA1.hexdigest(`hostname` + var + config.to_yaml) end