18,375 questions
1
vote
0
answers
44
views
Why is go build trying to download local code, but only in gitlab
We have a project with 3 git repositories, let's call them backend, ui and library, hosted at gitlab.com/mycompany. These build quite happily.
I am trying to move the three repos into one, so we now ...
0
votes
1
answer
78
views
gitlab+XCode: Unable to find a device matching the provided destination specifier
Gitlab runner on M4 Mac Mini 2024, XCode 26.2, supported platforms: iOS, native UIKit swift project. Cocoapods.
Trying to run tests via fastlane:
run_tests(workspace: 'Project.xcworkspace',
...
0
votes
1
answer
84
views
How to specify multiple pipeline sources for a gitlab-ci.yml build
I'm working on a CI script for a gitlab project. The build runs in two stages. The first compiles and packages the code. The second deploys the packaged code to two different remote servers (it's a ...
Advice
0
votes
4
replies
59
views
How can I suppress false positives in the Gitlab code quality report?
The Gitlab code quality tool is producing a lot of false positives for our team due to a third-party library we use. We're unable to replace the third-party library, since its use has been mandated by ...
1
vote
0
answers
56
views
Installing GitLab dependency without username/token
I can install my-package from the shell without providing a token, using pip install is OK:
pip install rdmacontrol --index-url https://gitlab.com/api/v4/projects/44753656/packages/pypi/simple
I am ...
0
votes
0
answers
39
views
Gitlab CI: Rules based on array parameter
Is there a solution to create a rule that check if an array parameter contains a given element?
Below example is not a valid one.
spec:
inputs:
ARRAY:
type: array
...
Advice
0
votes
1
replies
19
views
Merging base branches while ignoring a specific file
I know this has been asked a few times, and I know what I'm asking about is not the Gitlab way, but I have a very specific use-case.
I have 3 branches, DEV, STAGE and MAIN. Each of these branches is ...
0
votes
1
answer
67
views
Create gitlab merge request for project A while in project B
Let's say you have the following setup in gitlab:
Gitlab Group Developments, of which there is a Subgroup Subgroup, which in turn contains Template project X which provides a general structure for ...
Best practices
0
votes
0
replies
44
views
Gitlab show result from multiple pipelines on Merge Request page
We aare developing new features for our code which we use merge requests in Gitlab to a release branch where all features are collected. When doing the actual release we do a MR from release branch to ...
1
vote
1
answer
193
views
Running a tool with uvx from a private repo using an access token
I want to frequently test a Python application I'm developing with uv, which I publish to a private repository on a GitLab instance. I've generated an access token with read access to the repo and I ...
0
votes
0
answers
41
views
Merge conflict with GitLab Web IDE
I'm editing a file in a merge request in GitLab's Web IDE. While I'm working, someone else commits changes to the same file, which creates a merge conflict. When I'm ready to commit my changes, GitLab ...
0
votes
0
answers
63
views
Accessing to two or more Gitlab Projects in the same Jenkins pipeline file
We have the following Jenkins pipeline script.
pipeline {
agent any
stages {
stage('Run in Sandbox'){
steps {
dir('Pot') {
checkout ...
Advice
0
votes
2
replies
54
views
How to replicate locally automated API tests within gitlab CI
Let's say you have a repository in gitlab. For facilitated distribution of the application and according development throughout a team, you convert the app into a Docker Container, which can be ...
Advice
1
vote
3
replies
99
views
How to make `git branch --show-current` work on GitLab?
There are several questions on stack overflow asking how to get the current branch name on GitLab. The interwebz are full of countless variations of that same question. The answer that is always ...
Best practices
1
vote
3
replies
86
views
How to update git submodule with latest commit automatically in remote
I have a project named sample which have 2 submodules sampleA and sampleB. I also have another git repo named Example which also refers to same submodule sampleA and sampleB. When I change something ...