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:
parent
f325c1be68
commit
eaadc60a68
4
.github/workflows/oint_test_full_en.yml
vendored
4
.github/workflows/oint_test_full_en.yml
vendored
@ -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
|
||||
|
4
.github/workflows/oint_test_full_ru.yml
vendored
4
.github/workflows/oint_test_full_ru.yml
vendored
@ -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
4
ci/cli_ostesten
vendored
@ -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
4
ci/cli_ostestru
vendored
@ -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
4
ci/ostesten
vendored
@ -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
4
ci/ostestru
vendored
@ -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_Сервер"'
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
12702
service/dictionaries/en.json
vendored
12702
service/dictionaries/en.json
vendored
File diff suppressed because it is too large
Load Diff
18
src/en/OInt/core/Modules/OPI_Neocities.os
vendored
18
src/en/OInt/core/Modules/OPI_Neocities.os
vendored
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
4
src/ru/OInt/core/Modules/OPI_Neocities.os
vendored
4
src/ru/OInt/core/Modules/OPI_Neocities.os
vendored
@ -341,12 +341,12 @@
|
||||
ПутьУдаленногоДополнительный = "/" + УдаленныйФайл["path"];
|
||||
|
||||
Если УдаленныйФайл["is_directory"] Тогда
|
||||
|
||||
|
||||
СуществующийУдаленный = ЛокальныеПодкаталоги[ПутьУдаленногоОсновной];
|
||||
СуществующийУдаленный = ?(ЗначениеЗаполнено(СуществующийУдаленный)
|
||||
, СуществующийУдаленный
|
||||
, ЛокальныеПодкаталоги[ПутьУдаленногоДополнительный]);
|
||||
|
||||
|
||||
Иначе
|
||||
СуществующийУдаленный = ЛокальныеПути[ПутьУдаленногоОсновной];
|
||||
СуществующийУдаленный = ?(ЗначениеЗаполнено(СуществующийУдаленный)
|
||||
|
@ -2138,9 +2138,9 @@
|
||||
КонецФункции
|
||||
|
||||
Функция ПолучитьОбщийМодуль(Знач Имя)
|
||||
|
||||
|
||||
Модуль = Вычислить(Имя);
|
||||
|
||||
|
||||
Возврат Модуль;
|
||||
КонецФункции
|
||||
|
||||
|
@ -341,12 +341,12 @@
|
||||
ПутьУдаленногоДополнительный = "/" + УдаленныйФайл["path"];
|
||||
|
||||
Если УдаленныйФайл["is_directory"] Тогда
|
||||
|
||||
|
||||
СуществующийУдаленный = ЛокальныеПодкаталоги[ПутьУдаленногоОсновной];
|
||||
СуществующийУдаленный = ?(ЗначениеЗаполнено(СуществующийУдаленный)
|
||||
, СуществующийУдаленный
|
||||
, ЛокальныеПодкаталоги[ПутьУдаленногоДополнительный]);
|
||||
|
||||
|
||||
Иначе
|
||||
СуществующийУдаленный = ЛокальныеПути[ПутьУдаленногоОсновной];
|
||||
СуществующийУдаленный = ?(ЗначениеЗаполнено(СуществующийУдаленный)
|
||||
|
Loading…
x
Reference in New Issue
Block a user