[Compass-ci] [PATCH compass-ci] container/defconfig.rb: split functions