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
01ee71b9
Commit
01ee71b9
authored
Aug 04, 2017
by
Jeremy Bowman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! PLAT-1590 New container for edx-e2e-tests
parent
9b0fb1dd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
40 deletions
+14
-40
docker/build/e2e/Dockerfile
+14
-35
docker/build/e2e/devstack.sh
+0
-5
No files found.
docker/build/e2e/Dockerfile
View file @
01ee71b9
# To build this Dockerfile:
#
# From the root of
configuration
:
# From the root of
the edx-e2e-tests repository
:
#
# docker build -f docker/build/e2e/Dockerfile . -t edxops/e2e:latest
# docker build -f 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/
# Install system libraries needed for lxml
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
\
&&
rm
-rf
/var/lib/apt/lists/
*
/var/cache/apt/
*
ADD
. /edx-e2e-tests
WORKDIR
/edx-e2e-tests
# Set up the virtualenv
# Deletes the edx-platform checkout afterwards, it will be mapped in from the host
RUN
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
&&
rm
-rf
/edx-e2e-tests/lib
CMD
["paver", "e2e_test", "--exclude=whitelabel"]
docker/build/e2e/devstack.sh
deleted
100644 → 0
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