New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#303 Docs for build system #436
Conversation
CI.md
Outdated
@@ -0,0 +1,24 @@ | |||
# Continuous integration | |||
Выполняет две задачи: | |||
- тестит систему для каждого pull request'a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
добавь пункт про линтеры
CI.md
Outdated
- собирает систему для dev и prod после каждого пуша в мастер-ветку. | ||
|
||
## Как устроен CI | ||
CI делаем через drone. Синтаксис его конфига - надмножество docker-compose.yml. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
надмножество docker-compose.yml. -> надмножество конфигов docker-compose
Людям не знакомы с docker-compose будет ясней так. Решай
CI.md
Outdated
Поэтому билдим npm | ||
|
||
# Кэширование | ||
У текущей билд-системы Докера есть проблемы с кэшированием, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Проблема была исключительно с pip install, докер не запускал эту ветку из-за того, что мы не версионировали refarm-site. На текущий момент этой проблемы скорее всего нет
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
оставлю TODO с просьбой проверить
README.md
Outdated
@@ -127,6 +128,13 @@ make backup | |||
|
|||
N.B.: Некоторые данные (например, медиафайлы) могут иметь большой размер. На момент написания этой заметки, архив с медиафайлами Shopelectro весил ~4GB. | |||
|
|||
# Continuous integration | |||
Выполняет две задачи: | |||
- тестит систему для каждого pull requesta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не забудь добавь сюда пункт про линтеры, если решишься
README.md
Outdated
- тестит систему для каждого pull requesta | ||
- собирает систему для dev и prod после каждого пуша в мастер-ветку. | ||
|
||
[Как устроен CI внутри](CI.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Если этого файла нет и он намечается, то можно поставить todo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ээм, есть, он в этом PR
fixed all comments |
10499ea
to
6627886
Compare
Closes #303
We have clear configs. That's why we don't need many words