Xgit padd conf validation stage

This commit is contained in:
skeris 2024-09-24 00:49:01 +03:00
parent 18994c3e3f
commit 2e4c559f22
2 changed files with 13 additions and 1 deletions

@ -7,6 +7,7 @@ include:
file: "/templates/docker/deploy-template.gitlab-ci.yml" file: "/templates/docker/deploy-template.gitlab-ci.yml"
stages: stages:
- clean - clean
# - check
- build - build
- deploy - deploy
clear-old-images: clear-old-images:
@ -24,6 +25,17 @@ clear-old-images:
- docker image ls - docker image ls
script: script:
- docker system prune -af - docker system prune -af
# check-config:
# tags:
# - frontbuild
# image:
# name: penahub.gitlab.yandexcloud.net:5050/devops/dockerhub-backup/nginx
# script:
# - pwd
# - ls
# - nginx -t -c /builds/frontend/nginx-proxy/default.conf
# stage: check
build-app: build-app:
tags: tags:
- frontbuild - frontbuild

@ -514,7 +514,7 @@ server {
if ($host = s.hbpn.link) { if ($host = s.hbpn.link) {
add_header Access-Control-Allow-Origin,$http_origin,always; add_header Access-Control-Allow-Origin $http_origin always;
proxy_pass http://respondent; proxy_pass http://respondent;
} }