File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ XQUEUE_MYSQL_HOST: "edx.devstack.mysql57"
55XQUEUE_SETTINGS : " devstack"
66xqueue_gunicorn_port : 18040
77xqueue_gunicorn_host : 0.0.0.0
8+ xqueue_image_building : true
89devstack : true
Original file line number Diff line number Diff line change @@ -207,3 +207,5 @@ xqueue_release_specific_debian_pkgs:
207207xqueue_use_python3 : false
208208# flag to run xqueue on python3.11
209209xqueue_use_python311 : true
210+ # flag for docker builds
211+ xqueue_image_building : false
Original file line number Diff line number Diff line change 1717 - install
1818 - install:system-requirements
1919
20+ # following task is only needed for docker builds
21+ - name : install pip for python3.11 for docker image
22+ shell : |
23+ curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11
24+ when : xqueue_use_python311 and xqueue_image_building
25+ tags :
26+ - install
27+ - install:system-requirements
28+
29+ # following task is only needed for docker builds
30+ - name : install virtualenv for docker image
31+ shell : |
32+ python3.11 -m pip install virtualenv
33+ when : xqueue_use_python311 and xqueue_image_building
34+ tags :
35+ - install
36+ - install:system-requirements
37+
2038- name : install python3
2139 apt :
2240 name : " {{ item }}"
You can’t perform that action at this time.
0 commit comments