-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Винниченко Евгений
authored and
Винниченко Евгений
committed
Aug 11, 2020
1 parent
f51eba7
commit 947ad6b
Showing
9 changed files
with
564 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
logs/*.log |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
// Используйте IntelliSense, чтобы узнать о возможных атрибутах. | ||
// Наведите указатель мыши, чтобы просмотреть описания существующих атрибутов. | ||
// Для получения дополнительной информации посетите: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Отладка 1Script", | ||
"type": "oscript", | ||
"request": "launch", | ||
"program": "${file}", | ||
"args": [ | ||
"--FILE_ENV=D:\\git\\Oscript\\AutoUpdate_URAIT\\conf_dev.json", | ||
"--DEBUG=true" | ||
], | ||
"cwd": "${workspaceRoot}", | ||
"runtimeExecutable": null, | ||
"debugPort": 2801, | ||
"protocol": "internal" | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
// Документацию по формату tasks.json см. | ||
// по адресу https://go.microsoft.com/fwlink/?LinkId=733558 | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Run OScript file", | ||
"type": "process", | ||
"problemMatcher": [ | ||
"$OneScript Linter" | ||
], | ||
"command": "oscript", | ||
"args": [ | ||
"${file}", | ||
"--FILE_ENV=D:\\git\\Oscript\\AutoUpdate_URAIT\\conf_dev.json", | ||
"--DEBUG=trueу" | ||
] | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
# Oscript_AutoUpdateBase | ||
# OneScript_AutoUpdate_URAIT | ||
|
||
Проект для разработки механизма автоматического обновления базы pb_urait на сервере msk-s3-vs-app06 | ||
|
||
В скрипте используются библиотеки: | ||
- logos | ||
- cmdline | ||
- 1commands | ||
- fs | ||
- configor | ||
- deployka | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"Настройки": { | ||
"ПараметрыХранилища": { | ||
"Путь": "tcp:\/\/msk-s3-vs-1cstr\/youright_prod", | ||
"Пользователь": "release", | ||
"Пароль": "123456" | ||
}, | ||
"ПараметрыБазы": { | ||
"Сервер": "msk-s3-vs-app06", | ||
"Пользователь": "Администратор", | ||
"Пароль": "123456", | ||
"База": "pb_urait" | ||
}, | ||
"ПараметрыКласстера": { | ||
"ПутьУтилитыАдминистрирования": "C:\\Program Files\\1cv8\\8.3.15.1830\\bin\\rac.exe", | ||
"Пользователь": "", | ||
"Пароль": "", | ||
"Версия": "8.3.15.1830", | ||
"КодРазрешения": "1234567", | ||
"СообщениеБлокировки": "Выполняется обновление базы данных. Доступ ограничен." | ||
} | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"Настройки": { | ||
"ПараметрыХранилища": { | ||
"Путь": "tcp:\/\/msk-s3-vs-1cstr\/youright_prod", | ||
"Пользователь": "release", | ||
"Пароль": "123456" | ||
}, | ||
"ПараметрыБазы": { | ||
"Сервер": "MSK-S3-ARM254", | ||
"Пользователь": "Администратор", | ||
"Пароль": "123456", | ||
"База": "pb_urait-1" | ||
}, | ||
"ПараметрыКласстера": { | ||
"ПутьУтилитыАдминистрирования": "C:\\Program Files (x86)\\1cv8\\8.3.15.1830\\bin\\rac.exe", | ||
"Пользователь": "", | ||
"Пароль": "", | ||
"Версия": "8.3.15.1830", | ||
"КодРазрешения": "123456", | ||
"СообщениеБлокировки": "Выполняется обновление базы данных. Доступ ограничен." | ||
} | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Каталог для логов скрипта |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
C: | ||
cd C:\scripts\AutoUpdate1C | ||
oscript "C:\scripts\AutoUpdate1C\update_base.bsl" --FILE_ENV=C:\scripts\AutoUpdate1C\conf.json --DEBUG=true >> C:\scripts\AutoUpdate1C\logs\AutoUpdate-%date%.log |
Oops, something went wrong.