Loading rosetta/populate +1 −1 Original line number Original line Diff line number Diff line Loading @@ -6,4 +6,4 @@ if [ ! -d ./services ]; then exit 1 exit 1 fi fi rosetta/shell webapp "cd /opt/code && source /env.sh && source /db_conf.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py core_app_populate" rosetta/shell webapp "cd /opt/code && source /env.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py core_app_populate" services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py +15 −13 Original line number Original line Diff line number Diff line Loading @@ -272,7 +272,7 @@ to provide help, news and informations on your deployment. Or you can just ignor # Demo standalone computing plus conf # Demo standalone computing plus conf demo_singlenode_computing = Computing.objects.create(name = 'Demo Standalone', demo_standalone_computing = Computing.objects.create(name = 'Demo Standalone', description = 'A demo standalone computing resource.', description = 'A demo standalone computing resource.', type = 'standalone', type = 'standalone', arch = 'amd64', arch = 'amd64', Loading @@ -283,8 +283,12 @@ to provide help, news and informations on your deployment. Or you can just ignor conf = {'host': 'standaloneworker'}, conf = {'host': 'standaloneworker'}, container_engines = ['podman','singularity']) container_engines = ['podman','singularity']) # Add testuser extra conf for this computing resource testuser.profile.add_extra_conf(conf_type = 'computing_user', object=demo_standalone_computing, value= 'testuser') # Demo standalone platform computing plus conf # Demo standalone platform computing plus conf demo_singlenode_computing = Computing.objects.create(name = 'Demo Standalone Platform', demo_standalone_computing_platform = Computing.objects.create(name = 'Demo Standalone Platform', description = 'A demo standalone computing resource access as platform.', description = 'A demo standalone computing resource access as platform.', type = 'standalone', type = 'standalone', arch = 'amd64', arch = 'amd64', Loading @@ -295,8 +299,6 @@ to provide help, news and informations on your deployment. Or you can just ignor conf = {'host': 'standaloneworker', 'user': 'rosetta'}, conf = {'host': 'standaloneworker', 'user': 'rosetta'}, container_engines = ['podman','singularity']) container_engines = ['podman','singularity']) # Add testuser extra conf for this computing resource testuser.profile.add_extra_conf(conf_type = 'computing_user', object=demo_singlenode_computing, value= 'testuser') # Demo cluster computing plus conf # Demo cluster computing plus conf demo_slurm_computing = Computing.objects.create(name = 'Demo Cluster', demo_slurm_computing = Computing.objects.create(name = 'Demo Cluster', Loading Loading
rosetta/populate +1 −1 Original line number Original line Diff line number Diff line Loading @@ -6,4 +6,4 @@ if [ ! -d ./services ]; then exit 1 exit 1 fi fi rosetta/shell webapp "cd /opt/code && source /env.sh && source /db_conf.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py core_app_populate" rosetta/shell webapp "cd /opt/code && source /env.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py core_app_populate"
services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py +15 −13 Original line number Original line Diff line number Diff line Loading @@ -272,7 +272,7 @@ to provide help, news and informations on your deployment. Or you can just ignor # Demo standalone computing plus conf # Demo standalone computing plus conf demo_singlenode_computing = Computing.objects.create(name = 'Demo Standalone', demo_standalone_computing = Computing.objects.create(name = 'Demo Standalone', description = 'A demo standalone computing resource.', description = 'A demo standalone computing resource.', type = 'standalone', type = 'standalone', arch = 'amd64', arch = 'amd64', Loading @@ -283,8 +283,12 @@ to provide help, news and informations on your deployment. Or you can just ignor conf = {'host': 'standaloneworker'}, conf = {'host': 'standaloneworker'}, container_engines = ['podman','singularity']) container_engines = ['podman','singularity']) # Add testuser extra conf for this computing resource testuser.profile.add_extra_conf(conf_type = 'computing_user', object=demo_standalone_computing, value= 'testuser') # Demo standalone platform computing plus conf # Demo standalone platform computing plus conf demo_singlenode_computing = Computing.objects.create(name = 'Demo Standalone Platform', demo_standalone_computing_platform = Computing.objects.create(name = 'Demo Standalone Platform', description = 'A demo standalone computing resource access as platform.', description = 'A demo standalone computing resource access as platform.', type = 'standalone', type = 'standalone', arch = 'amd64', arch = 'amd64', Loading @@ -295,8 +299,6 @@ to provide help, news and informations on your deployment. Or you can just ignor conf = {'host': 'standaloneworker', 'user': 'rosetta'}, conf = {'host': 'standaloneworker', 'user': 'rosetta'}, container_engines = ['podman','singularity']) container_engines = ['podman','singularity']) # Add testuser extra conf for this computing resource testuser.profile.add_extra_conf(conf_type = 'computing_user', object=demo_singlenode_computing, value= 'testuser') # Demo cluster computing plus conf # Demo cluster computing plus conf demo_slurm_computing = Computing.objects.create(name = 'Demo Cluster', demo_slurm_computing = Computing.objects.create(name = 'Demo Cluster', Loading