Skip to content

Fix of scheduled pipeline

Max Lindqvist requested to merge fix-ci-vars-error-in-ci into devel

Fixes the recently crashed scheduled pipelines

Removed all rules for ci_vars and default_venv (which both should always be executed as stated on line 6 in .gitlab-ci.yml. Also removed needs: ['ci_vars'] for the linting jobs. This is needed for some jobs to run since they required ci_vars to execute before running.

I couldn't see this error in MR !600 (merged) since I only tried running the scheduled pipeline from "Pipelines --> Run pipeline". If you run the pipeline from there, then the variable CI_PIPELINE_SOURCE is set to web, which breaks some jobs in the CI.

To ensure that the current setup works, I created temporary scheduled pipelines which use this branch as source but with out desired variables.

These pipelines are now running without errors in the yaml:

Edited by Max Lindqvist

Merge request reports

Loading