Problem/Motivation

Hi,
I came here because I was checking something regarding my work on Gitlab Templates, and I see that you are trying to set up a pipeline, but currently the jobs are failing. Do you want some help? Actually, the main problem is that you have copied the wrong file into your .gitlab-ci.yml. Initially you used .gitlab-ci.yml which was the Gitlab Templates own pipeline definition file, then you copied includes/include.drupalci.main.yml which is one of the internal files used. What you actually need to do is copy gitlab-ci/template.gitlab-ci.yml. This is the template which will include everything else you need.

The set-up instructions page has more details, but maybe this could be improved? If some of it is hard to follow, let us know, as we'd like to make the docs as easy to read as possible.

Proposed resolution

Copy gitlab-ci/template.gitlab-ci.yml to this projects .gitlab-ci.yml file.

Issue fork rift_cq-3535819

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jonathan1055 created an issue. See original summary.

christian.wiedemann made their first commit to this issue’s fork.

christian.wiedemann’s picture

christian.wiedemann’s picture

Thanks for asking! I used one we used in another project.

christian.wiedemann’s picture

Status: Active » Fixed

jonathan1055’s picture

Good to see you now have the correct .gitlab-ci.yml template, and that your pipelines now run.

There is the comment

# There is currently only compiled CSS files in the module.
  SKIP_STYLELINT: "1"

but the only .css file you have is this plain css/rift_cq.css so I don't see any reason to skip the stylelint job? Maybe those lines was left over from the other project. You can remove both of them and see what results the stylelint job gives.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

christian.wiedemann’s picture