Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
soctools
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
gn4-3-wp8-t3.1 SOC
soctools
Commits
bfce4f27
Commit
bfce4f27
authored
3 years ago
by
root
Browse files
Options
Downloads
Patches
Plain Diff
integrate user-mgmt-ui as submodule and modify coresponding configs
parent
b83cbe33
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/soctools-server/tasks/main.yml
+4
-4
4 additions, 4 deletions
roles/soctools-server/tasks/main.yml
roles/soctools-server/templates/user-mgmt-ui.service.j2
+1
-1
1 addition, 1 deletion
roles/soctools-server/templates/user-mgmt-ui.service.j2
with
5 additions
and
5 deletions
roles/soctools-server/tasks/main.yml
+
4
−
4
View file @
bfce4f27
...
@@ -22,15 +22,15 @@
...
@@ -22,15 +22,15 @@
name
:
[
"
pexpect==3.3"
]
name
:
[
"
pexpect==3.3"
]
-
name
:
create venv for user-mgmt-ui
-
name
:
create venv for user-mgmt-ui
shell
:
'
python3
-m
venv
user-mgmt-ui
'
shell
:
'
python3
-m
venv
venv
'
args
:
args
:
chdir
:
'
{{playbook_dir}}'
chdir
:
'
{{playbook_dir}}
/user-mgmt-ui
'
warn
:
no
warn
:
no
-
name
:
install venv packages for user-mgmt-ui
-
name
:
install venv packages for user-mgmt-ui
shell
:
'
./
user-mgmt-ui
/bin/python3
-m
pip
install
gunicorn
flask
flask-wtf
email_validator
'
shell
:
'
./
venv
/bin/python3
-m
pip
install
-r
requirements.txt
'
args
:
args
:
chdir
:
'
{{playbook_dir}}'
chdir
:
'
{{playbook_dir}}
/user-mgmt-ui
'
warn
:
no
warn
:
no
-
name
:
create systemd service file for user-mgmt-ui
-
name
:
create systemd service file for user-mgmt-ui
...
...
This diff is collapsed.
Click to expand it.
roles/soctools-server/templates/user-mgmt-ui.service.j2
+
1
−
1
View file @
bfce4f27
...
@@ -5,7 +5,7 @@ After=syslog.target network.target
...
@@ -5,7 +5,7 @@ After=syslog.target network.target
[Service]
[Service]
Type=simple
Type=simple
ExecStart={{playbook_dir}}/user-mgmt-ui/bin/gunicorn --workers=2 --bind 0.0.0.0:8050 main:app
ExecStart={{playbook_dir}}/user-mgmt-ui/
venv/
bin/gunicorn --workers=2 --bind 0.0.0.0:8050 main:app
User=root
User=root
KillMode=process
KillMode=process
WorkingDirectory={{playbook_dir}}/user-mgmt-ui
WorkingDirectory={{playbook_dir}}/user-mgmt-ui
...
...
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