I have been searching for ways to read a file with environment variables in GitLab CI/CD. Specifically they should be used in the services entry of a job.
variables:
# POSTGRES_USER: testuser
# POSTGRES_PASSWORD: testpw
# POSTGRES_DB: testdb
test:
image: python:3
services:
- name: postgis/postgis
I want to read the variables from a file stored in the same repository.