Resolving "stuck" flag

I am relatively new to gitlab. I recently did a merge of one of my repos. I am using a self-hosted instance of Gitlab. I am running version 14.7. It seems that my pipeline has been stuck at “pending”. I pulled up the pipeline, and see the third flag is “stuck”. From here, I am not sure where to go and troubleshoot… any help would be much appreciated!
Image: Capture — ImgBB


usually there is a message describing why your pipeline/job is stuck. This is usually, because you don’t have a GitLab Runner, your GitLab Runner is not online or you have used tags which are not served by any available GitLab Runner.

Please note that on self-hosted instances you also need to install and configure GitLab Runner to run your pipelines. It is not included in the GitLab installation.

So I ran my runner: gitlab-runner run in /etc/gitlab-runner
Here is my config.toml file:

concurrent = 1
check_interval = 0

  session_timeout = 1800

  name = "gitlab"
  url = "<removed>"
  id = 1
  token = "<removed>"
  token_obtained_at = 2022-11-09T13:55:28Z
  token_expires_at = 0001-01-01T00:00:00Z
  executor = "shell"

I did notice an error with the build job…
bash: line 153: /build/ No such file or directory
I did a Google search, and it’s always asked about the file… Where is this file defined? I don’t see mentioned anywhere. Is it because the task is called build? How do I get this to build?

code_quality failed here:
Runtime platform arch=amd64 os=linux pid=4364 revision=0d4137b8 version=15.5.0 WARNING: gl-code-quality-report.json: no matching files. Ensure that the artifact path is relative to the working directory ERROR: No files to upload
And test failed here:
$ /bin/herokuish buildpack test bash: line 156: /bin/herokuish: No such file or directory ERROR: Job failed: exit status 1

I am assuming these steps are customizable somewhere?

Slowly catching on… found I have to use my own gitlab-ci file. Using this one here: lib/gitlab/ci/templates/Python.gitlab-ci.yml · master · / GitLab · GitLab. But I guess all I am trying to do is just merge my code… do I need to really create new files, modify them, etc., just to push code to gitlab, and merge code?

Not using AutoDevOps that much, but I think it requires Docker executor.

@droidus oh, if you don’t want to use CI/CD pipelines you need to turn off Auto DevOps which is enabled by default. You can do so in your Project or Group in Settings → CI/CD → Auto DevOps.

For the project, it was set to this by default:

I did see that it mentions the auto devops pipeline runs if no alternative ci config file is found…

Can anyone please assist?