You've already forked devscripts
mirror of
https://github.com/DoublesunRUS/devscripts.git
synced 2026-06-20 01:16:55 +02:00
Интеграция / Развертывание
This commit is contained in:
+20
-17
@@ -1,29 +1,32 @@
|
||||
{
|
||||
"Конфигурация": {
|
||||
"Имя": "zup",
|
||||
"Ветка": "master",
|
||||
"Проект": "ЗУП",
|
||||
"ПеременнаяТокена": "MAIN_TOKEN"
|
||||
"Имя": "<имя репозитория>",
|
||||
"Ветка": "<имя ветки, например master>",
|
||||
"Проект": "Имя проекта EDT",
|
||||
"ПеременнаяТокена": "<Имя репозитория>_TOKEN"
|
||||
},
|
||||
"ПрикладныеРасширения": [
|
||||
{
|
||||
"Имя": "paymgr",
|
||||
"Ветка": "master",
|
||||
"Проект": "Р_МенеджерРасчетаЗарплаты",
|
||||
"ПеременнаяТокена": "EXT_TOKEN"
|
||||
"Имя": "<имя репозитория>",
|
||||
"Ветка": "<имя ветки, например master>",
|
||||
"Проект": "Имя проекта EDT",
|
||||
"ПеременнаяТокена": "<Имя репозитория>_TOKEN"
|
||||
}
|
||||
],
|
||||
"ТестовыеРасширения": [
|
||||
{
|
||||
"Имя": "UnitTests",
|
||||
"Ветка": "master",
|
||||
"Проект": "Р_Тесты",
|
||||
"ПеременнаяТокена": "UNITTESTS_TOKEN"
|
||||
"Имя": "<имя репозитория>",
|
||||
"Ветка": "<имя ветки, например master>",
|
||||
"Проект": "Имя проекта EDT",
|
||||
"ПеременнаяТокена": "<Имя репозитория>_TOKEN"
|
||||
}
|
||||
],
|
||||
"ИнформационнаяБаза": {
|
||||
"ФайлDT": "hrm/3_1_14_154/1Cv8.dt",
|
||||
"Пользователь": "Савинская З.Ю. (Системный программист)"
|
||||
},
|
||||
"СерверSonarQube": "http://localhost:9000"
|
||||
"СценарныеТесты": [
|
||||
{
|
||||
"Имя": "<имя репозитория>",
|
||||
"Ветка": "<имя ветки, например master>",
|
||||
"ПеременнаяТокена": "<Имя репозитория>_TOKEN"
|
||||
}
|
||||
],
|
||||
"СерверSonarQube": "<http адрес SonarQube>"
|
||||
}
|
||||
@@ -1,6 +1,10 @@
|
||||
before_script:
|
||||
- CHCP 65001
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- test
|
||||
- report
|
||||
- release
|
||||
|
||||
variables:
|
||||
@@ -13,7 +17,7 @@ build:
|
||||
only:
|
||||
- schedules
|
||||
script:
|
||||
- executor_j11 -s $env:SCRIPTS/1cicd.sbsl build
|
||||
- executor_j11 -s $env:CI_SCRIPTS/1cicd.sbsl build
|
||||
artifacts:
|
||||
name: build
|
||||
paths:
|
||||
@@ -33,11 +37,11 @@ testCore:
|
||||
dependencies:
|
||||
- build
|
||||
script:
|
||||
- executor_j11 -s $env:SCRIPTS/1cicd.sbsl testCore
|
||||
- executor_j11 -s $env:CI_SCRIPTS/1cicd.sbsl testCore
|
||||
artifacts:
|
||||
name: test
|
||||
reports:
|
||||
junit: test/junit/
|
||||
junit: test/junit/junit.xml
|
||||
paths:
|
||||
- test/
|
||||
- ci/
|
||||
@@ -51,14 +55,30 @@ testUI:
|
||||
dependencies:
|
||||
- build
|
||||
script:
|
||||
- executor_j11 -s $env:SCRIPTS/1cicd.sbsl testUI
|
||||
- executor_j11 -s $env:CI_SCRIPTS/1cicd.sbsl testUI
|
||||
artifacts:
|
||||
name: test
|
||||
reports:
|
||||
junit: test/junit/
|
||||
junit: test/junit/junit.xml
|
||||
paths:
|
||||
- test/
|
||||
- ci/
|
||||
- public/
|
||||
|
||||
pages:
|
||||
stage: report
|
||||
tags:
|
||||
- edt
|
||||
only:
|
||||
- schedules
|
||||
dependencies:
|
||||
- testUI
|
||||
script:
|
||||
- executor_j11 -s $env:CI_SCRIPTS/1cicd.sbsl pages
|
||||
artifacts:
|
||||
paths:
|
||||
- ci/
|
||||
- public/
|
||||
|
||||
release:
|
||||
stage: release
|
||||
@@ -69,5 +89,6 @@ release:
|
||||
dependencies:
|
||||
- testCore
|
||||
- testUI
|
||||
- pages
|
||||
script:
|
||||
- executor_j11 -s $env:SCRIPTS/1cicd.sbsl release
|
||||
- executor_j11 -s $env:CI_SCRIPTS/1cicd.sbsl release
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+694
-219
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user