Relative Content

Tag Archive for gitlab-ci

Gitlab CICD: get current build path

I am doing my first CI project I am getting quite confused with $CI_BUILDS_DIR.
This env gives me the path to builds folder:
D:block_gitlab_runnerGitLab-Runnerbuilds

Excluding one combination from Gitlab CI test matrix

I maintain a PHP library that accesses a database. I have automated unit tests set up using Gitlab CI, and they use a test matrix to test a wide range of combinations of database engine and PHP version. My .gitlab-ci config file currently looks a bit like this one:

GitLab CI/CD anchor links

I have a pipeline, I want to optimize it. Is it possible to use this type of links in CI? When using anchor links, I always get a syntax error

Gitlab execution order

I have a gitlab job in which I am running some cypress tests against a jboss and a postgresql. Both jboss and postgresql are declared as services in the job. Here is the job’s relevant part: