gitlab Questions
4
Solved
I'm trying to add a SSH key to a GitLab pipeline. The SSH key is in ED25519 format and saved as a group environmental variable and as a file in GitLab. When I saved the contents of the SSH key in G...
3
Solved
I want to tag a build and when trying to push the tags I get the below error in CI
How to create a CI token and set in the build environment which can push tags to the repository.
[01:59:14]: Exit ...
Thamos asked 19/9, 2020 at 13:59
4
I am looking to use the environment keyword as shown below in job which has trigger.
deploy:
stage: deploy
environment:
name: develop
variables:
ENV: develop
trigger:
include:
- local...
6
Solved
I have a gitlab-ci integration that require a sonar analysis and if the quality gates pass, to build a docker image.
Is this possible using gitlab-ci ?
Nerve asked 20/5, 2017 at 13:28
1
I can't figure out how to setup Gitlab Pages on my self-hosted Gitlab instance without wildcard domains. For example, I have 1 server with 3 public IP addresses and domain names:
10.8.0.10 (git.ex...
Azazel asked 3/2, 2021 at 8:36
4
Solved
Gitlab CI keeps ignoring the sql-files in /docker-entrypoint-initdb.d/* in this project.
here is docker-compose.yml:
version: '3.6'
services:
testdb:
image: postgres:11
container_name: lbsn-...
Deen asked 8/5, 2019 at 17:20
1
In a gitlab pipeline, I can specify a job like:
build:
parallel:
matrix:
- architecture: [x86_64, arm]
operating_system: [linux, macos]
And that will create 4 separate jobs that can all run in...
8
Solved
I am hosting my web application in Firebase and I have been deploying it with Gitlab CI/CD and it has been working just fine! But today for some reason I am getting this error when the pipeline is ...
Morra asked 6/10, 2022 at 15:6
2
From the gitlab documentation this is how to create a docker image using kaniko:
build:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- mkd...
5
Is there any way to get an id of the project via GitLab API .
I created a project using GitLab API providing the project name -
curl -kX POST --header "PRIVATE-TOKEN: <access_token>" https...
Daedalus asked 15/2, 2019 at 21:6
1
I have several jobs that runs in the same stage sequentially. However in the GitLab UI the display order is as per job names (ascending order).
Job_C:
stage: dev
Job_B:
stage: dev
needs: ["...
Fawcette asked 1/2, 2023 at 16:2
2
Solved
I have this GitLab CI-Component:
spec:
inputs:
message:
default: test
---
.test-component:
script:
- echo "$[[ inputs.message ]]"
Also I have this Pipeline:
stages:
- test
include...
Chromatid asked 11/4 at 14:58
3
Solved
The following REST Url of GitLab API gives me the repository tree of a project.
Get Repo Tree (WORKS)
https://gitlab.gspt.net/api/v3/projects/2931/repository/tree?private_token=XXXX
Output:
[...
4
For over a week I've been fighting with passing a variables between jobs in multi-project pipeline in GitLab CI and got lots of weird errors. The mechanism looks like very basic and it drives me cr...
Sarah asked 18/3, 2022 at 11:16
4
Solved
My use involves finding a diff between Merge Request and Master or Release branch (whichever branch I want to diff against) the MR will have CI_MERGE_REQUEST_TARGET_BRANCH set.
CHANGED_DIRS=$(git d...
4
Solved
I'm getting this error while trying to deploy my branch through gitlab.
remote: The project you were looking for could not be found or you don't have permission to view it.
fatal: repository 'https...
Mangan asked 4/2, 2022 at 8:47
4
For the last couple of days I have been unable to push to the remote (gitlab), it has worked before this. I know this question has 10s of similar SO questions and perhaps an answer is somewhere in ...
Nan asked 7/4, 2018 at 18:17
2
Solved
I use Gitlab CI for checking a code quality of my project. Sometime I want to check only new code ( new commit ).
How can I get diff from Gitlab CI ?
2
During gitlab download on my PC(Ubuntu), "ruby_block[wait for logrotate service socket] action run" is waiting for a long time.
It continues when I run this command "systemctl restar...
3
I'm trying to set up Poetry to deploy packages to our internal Gitlab Package Registry. According to other sources online the repository ID should be https://gitlab.com/api/v4/projects/<project ...
Couteau asked 28/9, 2020 at 8:59
9
Solved
I am trying to push my code from an old repository to a new repository as my old repository seems to be currupted somehow
getting following error:
Counting objects: 19815, done.
Compressing objects...
Mukden asked 6/7, 2020 at 10:0
2
I want to run a job each time a new pipeline gets triggered. It's a kind of preparation job which should always be executed before every other job defined inside the .gitlab-ci.yml
For Example
stag...
Newmown asked 18/9, 2022 at 16:55
3
Solved
We are working on Gitlab and each time I start merging a branch, Gitlab makes the option "Remove source branch" checked by default (which is -I think- dangerous).
As I don't guarantee that me or...
Burgomaster asked 12/7, 2017 at 10:56
7
In jenkins I'm seeing the following error message in the jenkins console while building any of our projects that are integrated with Gitlab.
Failed to update Gitlab commit status for project '120'...
Exsert asked 22/3, 2018 at 4:32
4
For instance, let's suppose I have a branch called develop, and all my features will be a branch created from develop that later I will need to do a merge request (in GitLab, what in GitHub would b...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.