Add CI/CD

This commit is contained in:
Вячеслав 2025-04-23 17:13:11 +00:00
parent 8be6543a3c
commit 60f89fc780
4 changed files with 134 additions and 7 deletions

25
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,25 @@
stages:
- .pre
- build
- test
- deploy
variables:
GIT_SUBMODULE_STRATEGY: recursive
PUBLISH_DIR: BackendPublish
top-level-job:
stage: .pre
image: alpine:latest
script:
- echo "Starting pipeline"
include:
- local: '/SurveyBackend/backend.gitlab-ci.yml'
rules:
- changes:
- 'SurveyBackend/*'
- local: '/SurveyFrontend/frontend.gitlab-ci.yml'
rules:
- changes:
- 'SurveyFrontend/*'