Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webservices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
infra
ansible-shared
webservices
Commits
d0665470
Commit
d0665470
authored
4 years ago
by
Hinrikus Wolf
Browse files
Options
Downloads
Plain Diff
Merge branch 'pretix-tmpexec' into 'master'
Remount /tmp exec for pretix pip installation See merge request
!17
parents
033d86e7
09591109
Branches
Branches containing commit
No related tags found
1 merge request
!17
Remount /tmp exec for pretix pip installation
Pipeline
#2965
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
uwsgi-python/tasks/app.yml
+8
-0
8 additions, 0 deletions
uwsgi-python/tasks/app.yml
uwsgi-python/vars/pretix.yml
+1
-0
1 addition, 0 deletions
uwsgi-python/vars/pretix.yml
with
9 additions
and
0 deletions
uwsgi-python/tasks/app.yml
+
8
−
0
View file @
d0665470
...
@@ -202,6 +202,10 @@
...
@@ -202,6 +202,10 @@
-
"
{{
app.app
}}"
-
"
{{
app.app
}}"
-
"
{{
app.instance
}}"
-
"
{{
app.instance
}}"
-
name
:
remount /tmp exec
# noqa 303 503
command
:
mount -o rw,remount,exec /tmp
when
:
app_exectmp|default(false)
-
name
:
ensure we have a virtualenv
# noqa 403
-
name
:
ensure we have a virtualenv
# noqa 403
pip
:
pip
:
requirements
:
"
{{
app_path
}}/{{
app_requirements_file
}}"
requirements
:
"
{{
app_path
}}/{{
app_requirements_file
}}"
...
@@ -238,6 +242,10 @@
...
@@ -238,6 +242,10 @@
-
"
{{
app.app
}}"
-
"
{{
app.app
}}"
-
"
{{
app.instance
}}"
-
"
{{
app.instance
}}"
-
name
:
remount /tmp exec
# noqa 303 503
command
:
mount -o rw,remount,noexec /tmp
when
:
app_exectmp|default(false)
-
name
:
Create bundler directories with user permissions
-
name
:
Create bundler directories with user permissions
file
:
file
:
path
:
"
{{
item
}}"
path
:
"
{{
item
}}"
...
...
This diff is collapsed.
Click to expand it.
uwsgi-python/vars/pretix.yml
+
1
−
0
View file @
d0665470
...
@@ -42,6 +42,7 @@ app_git_version: 'stable' # release/2.4.x
...
@@ -42,6 +42,7 @@ app_git_version: 'stable' # release/2.4.x
app_git_pip
:
true
app_git_pip
:
true
app_git_pip_query
:
'
#egg=pretix&subdirectory=src'
app_git_pip_query
:
'
#egg=pretix&subdirectory=src'
app_requirements_file
:
'
'
app_requirements_file
:
'
'
app_exectmp
:
true
app_config_file
:
'
pretix.cfg'
app_config_file
:
'
pretix.cfg'
app_secret_config
:
false
app_secret_config
:
false
...
...
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