This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # All Vagrant configuration is done below. The "2" in Vagrant.configure | |
| # configures the configuration version (we support older styles for | |
| # backwards compatibility). Please don't change it unless you know what | |
| # you're doing. | |
| Vagrant.configure(2) do |config| | |
| # The most common configuration options are documented and commented below. | |
| # For a complete reference, please see the online documentation at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [03.03.2018 22:22:24] Shenja Sosna: все роли для ansible подготовил, на любую виртуалку виндовую запускаем применение через ansible, получаем готовую машинку для прогона тестов, поднимаетса автомаом vnc, ставим зависимости, локаль, добавляем тестового пользоваеля и если надо поднимаем автозапуск slave агента. | |
| [03.03.2018 22:36:25] lustin Алексей Лустин: Сходу не понял... но похожу это связано с задачей на разгреб нашего ci о которой просил Женя | |
| [03.03.2018 22:41:27] Shenja Sosna: Да , на повторимость окружения. | |
| [03.03.2018 22:41:41] Shenja Sosna: И на запуск паралельно | |
| (.ansible) ➜ doctor_ansible git:(master) ✗ ansible-playbook -i inventories/local/hosts local.1.yml | |
| PLAY [all] ******************************************************************************************************************************************************************************************************** | |
| TASK [behaviortests : win_region] ************************************************************************************************** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Еще в 8.2 появился редко используемый на практике вариант получения ссылки на объект по уникальному идентификатору, | |
| // но до сих пор синтаксический контроль в конфигураторе не признает данную синтаксическую конструкцию как корректную | |
| // и выдает ошибку. | |
| УИД = Новый УникальныйИдентификатор(); | |
| РТУСсылка = Новый ДокументСсылка.РеализацияТоваровУслуг(УИД); | |
| // Альтернативные равнозначные варианты, не вызывающие ошибок синтаксического контроля. | |
| // 1. Вызвать функцию ПолучитьСсылку() менеджера соответствующего ссылочного объекта. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Подставляет параметры в строку. Максимально возможное число параметров - 9. | |
| // Параметры в строке задаются как %<номер параметра>. Нумерация параметров начинается с единицы. | |
| // | |
| // Параметры: | |
| // ШаблонСтроки - Строка - шаблон строки с параметрами (вхождениями вида "%<номер параметра>", | |
| // например, "%1 пошел в %2"); | |
| // Параметр<n> - Строка - значение подставляемого параметра. | |
| // | |
| // Возвращаемое значение: | |
| // Строка - текстовая строка с подставленными параметрами. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Function Parse(Src, Pos = 1) | |
| List = New Array; | |
| Pos = Pos + 1; Chr = Mid(Src, Pos, 1); | |
| If Chr = Chars.LF Then Pos = Pos + 1; Chr = Mid(Src, Pos, 1); EndIf; | |
| Beg = Pos; | |
| While Chr <> "" Do | |
| If Chr = "{" Then | |
| List.Add(Parse(Src, Pos)); | |
| Pos = Pos + 1; Chr = Mid(Src, Pos, 1); | |
| If Chr = Chars.LF Then Pos = Pos + 1; Chr = Mid(Src, Pos, 1); EndIf; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node { | |
| env.LOGOS_LEVEL = 'DEBUG' | |
| def RESULT_FILE = 'validation-result.txt' | |
| def PREV_RESULT_FILE = "prev-${RESULT_FILE}" | |
| def PREV_PARAM = "--prev-validation-result ${PREV_RESULT_FILE}" | |
| def LOCAL_REPO = 'c:/local-repo' | |
| def REMOTE_REPO = '[email protected]:project-name/project-name.git' | |
| def REPO_BRANCH = 'develop' | |
| def PROJECT_PATH = 'c:/local-repo/project-name' | |
| stage('Подготовка окружения') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| chcp 1251 > nul | |
| echo $ 1cv8 %* | |
| set LOGFILE=%temp%\%random%.log | |
| "C:\Program Files\1cv8\current\bin\1cv8" %* /Out %LOGFILE% | |
| <%LOGFILE% (set /p LOGFILECONTENT=) | |
| echo %LOGFILECONTENT% | |
| if exist %LOGFILE% ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
| "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>Журнал регистрации</title> | |
| <style> | |
| .container { | |
| margin: 0 auto; | |
| width: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node { | |
| stage('Создание пустой базы и обновление из хранилища') { | |
| env.RUNNER_V8VERSION='8.3.10.2505' | |
| env.RUNNER_IBNAME="/F${env.WORKSPACE}/build/ib" | |
| cmd("runner init-dev --storage --storage-name tcp://storage.local/master --storage-user Мороз") | |
| } | |
| stage('Проверка логической целостности конфигурации') { | |
| cmd_failsafe('runner checkconfig --junitpath build/out/ConfigLogIntegrity.xml --mode -ConfigLogIntegrity') | |
| step([$class: 'JUnitResultArchiver', testResults: '**/ConfigLogIntegrity.xml']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://raw.githubusercontent.com/silverbulleters/vanessa-runner/develop/xunit-schema.json", | |
| "smoke": { | |
| "СтрогийПорядокВыполнения": false, | |
| "ВыводитьСообщенияВЖурналРегистрации": true, | |
| "ИсключитьФормыЗависящиеОтОтключенныхФункциональныхОпций": true, | |
| "СпособГруппировки": "ПоВидуМетаданных", | |
| "ПропускаемыеИсключения": [ | |
| "Обработка не предназначена для", | |
| "Самостоятельное использование формы не предусмотрено" |