Changed directory in ci/cd pipeline

This commit is contained in:
Luke Else 2024-01-15 18:23:39 +00:00
parent 7b12c29319
commit bf368e6f27
3 changed files with 12 additions and 0 deletions

3
.gitignore vendored
View File

@ -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

View File

@ -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
View 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