mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Fix: Admin autorization
This commit is contained in:
@@ -11,6 +11,7 @@ variables:
|
|||||||
test-backend:
|
test-backend:
|
||||||
image: python:3.11
|
image: python:3.11
|
||||||
stage: test
|
stage: test
|
||||||
|
tags: []
|
||||||
before_script:
|
before_script:
|
||||||
- python -V
|
- python -V
|
||||||
- python -m pip install --upgrade pip
|
- python -m pip install --upgrade pip
|
||||||
@@ -26,6 +27,7 @@ test-backend:
|
|||||||
test-frontend:
|
test-frontend:
|
||||||
image: node:18
|
image: node:18
|
||||||
stage: test
|
stage: test
|
||||||
|
tags: []
|
||||||
before_script:
|
before_script:
|
||||||
- cd frontend
|
- cd frontend
|
||||||
- npm install
|
- npm install
|
||||||
@@ -38,6 +40,7 @@ test-frontend:
|
|||||||
build-backend:
|
build-backend:
|
||||||
stage: build
|
stage: build
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
|
tags: []
|
||||||
variables:
|
variables:
|
||||||
DOCKER_TLS_CERTDIR: ""
|
DOCKER_TLS_CERTDIR: ""
|
||||||
services:
|
services:
|
||||||
@@ -60,6 +63,7 @@ build-backend:
|
|||||||
build-frontend:
|
build-frontend:
|
||||||
stage: build
|
stage: build
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
|
tags: []
|
||||||
variables:
|
variables:
|
||||||
DOCKER_TLS_CERTDIR: ""
|
DOCKER_TLS_CERTDIR: ""
|
||||||
services:
|
services:
|
||||||
@@ -82,6 +86,7 @@ build-frontend:
|
|||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: python:3.11
|
image: python:3.11
|
||||||
|
tags: []
|
||||||
script:
|
script:
|
||||||
- apt-get update -qy
|
- apt-get update -qy
|
||||||
- apt-get install -y sshpass
|
- apt-get install -y sshpass
|
||||||
|
Reference in New Issue
Block a user