Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rosetta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ExaCT
Rosetta
Commits
8cc3b9e6
Commit
8cc3b9e6
authored
2 years ago
by
Stefano Alberto Russo
Browse files
Options
Downloads
Patches
Plain Diff
Bugfixes in the populate.
parent
af8f51e7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
rosetta/populate
+1
-1
1 addition, 1 deletion
rosetta/populate
services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py
+15
-13
15 additions, 13 deletions
...rosetta/core_app/management/commands/core_app_populate.py
with
16 additions
and
14 deletions
rosetta/populate
+
1
−
1
View file @
8cc3b9e6
...
...
@@ -6,4 +6,4 @@ if [ ! -d ./services ]; then
exit
1
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"
This diff is collapsed.
Click to expand it.
services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py
+
15
−
13
View file @
8cc3b9e6
...
...
@@ -272,7 +272,7 @@ to provide help, news and informations on your deployment. Or you can just ignor
# Demo standalone computing plus conf
demo_s
inglenod
e_computing
=
Computing
.
objects
.
create
(
name
=
'
Demo Standalone
'
,
demo_s
tandalon
e_computing
=
Computing
.
objects
.
create
(
name
=
'
Demo Standalone
'
,
description
=
'
A demo standalone computing resource.
'
,
type
=
'
standalone
'
,
arch
=
'
amd64
'
,
...
...
@@ -283,8 +283,12 @@ to provide help, news and informations on your deployment. Or you can just ignor
conf
=
{
'
host
'
:
'
standaloneworker
'
},
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_s
inglenod
e_computing
=
Computing
.
objects
.
create
(
name
=
'
Demo Standalone Platform
'
,
demo_s
tandalon
e_computing
_platform
=
Computing
.
objects
.
create
(
name
=
'
Demo Standalone Platform
'
,
description
=
'
A demo standalone computing resource access as platform.
'
,
type
=
'
standalone
'
,
arch
=
'
amd64
'
,
...
...
@@ -295,8 +299,6 @@ to provide help, news and informations on your deployment. Or you can just ignor
conf
=
{
'
host
'
:
'
standaloneworker
'
,
'
user
'
:
'
rosetta
'
},
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_slurm_computing
=
Computing
.
objects
.
create
(
name
=
'
Demo Cluster
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment