Commit 5e89a870 by John Eskew

Add sqlite fix role to jenkins worker as dependency.

parent 7006c49e
...@@ -4,11 +4,6 @@ ...@@ -4,11 +4,6 @@
path: "{{ SQLITE_FIX_TMP_DIR }}" path: "{{ SQLITE_FIX_TMP_DIR }}"
state: directory state: directory
mode: 0775 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 # Tasks to download and upgrade pysqlite to prevent segfaults when testing in devstack
- name: Download and unzip sqlite autoconf update - name: Download and unzip sqlite autoconf update
...@@ -16,45 +11,25 @@ ...@@ -16,45 +11,25 @@
src: "{{ SQLITE_AUTOCONF_URL }}" src: "{{ SQLITE_AUTOCONF_URL }}"
dest: "{{ SQLITE_FIX_TMP_DIR }}" dest: "{{ SQLITE_FIX_TMP_DIR }}"
remote_src: yes remote_src: yes
when: devstack is defined and devstack
tags:
- devstack
- devstack:install
- name: Download and unzip pysqlite update - name: Download and unzip pysqlite update
unarchive: unarchive:
src: "{{ PYSQLITE_URL }}" src: "{{ PYSQLITE_URL }}"
dest: "{{ SQLITE_FIX_TMP_DIR }}" dest: "{{ SQLITE_FIX_TMP_DIR }}"
remote_src: yes 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 # Copy module doesn't support recursive dir copies for remote_src: yes
- name: Copy pysqlite autoconf into pyslite update dir - name: Copy pysqlite autoconf into pyslite update dir
command: "cp -av . {{ PYSQLITE_TMP_PATH }}/" command: "cp -av . {{ PYSQLITE_TMP_PATH }}/"
args: args:
chdir: "{{ SQLITE_TMP_PATH }}" chdir: "{{ SQLITE_TMP_PATH }}"
when: devstack is defined and devstack
tags:
- devstack
- devstack:install
- name: Build and install pysqlite update - name: Build and install pysqlite update
command: "python setup.py build_static install" command: "python setup.py build_static install"
args: args:
chdir: "{{ PYSQLITE_TMP_PATH }}" chdir: "{{ PYSQLITE_TMP_PATH }}"
when: devstack is defined and devstack
tags:
- devstack
- devstack:install
- name: Clean up pysqlite install artifacts - name: Clean up pysqlite install artifacts
file: file:
state: absent state: absent
path: "{{ SQLITE_FIX_TMP_DIR }}/" path: "{{ SQLITE_FIX_TMP_DIR }}/"
when: devstack is defined and devstack
tags:
- devstack
- devstack:install
...@@ -8,6 +8,8 @@ dependencies: ...@@ -8,6 +8,8 @@ dependencies:
# dependencies for edx-app jenkins worker: # dependencies for edx-app jenkins worker:
- role: edxapp_common - role: edxapp_common
when: platform_worker is defined when: platform_worker is defined
- role: devstack_sqlite_fix
when: platform_worker is defined
# dependencies for android worker # dependencies for android worker
- role: android_sdk - role: android_sdk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment