sregistry/main/google_build/utils.py
def get_build_template():
    '''get default build template.
    '''
    base = get_installdir()
    name = "%s/main/templates/build/singularity-cloudbuild.json" % base

    if os.path.exists(name):
        bot.debug("Found template %s" %name)
        return read_json(name)

    bot.warning("Template %s not found." % name)
def get_build_template():
    '''get default build template.
    '''
    base = get_installdir()
    name = "%s/main/templates/build/singularity-cloudbuild.json" % base

    if os.path.exists(name):
        bot.debug("Found template %s" %name)
        return read_json(name)

    bot.warning("Template %s not found." % name)
def get_build_template ( ) : base = get_installdir ( ) name = "%s/main/templates/build/singularity-cloudbuild.json" % base if os . path . exists ( name ) : bot . debug ( "Found template %s" % name ) return read_json ( name ) bot . warning ( "Template %s not found." % name )
get default build template.
get default build template .