mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-27 02:43:54 +02:00
Main build (Jenkins)
This commit is contained in:
parent
bd34575ba8
commit
2d8d1cee91
4
.github/workflows/oint_test_full_en.yml
vendored
4
.github/workflows/oint_test_full_en.yml
vendored
@ -1286,6 +1286,10 @@ jobs:
|
||||
|
||||
|
||||
|
||||
- name: Common methods
|
||||
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_AWS_CommonMethods"
|
||||
|
||||
- name: Buckets managment
|
||||
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_AWS_BucketsManagment"
|
||||
|
@ -641,6 +641,10 @@ pipeline {
|
||||
steps {
|
||||
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_AWS_CommonMethods"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_AWS_BucketsManagment"'
|
||||
}
|
||||
|
@ -641,6 +641,10 @@ pipeline {
|
||||
steps {
|
||||
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AWS_CommonMethods"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AWS_BucketsManagment"'
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
URL = "storage-155.s3hoster.by";
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
@ -4,6 +4,6 @@
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
Method = "GET";
|
||||
Method = "GET";
|
||||
|
||||
Result = OPI_S3.SendRequestWithoutBody(Method, BasicData);
|
||||
|
@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-155.s3hoster.by";
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
@ -33,7 +33,7 @@ import TabItem from '@theme/TabItem';
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
Method = "GET";
|
||||
Method = "GET";
|
||||
|
||||
Result = OPI_S3.SendRequestWithoutBody(Method, BasicData);
|
||||
```
|
||||
|
@ -4,6 +4,6 @@
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
Метод = "GET";
|
||||
Метод = "GET";
|
||||
|
||||
Результат = OPI_S3.ОтправитьЗапросБезТела(Метод, ОсновныеДанные);
|
||||
|
@ -1,6 +1,6 @@
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
Результат = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
@ -30,9 +30,9 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
Результат = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
```
|
||||
|
@ -33,7 +33,7 @@ import TabItem from '@theme/TabItem';
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
Метод = "GET";
|
||||
Метод = "GET";
|
||||
|
||||
Результат = OPI_S3.ОтправитьЗапросБезТела(Метод, ОсновныеДанные);
|
||||
```
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -14633,7 +14633,7 @@ EndProcedure
|
||||
|
||||
Procedure S3_GetBasicDataStructure(FunctionParameters)
|
||||
|
||||
URL = FunctionParameters["S3_URL"];
|
||||
URL = FunctionParameters["S3_URL"];
|
||||
AccessKey = FunctionParameters["S3_AccessKey"];
|
||||
SecretKey = FunctionParameters["S3_SecretKey"];
|
||||
Region = "BTC";
|
||||
@ -14654,7 +14654,7 @@ Procedure S3_SendRequestWithoutBody(FunctionParameters)
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
Method = "GET";
|
||||
Method = "GET";
|
||||
|
||||
Result = OPI_S3.SendRequestWithoutBody(Method, BasicData);
|
||||
|
||||
|
@ -14633,7 +14633,7 @@ EndProcedure
|
||||
|
||||
Procedure S3_GetBasicDataStructure(FunctionParameters)
|
||||
|
||||
URL = FunctionParameters["S3_URL"];
|
||||
URL = FunctionParameters["S3_URL"];
|
||||
AccessKey = FunctionParameters["S3_AccessKey"];
|
||||
SecretKey = FunctionParameters["S3_SecretKey"];
|
||||
Region = "BTC";
|
||||
@ -14654,7 +14654,7 @@ Procedure S3_SendRequestWithoutBody(FunctionParameters)
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
Method = "GET";
|
||||
Method = "GET";
|
||||
|
||||
Result = OPI_S3.SendRequestWithoutBody(Method, BasicData);
|
||||
|
||||
|
@ -14634,9 +14634,9 @@
|
||||
Процедура S3_ПолучитьСтруктуруДанных(ПараметрыФункции)
|
||||
|
||||
URL = ПараметрыФункции["S3_URL"];
|
||||
AccessKey = ПараметрыФункции["S3_AccessKey"];
|
||||
SecretKey = ПараметрыФункции["S3_SecretKey"];
|
||||
Region = "BTC";
|
||||
AccessKey = ПараметрыФункции["S3_AccessKey"];
|
||||
SecretKey = ПараметрыФункции["S3_SecretKey"];
|
||||
Region = "BTC";
|
||||
|
||||
Результат = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@ -14654,7 +14654,7 @@
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
Метод = "GET";
|
||||
Метод = "GET";
|
||||
|
||||
Результат = OPI_S3.ОтправитьЗапросБезТела(Метод, ОсновныеДанные);
|
||||
|
||||
|
@ -14634,9 +14634,9 @@
|
||||
Процедура S3_ПолучитьСтруктуруДанных(ПараметрыФункции)
|
||||
|
||||
URL = ПараметрыФункции["S3_URL"];
|
||||
AccessKey = ПараметрыФункции["S3_AccessKey"];
|
||||
SecretKey = ПараметрыФункции["S3_SecretKey"];
|
||||
Region = "BTC";
|
||||
AccessKey = ПараметрыФункции["S3_AccessKey"];
|
||||
SecretKey = ПараметрыФункции["S3_SecretKey"];
|
||||
Region = "BTC";
|
||||
|
||||
Результат = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@ -14654,7 +14654,7 @@
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
Метод = "GET";
|
||||
Метод = "GET";
|
||||
|
||||
Результат = OPI_S3.ОтправитьЗапросБезТела(Метод, ОсновныеДанные);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user