Upgrade to juniper
This commit is contained in:
parent
62b2407457
commit
fd5b8b082a
2
setup.py
2
setup.py
@ -32,7 +32,7 @@ setup(
|
|||||||
packages=find_packages(exclude=["tests*"]),
|
packages=find_packages(exclude=["tests*"]),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
python_requires=">=3.5",
|
python_requires=">=3.5",
|
||||||
install_requires=["tutor-openedx", "requests"],
|
install_requires=["tutor-openedx>=10.0.0,<11.0.0", "requests"],
|
||||||
entry_points={"tutor.plugin.v0": ["xqueue = tutorxqueue.plugin"]},
|
entry_points={"tutor.plugin.v0": ["xqueue = tutorxqueue.plugin"]},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 3 - Alpha",
|
"Development Status :: 3 - Alpha",
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
__version__ = "0.2.3"
|
__version__ = "10.0.0"
|
||||||
|
|||||||
@ -20,6 +20,10 @@ DATABASES = {
|
|||||||
|
|
||||||
LOGGING = get_logger_config(log_dir="/openedx/data/", logging_env="tutor", dev_env=True)
|
LOGGING = get_logger_config(log_dir="/openedx/data/", logging_env="tutor", dev_env=True)
|
||||||
LOGGING["loggers"][""]["handlers"].append("console")
|
LOGGING["loggers"][""]["handlers"].append("console")
|
||||||
|
LOGGING["loggers"]["submission_queue.management.commands.run_consumer"] = {
|
||||||
|
"level": "WARN",
|
||||||
|
"handlers": ["console"]
|
||||||
|
}
|
||||||
|
|
||||||
SECRET_KEY = "{{ XQUEUE_SECRET_KEY }}"
|
SECRET_KEY = "{{ XQUEUE_SECRET_KEY }}"
|
||||||
|
|
||||||
|
|||||||
@ -1,12 +1,14 @@
|
|||||||
FROM docker.io/ubuntu:18.04
|
FROM docker.io/ubuntu:20.04
|
||||||
MAINTAINER Overhang.io <contact@overhang.io>
|
MAINTAINER Overhang.io <contact@overhang.io>
|
||||||
|
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt upgrade -y && \
|
apt upgrade -y && \
|
||||||
apt install -y language-pack-en git python-pip libmysqlclient-dev
|
apt install -y language-pack-en git python3 python3-pip libmysqlclient-dev
|
||||||
|
RUN ln -s /usr/bin/python3 /usr/bin/python \
|
||||||
|
&& ln -s /usr/bin/pip3 /usr/bin/pip
|
||||||
|
|
||||||
RUN mkdir /openedx /openedx/data
|
RUN mkdir /openedx /openedx/data
|
||||||
RUN git clone https://github.com/edx/xqueue --branch open-release/ironwood.2 --depth 1 /openedx/xqueue
|
RUN git clone https://github.com/edx/xqueue --branch open-release/juniper.1 --depth 1 /openedx/xqueue
|
||||||
WORKDIR /openedx/xqueue
|
WORKDIR /openedx/xqueue
|
||||||
|
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user