Changed directory in ci/cd pipeline
This commit is contained in:
parent
7b12c29319
commit
bf368e6f27
3
.gitignore
vendored
3
.gitignore
vendored
@ -5,6 +5,9 @@
|
|||||||
### SQLite 3 Database ###
|
### SQLite 3 Database ###
|
||||||
data/
|
data/
|
||||||
|
|
||||||
|
### CICD Registration files ###
|
||||||
|
cicd/runner-data
|
||||||
|
|
||||||
### Flask ###
|
### Flask ###
|
||||||
instance/*
|
instance/*
|
||||||
!instance/.gitignore
|
!instance/.gitignore
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
pytest:
|
pytest:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- cd wmgzon
|
||||||
- python -m venv .venv
|
- python -m venv .venv
|
||||||
- source ./.venv/scripts/activate
|
- source ./.venv/scripts/activate
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
8
cicd/docker-compose.yml
Normal file
8
cicd/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
version: '3.8'
|
||||||
|
services:
|
||||||
|
gitlab-runner:
|
||||||
|
image: gitlab/gitlab-runner:latest
|
||||||
|
volumes:
|
||||||
|
- ./runner-data:/etc/gitlab-runner
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user