Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Conversation

NikolayS
Copy link
Collaborator

@NikolayS NikolayS commented Jun 27, 2018

Чтобы запускать тесты на CircleCI, мы поручаем CircleCI запускать наш nancy-контейнер, а nancy_run.sh передаём его ID (хэш)

Тесты почти заработали, осталась проблема проброса файлов в контейнер.

Попутно переформатирован код и сделано много небольших правок.

+ README.md с базовой информацией.

@NikolayS NikolayS changed the title [WIP] Allow running "full" tests on CircleCI "Full" / local tests in CirlceCI + a lot of improvements Jun 29, 2018
@NikolayS NikolayS requested a review from dmius June 29, 2018 10:50
nancy_run.sh Outdated

[ ! -z ${WORKLOAD_BASIS_PATH+x} ] && ! checkPath WORKLOAD_BASIS_PATH && >&2 echo "WARNING: file $WORKLOAD_BASIS_PATH given by workload_basis_path not found"
echo "WORKLOAD_FULL_PATH: $WORKLOAD_FULL_PATH"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Отладочный вывод?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ага, но это твоё, я лишь сократил текст

nancy_run.sh Outdated
if [ ! -z ${WORKLOAD_CUSTOM_SQL+x} ]; then
checkPath WORKLOAD_CUSTOM_SQL
if [ "$?" -ne "0" ]; then
#>&2 echo "WARNING: Value given as workload-custom-sql: '$WORKLOAD_CUSTOM_SQL' not found as file will use as content"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это выводить для отлдки не помешает наверно, то есть при наличии --debug, но это на будущее

@NikolayS NikolayS merged commit 59a80bc into master Jun 29, 2018
@NikolayS NikolayS deleted the option_run_on branch June 29, 2018 13:41
NikolayS added a commit that referenced this pull request Sep 18, 2018
"Full" / local tests in CirlceCI + a lot of improvements
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants