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
e1deef9e
Commit
e1deef9e
authored
1 year ago
by
Stefano Alberto Russo
Browse files
Options
Downloads
Patches
Plain Diff
Fixed duplicate personal storage for the demo standalone computing resource in the populate script.
parent
ee9915b9
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py
+2
-24
2 additions, 24 deletions
...rosetta/core_app/management/commands/core_app_populate.py
with
2 additions
and
24 deletions
services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py
+
2
−
24
View file @
e1deef9e
...
...
@@ -288,8 +288,8 @@ to provide help, news and informations on your deployment. Or you can just ignor
# Demo standalone platform computing plus conf
demo_standalone_computing_platform
=
Computing
.
objects
.
create
(
name
=
'
Demo Standalone
P
latform
'
,
description
=
'
A demo standalone computing resource access as platform.
'
,
demo_standalone_computing_platform
=
Computing
.
objects
.
create
(
name
=
'
Demo Standalone
(as p
latform
user)
'
,
description
=
'
A demo standalone computing resource access
ed
as platform
user
.
'
,
type
=
'
standalone
'
,
arch
=
'
amd64
'
,
supported_archs
=
[
'
386
'
],
...
...
@@ -359,25 +359,3 @@ to provide help, news and informations on your deployment. Or you can just ignor
base_path
=
'
/shared/data/users/$SSH_USER
'
,
bind_path
=
'
/storages/personal
'
)
try
:
demo_standalone_computing
=
Computing
.
objects
.
get
(
name
=
'
Demo Standalone Platform
'
)
demo_computing_resources
.
append
(
demo_standalone_computing
)
# Demo personal storage
Storage
.
objects
.
create
(
computing
=
computing
,
access_through_computing
=
True
,
name
=
'
Personal
'
,
type
=
'
generic_posix
'
,
access_mode
=
'
ssh+cli
'
,
auth_mode
=
'
user_keys
'
,
base_path
=
'
/shared/data/users/$SSH_USER
'
,
bind_path
=
'
/storages/personal
'
)
except
:
pass
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