move circleci docker volume workaround outside of Makefile (#4703)

This commit is contained in:
Leo McArdle 2021-03-04 11:57:02 +00:00 коммит произвёл GitHub
Родитель 77a596affc
Коммит c3fcd3a040
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -19,6 +19,11 @@ jobs:
- run:
name: Run mocha tests
command: make test-js-ci
- run:
# copy synonym files to elasticsearch7 container, since circleci doesn't support volume mounts:
# https://circleci.com/docs/2.0/building-docker-images/#mounting-folders
name: Copy synonym files to elasticsearch7
command: docker cp ./kitsune/search/dictionaries/synonyms/. project_elasticsearch7_1:/usr/share/elasticsearch/config/synonyms
- run:
name: Run unit tests
command: make test-ci

Просмотреть файл

@ -127,9 +127,6 @@ build-ci: .docker-build-pull
touch .docker-build-ci
test-ci: .docker-build-ci
# copy synonym files to elasticsearch7 container, since circleci doesn't support volume mounts:
# https://circleci.com/docs/2.0/building-docker-images/#mounting-folders
docker cp ./kitsune/search/dictionaries/synonyms/. project_elasticsearch7_1:/usr/share/elasticsearch/config/synonyms
${DC_CI} run test-image
test-js-ci: .docker-build-ci