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
OpenEdx
configuration
Commits
9b0fb1dd
Commit
9b0fb1dd
authored
Jul 27, 2017
by
Jeremy Bowman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PLAT-1590 New container for edx-e2e-tests
parent
6a3342cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
docker/build/e2e/Dockerfile
+47
-0
docker/build/e2e/devstack.sh
+5
-0
No files found.
docker/build/e2e/Dockerfile
0 → 100644
View file @
9b0fb1dd
# To build this Dockerfile:
#
# From the root of configuration:
#
# docker build -f docker/build/e2e/Dockerfile . -t edxops/e2e:latest
FROM
edxops/python:2.7
MAINTAINER
edxops
USER
root
CMD
bash -c 'while true; do sleep 60; done'
ENV
ACCESS_TOKEN="" \
BASIC_AUTH_USER="" \
BASIC_AUTH_PASSWORD="" \
CONFIG_ROOT="/edx/app/e2e" \
USER_LOGIN_EMAIL="staff@example.com" \
USER_LOGIN_PASSWORD="edx" \
COURSE_ORG="edX" \
COURSE_NUMBER="E2E-101" \
COURSE_RUN="course" \
COURSE_DISPLAY_NAME="Manual Smoke Test Course 1 - Auto" \
EDXAPP_CMS_DOC_LINK_BASE_URL="http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course" \
GLOBAL_PASSWORD="" \
LMS_BASE_URL="edx.devstack.lms:18000" \
LMS_PROTOCOL="http" \
SELENIUM_BROWSER="chrome" \
SELENIUM_HOST="edx.devstack.chrome" \
SELENIUM_PORT="4444" \
STAFF_USER_EMAIL="" \
STUDIO_BASE_URL="edx.devstack.studio:18010" \
STUDIO_PROTOCOL="http" \
VIRTUAL_ENV="/edx/app/e2e/venvs/e2e"
COPY
docker/build/e2e/devstack.sh /edx/app/e2e/
RUN
apt-get update
-qqy
\
&&
apt-get
-qqy
install
\
libxml2-dev
\
libxslt1-dev
\
&&
rm
-rf
/var/lib/apt/lists/
*
/var/cache/apt/
*
\
&&
git clone https://github.com/edx/edx-e2e-tests.git
${
CONFIG_ROOT
}
/edx-e2e-tests
\
&&
cd
${
CONFIG_ROOT
}
/edx-e2e-tests
\
&&
pip install
-r
requirements/base.txt
\
&&
paver install_pages
\
&&
rm
-rf
/edx/app/e2e/edx-e2e-tests/
\
&&
chmod u+x /edx/app/e2e/devstack.sh
docker/build/e2e/devstack.sh
0 → 100644
View file @
9b0fb1dd
#!/usr/bin/env bash
cd
/edx/app/e2e/edx-e2e-tests
/bin/bash
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