18,308 questions
Score of 0
1 answer
111 views
GitLab pipeline does not see jobs from my custom template
I have .gitlab-ci.yml defined as:
include: '/templates/create-library.yml'
stages:
- build
- test
- deploy
The /templates/create-library.yml file has:
include:
- template: Jobs/SAST.gitlab-...
Score of 0
1 answer
56 views
"no such file or directory" when running a step with inputs
Currently learning how to use GitLab CI, inspired from the documentation we can find here and here, I ran into an error.
With the following steps/step.yml file located in a gitlab.com/namespace/zero-...
Score of 0
1 answer
67 views
"attribute not found" when interpolating reference for step reference
Currently learning how to use GitLab CI, inspired from the documentation we can find here and here, I ran into an error.
With the following steps/step.yml file located in a gitlab.com/namespace/zero-...
Score of 1
3 answers
110 views
Disabling Gitlab's "HTTP Basic" dialog for invalid URLs during git clone in Linux
I'm running a script with hundreds of git clone https://gitlab.com/... commands, where most of the Git URLs are actually invalid (related to old Github migrations). I know they don't exist, and I don'...
Score of 1
1 answer
120 views
Why is git hanging when a push appears nearly done? [duplicate]
I'm not sure whether this is an appropriate place to ask this. Please feel free to redirect me if it's not.
I'm trying to push a few commits to a remote Gitlab repository that I use all the time. But ...
Score of 2
1 answer
81 views
Grouping stylelint packages with Renovate
With Renovate, I want to group the stylelint package update with its related coding standard dependencies in order to avoid circular dependencies resolution conflicts across the separated merge ...
Score of 0
1 answer
92 views
Variable as input in downstream pipeline not executed
I developed a GitLab CI/CD pipeline, and in a job, I call a downstream pipeline to execute a job.
In this downstream pipeline, I pass two variables; the first one is correctly executed, but not the ...
Advice
0
votes
1
replies
99
views
Preparing context and rules files for parent, and context and rules files for children of a multi-repositories & multi-programming languages project
Context
I'm creating a multi-repository and multi-programming language project.
Named beaufort in my Gitlab, it has sub modules projects (having wind names). Each one dedicated to a different language....
Score of 1
1 answer
135 views
How to set Gitlab pipeline variables with workflow rules
When repositories include jobs from other repositories it happens often that not all needed variables are set, therefore they should be set in the job rules. E.g.
workflow:
rules:
- if: $VAR == ...
Best practices
0
votes
3
replies
82
views
How to handle a multi-repository Gitlab (or GitHub) project?
I have a project to build requiring Java, C++, Python and Angular for its beginning.
I've chosen to build a multi-repository project (on Gitlab) rather than a mono-repository one.
But I'm wondering: ...
Score of 0
1 answer
100 views
How to enable color support for the view detail page for the test summary on GitLab?
In a self-hosted GitLab Community Edition v18.10.1, I execute some jobs that produce color output in their log. (The debian slim docker container that produces the log uses TERM="xterm-256color&...
Score of 0
0 answers
73 views
Downstream pipeline not created to call custom component
I use a GitLab CI/CD pipeline and I develop a new job to include a custom component developped by another team in my company.
Inside the .gitlab-ci.yml file, there is an include of the same file 3 ...
Best practices
0
votes
1
replies
103
views
gitlab-runner behavior when run-untagged is set to true
Looking for information on this and can't seem to find it anywhere in the GitLab docs.
I'm currently setting up a scenario where our team will ultimately have our GitLab runners setup to handle ...
Score of -1
1 answer
84 views
GitLab CI is not running certain jobs during merge request pipeline but all of them run during main pipeline
I am using GitLab Community Edition v18.9.1. I created a pipeline that builds Docker images and runs specific tasks for the main branch and for merge requests.
My .gitlab-ci.yml looks like:
---
...
Advice
1
vote
0
replies
59
views
how to fetch public projects for a particular user or list of users using GraphQL
So my goal is to build a map showcasing users contributions to the FOSS projects and I am trying to building it for my FOSS community. I was reading documentations of gitlab for few hours, I dont find ...