* Default to using the auth.curoverse.com SSO server. Add instructions
[arvados.git] / docker / build_tools / config.rb
index 8b9bb73249012a22b069b543a56ca441190e96b2..77c721c61f9ea1cca45302e58bad9c33f9e465de 100755 (executable)
@@ -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