Hi,
According to the documenation, the jobs should run in parallel in the same stage. When no stage is provided, the default stage will be test
.
I tried both with defining the same stage: … in .yml config file and without defining the stage. In both cases I see that my jobs / builds are NOT done in parallel! I created 2 runners. 1 runner with the tag ‘production’ the other one with the tag ‘testing’.
.In my .gitlab-ci.yml
file I defined 2 jobs, one job using ‘production’ tag and the other one using ‘testing’:
before_script:
- composer update
testing:
script:
- vendor/bin/phpunit
tags:
- testing
building:
script:
- bin/console cache:clear --env=prod
- bin/console assetic:dump --env=prod
tags:
- production
Why are the jobs not ran in parallel? They still wait on the other one (saying: Pending...
) . See screenshot below for more info:
I’m using Gitlab omnibus installation version 8.6.6.
Thanks.
Kind regards,
Melroy