Add initial Docker files
This commit is contained in:
Родитель
70c4b0e658
Коммит
1c5a916df3
20
.travis.yml
20
.travis.yml
|
@ -23,22 +23,22 @@ branches:
|
|||
- btelnes
|
||||
|
||||
before_install:
|
||||
- sudo apt-get -y update -qq
|
||||
- docker-compose up --build -d
|
||||
#- sudo apt-get -y update -qq
|
||||
#- pip install ansible
|
||||
#- pip install datadog
|
||||
#- sudo -H apt-get install python-pymongo
|
||||
|
||||
# command to install dependencies
|
||||
install:
|
||||
- git clone -b oxa/master.fic https://github.com/Microsoft/edx-configuration.git /var/tmp/configuration
|
||||
- cd /var/tmp/configuration
|
||||
- sudo -H pip install -r pre-requirements.txt
|
||||
- sudo -H pip install -r requirements.txt
|
||||
#- sudo -H pip uninstall -y pymongo
|
||||
#- sudo -H apt-get install python-pymongo
|
||||
- sudo pip install setuptools --upgrade
|
||||
#- git clone -b oxa/master.fic https://github.com/Microsoft/edx-configuration.git /var/tmp/configuration
|
||||
#- cd /var/tmp/configuration
|
||||
#- sudo -H pip install -r pre-requirements.txt
|
||||
#- sudo -H pip install -r requirements.txt
|
||||
#- sudo pip install setuptools --upgrade
|
||||
#- cd /var/tmp/configuration/playbooks && sudo ansible-playbook -c local ./vagrant-devstack.yml -i "localhost," -vvv
|
||||
|
||||
#- cd /var/tmp/configuration/playbooks && sudo ansible-playbook -c local ./edx_sandbox.yml -i "localhost," -vvv --extra-vars "OPENEDX_RELEASE=open-release/ficus.1,ansible_distribution='Ubuntu',ansible_distribution_release='xenial'"
|
||||
- cd /var/tmp/configuration/playbooks && sudo ansible-playbook -c local ./vagrant-devstack.yml -i "localhost," -vvv
|
||||
|
||||
#- git clone -b oxa/master.fic https://github.com/Microsoft/edx-platform.git edx/app/edxapp/edx-platform
|
||||
#- git clone -b oxa/master.fic https://github.com/Microsoft/edx-configuration.git edx/app/edx_ansible/edx_ansible
|
||||
|
@ -92,6 +92,6 @@ install:
|
|||
|
||||
|
||||
# command to run tests
|
||||
script: ./scripts/travis-tests.sh
|
||||
#script: ./scripts/travis-tests.sh
|
||||
|
||||
dist: trusty
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
FROM edxops/edxapp:latest
|
||||
WORKDIR /edx/app/edxapp/edx-platform
|
||||
ADD scripts/travis-install.sh /edx/app/edxapp/edx-platform/scripts
|
||||
ADD scripts/travis-test.sh /edx/app/edxapp/edx-platform/scripts
|
||||
RUN git status
|
||||
RUN . /edx/app/edxapp/edxapp_env
|
||||
RUN /edx/app/edxapp/edx-platform/scripts/travis-install.sh
|
||||
RUN lsb_release -a
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
|
Загрузка…
Ссылка в новой задаче