1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-25 21:39:21 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot) 2025-01-25 20:08:32 +03:00
parent f325c1be68
commit eaadc60a68
13 changed files with 6386 additions and 6390 deletions

View File

@ -1398,10 +1398,6 @@ jobs:
if: ${{ cancelled() }} == false
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os "CLI_TC_Client"
- name: TCP Host
if: ${{ cancelled() }} == false
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os "CLI_TC_Server"
- name: Записать логи
if: ${{ cancelled() }} == false
uses: actions/cache/save@v3

View File

@ -1398,10 +1398,6 @@ jobs:
if: ${{ cancelled() }} == false
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os "CLI_TC_Клиент"
- name: TCP Сервер
if: ${{ cancelled() }} == false
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os "CLI_TC_Сервер"
- name: Записать логи
if: ${{ cancelled() }} == false
uses: actions/cache/save@v3

4
ci/cli_ostesten vendored
View File

@ -691,10 +691,6 @@ pipeline {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TC_Client"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TC_Server"'
}
}
}

4
ci/cli_ostestru vendored
View File

@ -691,10 +691,6 @@ pipeline {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "CLI_TC_Клиент"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "CLI_TC_Сервер"'
}
}
}

4
ci/ostesten vendored
View File

@ -691,10 +691,6 @@ pipeline {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "TC_Client"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "TC_Server"'
}
}
}

4
ci/ostestru vendored
View File

@ -691,10 +691,6 @@ pipeline {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "TC_Клиент"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "TC_Сервер"'
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -337,16 +337,26 @@ Function GetDeletedFiles(RemoteFiles, LocalPaths, LocalSubfolders)
For Each RemoteFile In RemoteFiles["files"] Do
PathOfRemote = RemoteFile["path"];
PathOfRemotePrimary = RemoteFile["path"];
PathOfRemoteSecondary = "/" + RemoteFile["path"];
If RemoteFile["is_directory"] Then
ExistingRemote = LocalSubfolders[PathOfRemote];
ExistingRemote = LocalSubfolders[PathOfRemotePrimary];
ExistingRemote = ?(ValueIsFilled(ExistingRemote)
, ExistingRemote
, LocalSubfolders[PathOfRemoteSecondary]);
Else
ExistingRemote = LocalPaths[PathOfRemote];
ExistingRemote = LocalPaths[PathOfRemotePrimary];
ExistingRemote = ?(ValueIsFilled(ExistingRemote)
, ExistingRemote
, LocalPaths[PathOfRemoteSecondary]);
EndIf;
If ExistingRemote = Undefined Then
ArrayOfDeletions.Add(PathOfRemote);
ArrayOfDeletions.Add(PathOfRemotePrimary);
EndIf;
EndDo;

View File

@ -337,16 +337,26 @@ Function GetDeletedFiles(RemoteFiles, LocalPaths, LocalSubfolders)
For Each RemoteFile In RemoteFiles["files"] Do
PathOfRemote = RemoteFile["path"];
PathOfRemotePrimary = RemoteFile["path"];
PathOfRemoteSecondary = "/" + RemoteFile["path"];
If RemoteFile["is_directory"] Then
ExistingRemote = LocalSubfolders[PathOfRemote];
ExistingRemote = LocalSubfolders[PathOfRemotePrimary];
ExistingRemote = ?(ValueIsFilled(ExistingRemote)
, ExistingRemote
, LocalSubfolders[PathOfRemoteSecondary]);
Else
ExistingRemote = LocalPaths[PathOfRemote];
ExistingRemote = LocalPaths[PathOfRemotePrimary];
ExistingRemote = ?(ValueIsFilled(ExistingRemote)
, ExistingRemote
, LocalPaths[PathOfRemoteSecondary]);
EndIf;
If ExistingRemote = Undefined Then
ArrayOfDeletions.Add(PathOfRemote);
ArrayOfDeletions.Add(PathOfRemotePrimary);
EndIf;
EndDo;

View File

@ -50,8 +50,8 @@
<commonModules>CommonModule.OPI_GoogleSheets</commonModules>
<commonModules>CommonModule.OPI_GoogleWorkspace</commonModules>
<commonModules>CommonModule.OPI_Neocities</commonModules>
<commonModules>CommonModule.OPI_Ozon</commonModules>
<commonModules>CommonModule.OPI_Notion</commonModules>
<commonModules>CommonModule.OPI_Ozon</commonModules>
<commonModules>CommonModule.OPI_Slack</commonModules>
<commonModules>CommonModule.OPI_SQLite</commonModules>
<commonModules>CommonModule.OPI_S3</commonModules>

View File

@ -341,12 +341,12 @@
ПутьУдаленногоДополнительный = "/" + УдаленныйФайл["path"];
Если УдаленныйФайл["is_directory"] Тогда
СуществующийУдаленный = ЛокальныеПодкаталоги[ПутьУдаленногоОсновной];
СуществующийУдаленный = ?(ЗначениеЗаполнено(СуществующийУдаленный)
, СуществующийУдаленный
, ЛокальныеПодкаталоги[ПутьУдаленногоДополнительный]);
Иначе
СуществующийУдаленный = ЛокальныеПути[ПутьУдаленногоОсновной];
СуществующийУдаленный = ?(ЗначениеЗаполнено(СуществующийУдаленный)

View File

@ -2138,9 +2138,9 @@
КонецФункции
Функция ПолучитьОбщийМодуль(Знач Имя)
Модуль = Вычислить(Имя);
Возврат Модуль;
КонецФункции

View File

@ -341,12 +341,12 @@
ПутьУдаленногоДополнительный = "/" + УдаленныйФайл["path"];
Если УдаленныйФайл["is_directory"] Тогда
СуществующийУдаленный = ЛокальныеПодкаталоги[ПутьУдаленногоОсновной];
СуществующийУдаленный = ?(ЗначениеЗаполнено(СуществующийУдаленный)
, СуществующийУдаленный
, ЛокальныеПодкаталоги[ПутьУдаленногоДополнительный]);
Иначе
СуществующийУдаленный = ЛокальныеПути[ПутьУдаленногоОсновной];
СуществующийУдаленный = ?(ЗначениеЗаполнено(СуществующийУдаленный)