Сбой конвейера Gitlab CI
Мой gitlab ci pipeline продолжает давать сбои. Похоже, я застрял здесь. Я все еще новичок в CI, поэтому не знаю, что делаю не так. Любая помощь будет оценена по достоинству Ниже приведен .gitlab-ci.yml файл
image: python:latest
services:
- postgres:latest
variables:
POSTGRES_DB: projectdb
# This folder is cached between builds
# http://docs.gitlab.com/ee/ci/yaml/README.html#cache
cache:
paths:
- ~/.cache/pip/
before_script:
- python -V
build:
stage: build
script:
- pip install -r requirements.txt
- python manage.py migrate
only:
- EC-30
В последней части процесса создания задания говорится
django.db.utils.OperationalError: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1