forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 1
/
stanford.mk
32 lines (26 loc) · 1.25 KB
/
stanford.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
DOCKER_OWNER ?= edxops
DOCKER_OWNER_EDXAPP ?= stvstnfrd
DOCKER_OWNER_FORUM ?= stvstnfrd
OPENEDX_RELEASE=hawthorn.master
export DOCKER_OWNER
export DOCKER_OWNER_EDXAPP
export DOCKER_OWNER_FORUM
export OPENEDX_RELEASE
from_scratch:
make destroy
make requirements
make dev.clone
make pull
make dev.provision
make dev.up
make logs
test:
docker exec -t edx.devstack.lms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && ./scripts/circle-ci-tests.sh'
test-quality:
docker exec -t edx.devstack.lms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && CIRCLE_NODE_TOTAL=4 CIRCLE_NODE_INDEX=0 ./scripts/circle-ci-tests.sh'
test-lms:
docker exec -t edx.devstack.lms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && CIRCLE_NODE_TOTAL=4 CIRCLE_NODE_INDEX=1 ./scripts/circle-ci-tests.sh'
test-cms:
docker exec -t edx.devstack.lms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && CIRCLE_NODE_TOTAL=4 CIRCLE_NODE_INDEX=2 ./scripts/circle-ci-tests.sh'
test-common:
docker exec -t edx.devstack.lms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && CIRCLE_NODE_TOTAL=4 CIRCLE_NODE_INDEX=3 ./scripts/circle-ci-tests.sh'