Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Switch to Ansible-Free Docker Image of cs_comments_service(forums) #1205

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions provision-forum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
set -eu -o pipefail
set -x

docker compose up -d forum
docker compose exec -T forum bash -e -c 'source /edx/app/forum/ruby_env && source /edx/app/forum/devstack_forum_env && cd /edx/app/forum/cs_comments_service && bundle install --deployment --path /edx/app/forum/.gem/ && bin/rake search:initialize'
name=forum

docker compose up -d ${name}
docker compose exec -T ${name} bash -e -c 'cd /edx/app/forum/cs_comments_service && make initialize_search' -- "$name"
Loading