1
0
mirror of https://github.com/DoublesunRUS/devscripts.git synced 2026-06-16 00:57:56 +02:00

Интеграция / Развертывание

This commit is contained in:
Капралов Александр
2021-03-04 23:01:07 +03:00
parent 50f5a8d53b
commit e87ea24efa
4 changed files with 457 additions and 16 deletions
+83
View File
@@ -0,0 +1,83 @@
before_script:
- CHCP 65001
stages:
- build
- test
- report
variables:
WP: '${CI_PROJECT_DIR}/temp/wp'
buildMR:
stage: build
tags:
- edt
only:
- merge_requests
script:
- executor_j11 -s $env:CI_SCRIPTS/1cicd.sbsl buildMR
artifacts:
name: build
paths:
- build/
- ci/
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- $env:WP
testCore:
stage: test
tags:
- edt
only:
- merge_requests
dependencies:
- buildMR
script:
- executor_j11 -s $env:CI_SCRIPTS/1cicd.sbsl testCore
artifacts:
name: test
reports:
junit: test/junit/*.xml
paths:
- test/
- ci/
testUI:
stage: test
tags:
- edt
only:
- merge_requests
dependencies:
- buildMR
script:
- executor_j11 -s $env:CI_SCRIPTS/1cicd.sbsl testUI
artifacts:
name: test
reports:
junit: test/junit/*.xml
paths:
- test/
- ci/
- public/
environment:
name: allure
url: https://${CI_SERVER_HOST}/${CI_PROJECT_PATH}/-/jobs/${CI_JOB_ID}/artifacts/file/public/index.html
pages:
stage: report
tags:
- edt
only:
- merge_requests
dependencies:
- testUI
script:
- executor_j11 -s $env:CI_SCRIPTS/1cicd.sbsl pages
artifacts:
paths:
- ci/
- public/
@@ -41,7 +41,7 @@ testCore:
artifacts:
name: test
reports:
junit: test/junit/junit.xml
junit: test/junit/*.xml
paths:
- test/
- ci/
@@ -59,11 +59,14 @@ testUI:
artifacts:
name: test
reports:
junit: test/junit/junit.xml
junit: test/junit/*.xml
paths:
- test/
- ci/
- public/
environment:
name: allure
url: https://${CI_SERVER_HOST}/${CI_PROJECT_PATH}/-/jobs/${CI_JOB_ID}/artifacts/file/public/index.html
pages:
stage: report