Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
5e89a870
Commit
5e89a870
authored
Dec 18, 2017
by
John Eskew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sqlite fix role to jenkins worker as dependency.
parent
7006c49e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
25 deletions
+2
-25
playbooks/roles/devstack_sqlite_fix/tasks/main.yml
+0
-25
playbooks/roles/jenkins_worker/meta/main.yml
+2
-0
No files found.
playbooks/roles/devstack_sqlite_fix/tasks/main.yml
View file @
5e89a870
...
...
@@ -4,11 +4,6 @@
path
:
"
{{
SQLITE_FIX_TMP_DIR
}}"
state
:
directory
mode
:
0775
when
:
devstack is defined and devstack
tags
:
-
devstack
-
devstack:install
# Tasks to download and upgrade pysqlite to prevent segfaults when testing in devstack
-
name
:
Download and unzip sqlite autoconf update
...
...
@@ -16,45 +11,25 @@
src
:
"
{{
SQLITE_AUTOCONF_URL
}}"
dest
:
"
{{
SQLITE_FIX_TMP_DIR
}}"
remote_src
:
yes
when
:
devstack is defined and devstack
tags
:
-
devstack
-
devstack:install
-
name
:
Download and unzip pysqlite update
unarchive
:
src
:
"
{{
PYSQLITE_URL
}}"
dest
:
"
{{
SQLITE_FIX_TMP_DIR
}}"
remote_src
:
yes
when
:
devstack is defined and devstack
tags
:
-
devstack
-
devstack:install
# Copy module doesn't support recursive dir copies for remote_src: yes
-
name
:
Copy pysqlite autoconf into pyslite update dir
command
:
"
cp
-av
.
{{
PYSQLITE_TMP_PATH
}}/"
args
:
chdir
:
"
{{
SQLITE_TMP_PATH
}}"
when
:
devstack is defined and devstack
tags
:
-
devstack
-
devstack:install
-
name
:
Build and install pysqlite update
command
:
"
python
setup.py
build_static
install"
args
:
chdir
:
"
{{
PYSQLITE_TMP_PATH
}}"
when
:
devstack is defined and devstack
tags
:
-
devstack
-
devstack:install
-
name
:
Clean up pysqlite install artifacts
file
:
state
:
absent
path
:
"
{{
SQLITE_FIX_TMP_DIR
}}/"
when
:
devstack is defined and devstack
tags
:
-
devstack
-
devstack:install
playbooks/roles/jenkins_worker/meta/main.yml
View file @
5e89a870
...
...
@@ -8,6 +8,8 @@ dependencies:
# dependencies for edx-app jenkins worker:
-
role
:
edxapp_common
when
:
platform_worker is defined
-
role
:
devstack_sqlite_fix
when
:
platform_worker is defined
# dependencies for android worker
-
role
:
android_sdk
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment